Closed benvolchok closed 3 years ago
I am guessing that you are using Firefox? If so, In the latest emuR version serve()
uses the https variant of the EMU-webApp. Unfortunatelly connecting to non-TLS ws connections in Firefox isn't permitted, even though localhost is declared a secure origin (there are bug reports on this on bugzilla). On newer Chrome versions it is the exact oposite: http URL can't connect to ws+localhost connections (YAY web-development!!!). To cut a long story short, simply set the URL to http if you are using firefox:
# the default
serve(..., autoOpenURL = "https://ips-lmu.github.io/EMU-webApp/?autoConnect=true",...)
# vs
serve(..., autoOpenURL = "http://ips-lmu.github.io/EMU-webApp/?autoConnect=true",...)
I'm actually using Chrome - what would you recommend?
He can see the bundle list, which means that the connection has been established.
I'd suggest trying the same with the integrated demo database, to see if the problem is in the browser or in the data. Something like this:
create_emuRdemoData("~/Desktop")
ae = load_emuDB("~/Desktop/emuR_demoData/ae_emuDB")
serve(ae)
And see if the problem persists.
@MJochim very good point. If the bundle list is displayed (must have over-read that... sorry!) then the connection should be fine!
Just to be safe: could you send us the output of devtools::session_info()
? Just so we know what system/packages you are running/have installed.
@MJochim I've tried this with multiple datasets, and I've also managed to view the data on a different computer (still in Chrome) - so I don't think it's to do with the data
@raphywink The results of devtools:session_info() is here:
> devtools::session_info()
- Session info ----------------------------------------------------------------------------------------------------------------------------------------------
setting value
version R version 3.5.2 (2018-12-20)
os Windows 7 x64 SP 1
system x86_64, mingw32
ui RStudio
language (EN)
collate English_Australia.1252
ctype English_Australia.1252
tz Australia/Sydney
date 2019-04-01
- Packages --------------------------------------------------------------------------------------------------------------------------------------------------
package * version date lib source
assertthat 0.2.0 2017-04-11 [1] CRAN (R 3.5.2)
backports 1.1.3 2018-12-14 [1] CRAN (R 3.5.2)
base64enc 0.1-3 2015-07-28 [1] CRAN (R 3.5.2)
bit 1.1-14 2018-05-29 [1] CRAN (R 3.5.2)
bit64 0.9-7 2017-05-08 [1] CRAN (R 3.5.2)
blob 1.1.1 2018-03-25 [1] CRAN (R 3.3.3)
callr 3.2.0 2019-03-15 [1] CRAN (R 3.5.3)
cli 1.0.1 2018-09-25 [1] CRAN (R 3.3.2)
colorspace 1.4-1 2019-03-18 [1] CRAN (R 3.5.3)
crayon 1.3.4 2017-09-16 [1] CRAN (R 3.3.3)
DBI 1.0.0 2018-05-02 [1] CRAN (R 3.3.2)
desc 1.2.0 2018-05-01 [1] CRAN (R 3.5.2)
devtools 2.0.1 2018-10-26 [1] CRAN (R 3.5.3)
digest 0.6.18 2018-10-10 [1] CRAN (R 3.5.2)
dplyr * 0.8.0.1 2019-02-15 [1] CRAN (R 3.5.2)
emuR * 1.1.2 2019-01-29 [1] CRAN (R 3.5.2)
fansi 0.4.0 2018-10-05 [1] CRAN (R 3.5.2)
fs 1.2.7 2019-03-19 [1] CRAN (R 3.5.3)
ggplot2 * 3.1.0 2018-10-25 [1] CRAN (R 3.5.3)
glue 1.3.0 2018-07-17 [1] CRAN (R 3.5.2)
gtable 0.2.0 2016-02-26 [1] CRAN (R 3.5.2)
hms 0.4.2 2018-03-10 [1] CRAN (R 3.5.2)
httpuv 1.4.5.1 2018-12-18 [1] CRAN (R 3.5.2)
jsonlite 1.6 2018-12-07 [1] CRAN (R 3.5.2)
labeling 0.3 2014-08-23 [1] CRAN (R 3.5.2)
later 0.8.0 2019-02-11 [1] CRAN (R 3.5.2)
lazyeval 0.2.2 2019-03-15 [1] CRAN (R 3.5.3)
magrittr 1.5 2014-11-22 [1] CRAN (R 3.5.2)
MASS 7.3-51.1 2018-11-01 [2] CRAN (R 3.5.2)
memoise 1.1.0 2017-04-21 [1] CRAN (R 3.5.2)
munsell 0.5.0 2018-06-12 [1] CRAN (R 3.5.2)
pillar 1.3.1 2018-12-15 [1] CRAN (R 3.5.2)
pkgbuild 1.0.2 2018-10-16 [1] CRAN (R 3.5.2)
pkgconfig 2.0.2 2018-08-16 [1] CRAN (R 3.5.2)
pkgload 1.0.2 2018-10-29 [1] CRAN (R 3.5.2)
plyr 1.8.4 2016-06-08 [1] CRAN (R 3.5.3)
prettyunits 1.0.2 2015-07-13 [1] CRAN (R 3.5.2)
processx 3.3.0 2019-03-10 [1] CRAN (R 3.5.3)
promises 1.0.1 2018-04-13 [1] CRAN (R 3.5.2)
ps 1.3.0 2018-12-21 [1] CRAN (R 3.5.2)
purrr 0.3.0 2019-01-27 [1] CRAN (R 3.5.2)
R6 2.4.0 2019-02-14 [1] CRAN (R 3.5.2)
Rcpp 1.0.0 2018-11-07 [1] CRAN (R 3.5.2)
readr 1.3.1 2018-12-21 [1] CRAN (R 3.5.2)
remotes 2.0.2 2018-10-30 [1] CRAN (R 3.5.2)
rlang 0.3.1 2019-01-08 [1] CRAN (R 3.5.2)
rprojroot 1.3-2 2018-01-03 [1] CRAN (R 3.5.2)
RSQLite 2.1.1 2018-05-06 [1] CRAN (R 3.5.2)
rstudioapi 0.9.0 2019-01-09 [1] CRAN (R 3.5.2)
scales 1.0.0 2018-08-09 [1] CRAN (R 3.5.3)
sessioninfo 1.1.1 2018-11-05 [1] CRAN (R 3.5.2)
stringi 1.3.1 2019-02-13 [1] CRAN (R 3.5.2)
stringr 1.4.0 2019-02-10 [1] CRAN (R 3.5.2)
tibble 2.0.1 2019-01-12 [1] CRAN (R 3.5.2)
tidyselect 0.2.5 2018-10-11 [1] CRAN (R 3.5.2)
usethis 1.4.0 2018-08-14 [1] CRAN (R 3.5.2)
utf8 1.1.4 2018-05-24 [1] CRAN (R 3.5.3)
uuid 0.1-2 2015-07-28 [1] CRAN (R 3.5.2)
withr 2.1.2 2018-03-15 [1] CRAN (R 3.5.2)
wrassp * 0.1.8 2018-08-31 [1] CRAN (R 3.5.2)
yaml 2.2.0 2018-07-25 [1] CRAN (R 3.5.2)
[1] C:/Users/volchokb/OneDrive - The University of Melbourne/Documents/R/win-library/3.5
[2] C:/Program Files/R/R-3.5.2/library
Ok... it actually all looks fine. I'll have to check if I can reproduce anything on one of the Windows 7 machines at our lab. One more thing you could look at is the javascript console output in Chrome. Any errors?
Sorry about the delay - have only now had a chance to come back to this. Below is a screenshot of the javascript errors in Chrome:
Sorry for the late reply... Ok that is what u usually get from firefox? Super strange! Could you try it with the new emuR version (2.0.2) which was released yesterday? Unfortunatelly a option isn't exported that is needed by the new serve() function. You would have to set that manually: options(emuR.emuWebApp.dir = file.path(tempdir(), "EMU-webApp"))
closing due to inactivity. If issue persists please reopen...
Hi,
I seem to be having an issue with the Emu WebApp after updating to the latest version of the emuR package (1.1.2) where if I serve a database it gets stuck on "loading bundle...". It manages to load the database and show the list of bundles on the left-hand side, but won't actually load any of them in the main viewer. I also tried deleting cookies but this didn't help.
Would you have any ideas about what to do here?
Thanks,
Ben