modelsim throw error if component is not bound - modelsim

Is there a way to make modelsim throw an error instead of a warning if a component instance is not bound? Right now, it generates a warning but that is usually hard to spot in the transcript. I don't really have a need to run modelsim if it can't find the appropriate source code/signature, so it would be better in my mind to throw an error so it's obvious, then I can fix it.

The vsim command line option -warning error promotes all warnings to errors.
While ModelSim support -warning <msgNumber> and -note <msgNumber> to promote a message (info, warning, error) to a warning or note, I can't find an option to explicitly promote a warning to an error.
On the other hand, vcom has such options:
-fatal <msgNumber>[,<msgNumber>...]
Report the listed messages as fatal
-error <msgNumber>[,<msgNumber>...]
Report the listed messages as errors
-warning <msgNumber>[,<msgNumber>...]
Report the listed messages as warnings
-warning error Report all warnings as errors
-note <msgNumber>[,<msgNumber>...]
Report the listed message as notes
-suppress <msgNumber>[,<msgNumber>...]
Suppress the listed messages

Related

Why does this error occur for Teleram Build?

Why does this error come up?
Build command failed.
Error while executing process /home/kaninym/Android/Sdk/cmake/3.10.2.4988404/bin/ninja with arguments {-C /home/kaninym/İndirilenler/Kodlar/Telegram-FOSS/TMessagesProj/.cxx/Debug/d2bh2v26/x86 tmessages.42}
ninja: Entering directory `/home/kaninym/İndirilenler/Kodlar/Telegram-FOSS/TMessagesProj/.cxx/Debug/d2bh2v26/x86'
ninja: error: '/home/kaninym/İndirilenler/Kodlar/Telegram-FOSS/TMessagesProj/jni/ffmpeg/build/x86/lib/libswscale.a', needed by '/home/kaninym/İndirilenler/Kodlar/Telegram-FOSS/TMessagesProj/build/intermediates/cxx/Debug/d2bh2v26/obj/x86/libtmessages.42.so', missing and no known rule to make it

Shiny error after packages update: Unknown `composition` type

After some packages update, I'm no longer able to start my shiny application. The error I'm receiving it's not very clear:
Warning: Error in : Internal error: Unknown composition type. 69:
Error : Internal error: Unknown composition type.
I'm quite sure that this error is related to some update as, the same application works fine within another machine with the same R version (4.0) and the same Shiny version (booth are MACos).
Do some of you know how to trouble-shooting this?

RSelenium Error in envRefInferField

I am struggling all day with RSelenium. I have read everything I could find on net about the issue. And after all I am getting some earnings and errors I didn't get in the first place. When I execute checkForServer(), I get the watning:
Warning message:
checkForServer is deprecated.
Users in future can find the function in file.path(find.package("RSelenium"), "example/serverUtils").
The sourcing/starting of a Selenium Server is a users responsiblity.
Options include manually starting a server see vignette("RSelenium-basics", package = "RSelenium")
and running a docker container see vignette("RSelenium-docker", package = "RSelenium")
When I execute startServer(), I get the same warning as above.
In the end, when I run the code remDr <-remoteDriver() and remDr$open(), I get error:
Selenium message: The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see https://github.com/mozilla/geckodriver. The latest version can be downloaded from https://github.com/mozilla/geckodriver/releases
Error: Summary: UnknownError
Detail: An unknown server-side error occurred while processing the command.
class: java.lang.IllegalStateException
Further Details: run errorDetails method
I have also tried with chrome, but without succes.

symfony 2.8 debug fatal error double message

Environment: Symfony 2.8.1 with XAMPP Version 5.5.24 on Windows 7.
If I trigger a fatal error in a controller, anything as simple as $array = ; in production environment, I'm getting a default php error:
Parse error: syntax error, unexpected ';' in C:\xampp\htdocs\tgsupport-test\src\AppBundle\Controller\DefaultController.php on line 16
followed by symfony custom error page message. Obviously I'd want to avoid to show eorr info in production.
Moreover in prod.log I see a double critical error: under php.CRITICAL and request.CRITICAL. Is really useful to show the same error twice?
I'm using default configuration, indeed I just installed default framework without any custom setting and I triggered my error in AppBundle/DefaultController, so I was wondering if I'm missing anything.
I missed a php.ini configuration to avoid to display error messages in page.

Error: Unhandled Exception: 'NoneType' object has no attribute '__getitem__'

I am loading one of the example apps from Shiny R into ShiniApps.io`
library(shinyapps)
shinyapps::setAccountInfo(name='xxx', token='xxx', secret='xxx')
deployApp("01_hello")
and then I get this error:
Error: Unhandled Exception: 'NoneType' object has no attribute 'getitem'
The app appeared in the web-page of Shinyapps.io as "undeployed".
Any clue what may be causing this error? the error is the same whether I run R 64 or 32 bit.
I had the same problem today. I wasn't able to successfully deploy a new app (getting the same error), but I was able to redeploy a previous app.
I have tried removing all packages and code from my new app (left only empty shinyServer and shinyUI functions uncommented) and still couldn't deploy.
Restarted R several times. Updated all packages. Nothing helped.
A few hours later I tried to deploy again and it passed without errors.
I know this is not exactly an answer but I suspect it was a server-side error because it failed during the "Starting instances" step of deployment.
So try to deploy it again, hope it works this time.

Resources