Error : ShinyApp cannot open the connection - shiny

I tried to publish a shinyapp to both shinyapp.io and rstudioconnect.com but there has connection error, here I raised Unable publish to RStudio Connect : Error in yaml::yaml.load(enc2utf8(string), ...) : Reader error: control characters are not allowed: #81 at 276 #115 and Error in yaml::yaml.load(enc2utf8(string), ...) : Reader error: control characters are not allowed: #81 at 276 #31. It works locally but once publish became error as you can see whole knitting process via below gif.
I've recorded few animated gif to know the error thoroughly. error 01, error 02, error 03. Kindly refer to the gif, here I also refer to some articles who faced similar error.
Shiny app turns grey when deployed, works fine locally
(shinyapps.io) ERROR: cannot open the connection
ERROR: cannot open the connection
cannot open the connection in Shiny
ERROR: cannot open the connection in R Shiny

Finally its work, but take few minutes to open the webpage... test shinyapp
I forgot to attach the data and functions into the shinyapp, I wondered some functions unable found while I just simply add googleVis:: and purrr:: to get the require function from load the package.

Related

Cannot init Package Manage Console in Visual Studio 2017

I am using Visual Studio 2017 Enterprise on Windows 10.
And I have got these errors when I tried to use PM console.
The following error occurred while loading the extended type data file:
Microsoft.PowerShell.Core, C:\Windows\SysWOW64\WindowsPowerShell\v1.0\typesv3.ps1xml: The file was skipped because of the following validation exception: File C:\Windows\SysWOW64\WindowsPowerShell\v1.0\typesv3.ps1xml cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170..
Errors occurred while loading the format data file: Microsoft.PowerShell.Diagnostics, , C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Event.Format.ps1xml: The file was skipped because of the following validation exception: File C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Event.Format.ps1xml cannot be loaded because its operation is blocked by software restriction policies, such as those created by using Group Policy..
Errors occurred while loading the format data file: Microsoft.PowerShell.Core, , C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Help.format.ps1xml: The file was skipped because of the following validation exception: File C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Help.format.ps1xml cannot be loaded because its operation is blocked by software restriction policies, such as those created by using Group Policy..
Errors occurred while loading the format data file: Microsoft.WSMan.Management, , C:\Windows\SysWOW64\WindowsPowerShell\v1.0\WSMan.format.ps1xml: The file was skipped because of the following validation exception: File C:\Windows\SysWOW64\WindowsPowerShell\v1.0\WSMan.format.ps1xml cannot be loaded because its operation is blocked by software restriction policies, such as those created by using Group Policy..
Errors occurred while loading the format data file:
Microsoft.PowerShell.Diagnostics, , C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Event.Format.ps1xml: The file was skipped because of the following validation exception: File C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Event.Format.ps1xml cannot be loaded because its operation is blocked by software restriction policies, such as those created by using Group Policy..
Microsoft.PowerShell.Core, , C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Help.format.ps1xml: The file was skipped because of the following validation exception: File C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Help.format.ps1xml cannot be loaded because its operation is blocked by software restriction policies, such as those created by using Group Policy..
Microsoft.WSMan.Management, , C:\Windows\SysWOW64\WindowsPowerShell\v1.0\WSMan.format.ps1xml: The file was skipped because of the following validation exception: File C:\Windows\SysWOW64\WindowsPowerShell\v1.0\WSMan.format.ps1xml cannot be loaded because its operation is blocked by software restriction policies, such as those created by using Group Policy..
I removed %AppData%/Local/Microsoft/Visual Studio folder.
And reboot laptop, reopened Visual Studio but the same errors occurred.
Can you please fix this?

Shiny: error 71 [description=Package field not found in...]

I'm running a ShinyApp on our own RShiny-Server. I have a DESCRIPTION file in order to use the Showcase mode. Until now everything went smooth, but today I saw the following error in the log file.
Can anyone help on the following error in my Shiny log file?
ERROR system error 71 (Protocol error) [description=Package field not found in /home/[…]/DESCRIPTION]
OCCURED AT: read#core/r-util/RPackageInfo.cpp#85
LOGGED FROM: isPackageDirectory#core/r_util/RPackageInfo.cpp#121
Thanks for any hints.

Intel SGX Error: What does the 8207 error mean when I cannot load the enclave correct

I have made the following enclave & app loading the enclave:
https://github.com/pc-magas/myFirstEnclave/tree/run_fail
As you can see I load the wrong path of the enclave therefore the app fails to run as expected, when that happens in the example it returns the error:
SGX error code: 8207
Fail to initialize enclave.
But I cannot figure tour what does the 8207 error code means as far I can see I does not get mentioned over the error codes on documentation: https://software.intel.com/en-us/node/709252
So can you explain what does this error code means?
8207 (decimal) is 200F (hex), and your link shows:
0x200F | SGX_ERROR_ENCLAVE_FILE_ACCESS | Can’t open enclave file.
Which is what you'd expect when passing the wrong path.

Chromecast streaming issue (DOMException: Failed to load because no supported source was found)

I am trying to cast to this cast receiver ID: CB2BD90D
This is a custom styled receiver.
The video URL to cast:
https://s3-ap-southeast-1.amazonaws.com/ht-brightcove/FinAAC_V1/playlist.m3u8
This is the error that I get when debug using chrome remote debug tool:
[cast.player.api.Player] error media_player.js:61
[cast.player.api.Host] error:
cast.player.api.ErrorCode.PLAYBACK/104 media_player.js:61
[cast.player.api.Player] unload player.html:1 Uncaught (in promise)
DOMException: Failed to load because no supported source was found.
It was playing perfectly before a month. Now It is throwing this error.
Please Help me guys.

mysql and c++ in vs 2010: sqlstatementhandle and connection error

I finally solved my problem:
I had been using a lib of mysql that was not compiled with the same settings as the VS10 project. Doing this solved my issue
This was my issue
I am having some trouble, and i was wondering if anyone could give me a push in the wright direction.
I am trying to connect to a local Mysql database, using c++ in VS 2010.
On phpmyadmin i can see that an attempt to connect is made but doesn't succeed.
When building the application, i get some errors.
The first where char* errors. I solved that by changing from unicode to multi byte.
The most important error, i think, is this one:
warning C4700: uninitialized local variable 'sqlstatementhandle' used.
After the application crashes i get this in visual studio:
Run-Time Check Failure #3 - The variable 'sqlstatementhandle' is being used without being initialized.
In the console i get this:
Connecting to SQL...
Connect() - SQL_ERROR
Message: [Microsoft][ODBC SQL Server Driver]Fout in het dialoogvenster
SQLSTATE: IM008
In the documentation i found that error code 008 refers to:
Dialog failed
SQLDriverConnect
But i don't really now how this can help? Is the driver not able to connect, or is the driver not loaded at all? As I told earlyer, i can see in phpmyadmin that there are failed attempts to connect.
my setup: visual studio 2010 and a mysql server administrated true Xampp. A 64bit windows 7 machine.
In connection string, Driver shows "Sql Server". Perhaps Connection String is problem. Try to change it. This site will help you.
http://www.connectionstrings.com/mysql#p31