Can't publish app - process stuck on Detecting System Locale

58 views
Skip to first unread message

Matti Niemistö

unread,
Apr 30, 2018, 7:05:16 AM4/30/18
to shinyapps.io Users
Hi,

I'm trying to publish my app but the process halts indefinitely at the Detecting System Locale step and my app is shown as undeployed in the Dashboard. I don't get any error messages or any other info that would help me debug.  Tried both with the RStudio IDE Publish button as well as deployApp() command. Any ideas what might be the problem?

Source code for both ui.R and server.R in my github repo: https://github.com/MattiNiemisto/DevelopingDataProducts/tree/master/DDPCWMatti

kind regards, Matti

Here's my system info:

Session info -------------------------------------------------------------------
 setting  value                       
 version  R version 3.4.4 (2018-03-15)
 system   x86_64, mingw32             
 ui       RStudio (1.1.442)           
 language (EN)                        
 collate  English_United States.1252  
 tz       Europe/Helsinki             
 date     2018-04-30                  

Packages -----------------------------------------------------------------------
 package   * version date       source        
 base      * 3.4.4   2018-03-15 local         
 compiler    3.4.4   2018-03-15 local         
 datasets  * 3.4.4   2018-03-15 local         
 devtools    1.13.5  2018-02-18 CRAN (R 3.4.3)
 digest      0.6.15  2018-01-28 CRAN (R 3.4.3)
 graphics  * 3.4.4   2018-03-15 local         
 grDevices * 3.4.4   2018-03-15 local         
 memoise     1.1.0   2017-04-21 CRAN (R 3.4.4)
 methods   * 3.4.4   2018-03-15 local         
 stats     * 3.4.4   2018-03-15 local         
 tools       3.4.4   2018-03-15 local         
 utils     * 3.4.4   2018-03-15 local         
 withr       2.1.2   2018-03-15 CRAN (R 3.4.4)
 yaml        2.1.18  2018-03-08 CRAN (R 3.4.4)

Joshua Spiewak

unread,
Apr 30, 2018, 8:18:22 AM4/30/18
to shinyapps.io Users
Could you please set the rsconnect logging options (rsconnect.http.trace, rsconnect.http.verbose and rsconnect.error.trace) and include the output when attempting to deploy? 

Matti Niemistö

unread,
Apr 30, 2018, 1:05:15 PM4/30/18
to shinyapps.io Users
Hi Joshua,

Thanks for the fast reply!

Here's the log. Like said, RStudio hangs on the Detecting System Locale phase. Any ideas what might the problem?

kind regards, Matti

----- Deployment log started at  2018-04-30 20:01:02  -----
Deploy command: 
 rsconnect::deployApp(appDir = "D:/Code/DevelopingDataProducts/DDPCWMatti",      appFileManifest = "C:/Users/matti/AppData/Local/Temp/e37e-c205-3fe3-4ce7",      account = "mattiniemisto", server = "shinyapps.io", appName = "DDPCWMatti",      appTitle = "DDPCWMatti", launch.browser = function(url) {         message("Deployment completed: ", url)     }, lint = FALSE, metadata = list(asMultiple = FALSE, asStatic = FALSE),      logLevel = "verbose") 

Session information: 
R version 3.4.4 (2018-03-15)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 16299)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 
[2] LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_3.4.4  rsconnect_0.8.8
Cookies: 
[1] "None"
GET /v1/applications/?filter=account_id:129001&filter=name:DDPCWMatti&count=100&offset=0 890ms
----- Bundle upload started at  2018-04-30 20:01:03  -----
[2018-04-30 20:01:03] Inferring App mode and parameters 
[2018-04-30 20:01:03] Bundling app dir 
[2018-04-30 20:01:03] Generate manifest.json 
Detecting system locale ... 

Andy Kipp

unread,
Apr 30, 2018, 1:24:51 PM4/30/18
to Matti Niemistö, shinyapps.io Users
Matti,

We've seen some issues before doing locale detection on Windows. It could take a very long time on some machines. You might consider overriding the auto detected locale by doing:

options(rsconnect.locale = 'your_locale')

-Andy

--
You received this message because you are subscribed to the Google Groups "shinyapps.io Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-users+unsubscribe@googlegroups.com.
To post to this group, send email to shinyapps-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/450c9ed3-14ea-47eb-a089-49473c4b8ca9%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Matti Niemistö

unread,
May 1, 2018, 4:09:04 AM5/1/18
to shinyapps.io Users
Thanks Andy!

You are a lifesaver, this did the trick and now deployment works. Thanks also Joshua for the insight how to debug the deployment.

kind regards,
Matti
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-use...@googlegroups.com.
To post to this group, send email to shinyap...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages