New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On Ubuntu 14.04 only "Folder select" works while "File select" and "Save file" do not work using shinyFiles/inst/example #15
Comments
|
That seems strange. What browser are you using? Can I get a screenshot of the issue as 'all controls' is a bit ambiguous:-)
|
|
I cannot replicate any problems on Ubuntu with either Chrome or Firefox. I will need a more detailed description of the issue as well as your system setup in order to investigate further... |
|
Hi. I pulled latest code from github a few minutes ago and rebuild the shinyFiles package. So, here are the screenshots (I use Firefox 37. on Ubuntu 14.4): My sessionInfo():
locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
|
Actually, doing some more testing, Folder select is also not working. If I try and click on Volumes item in the drop down box (see picture above) app freezes. Also, when I try and click the "up arrow" in "File select" app crashes and this the error: |
|
This seems very strange and appears to be specific to your system. Have you tried to open the app in another browser? Can you report on whether the issue persist in both Chrome and Firefox?
|
|
Also, can you report the results of running getVolumes() in R
|
|
So, I started fresh r session from terminal, then run getVolumes() (which returns function in my case which is strange), then again ran the example and opened in Chrome with same result as in Firefox - not working: R version 3.1.3 (2015-03-09) -- "Smooth Sidewalk" R is free software and comes with ABSOLUTELY NO WARRANTY. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'demo()' for some demos, 'help()' for on-line help, or
Listening on http://127.0.0.1:4532 |
|
My bad for being imprecise. Can you run: library(shinyFiles) and send me the results?
|
Note: I replaced my original user with userx... I am using VirtualBox Ubuntu guest on Ubuntu host... |
|
It seems to be doing what it should be doing - Do you know how to access the developer tools in Chrome? If so, can you see if there are any errors occuring when you summon a file chooser?
|
|
Here are the errors in Chrome when I press select file: |
|
Hi Thomas, Any update on this issue? How can I help you debug this? Best regards, |
|
Sorry for being slow on this. With the latest update of Shiny (0.12) they have introduced some bugs that breaks shinyFiles. If you haven't updated yet (or can downgrade somehow) you can help if you know your way around the Chrome debugger. If so can you pinpoint where the code expects a function but gets undefined... |
|
Good news. After installing latest version of shiny from github this magically works now. Thanks. There is just one thing I do not understand whether it is a bug or a feature with folder selection: I can only select folders on the left pane (under "Directories") from the tree but not from the right pane ("Content")... It would be nice that if clicked on the folder on the right pane ("Content") that selected folder would show as selection result... |
|
That's good to hear. There have been some bugs in the latest version of Shiny that affected shinyFiles but I didn't expect them to cause what you described. Glad it solved itself out. Regarding the functionality of the dirchooser, the right window is thought as a glimpse into the selected folder and not a navigation tool. The idea is that the user could be reassured that it was indeed the correct folder they had chosen. In that vein I would call it a 'feature' :-) |



On Ubuntu 14.04 only "Folder select" works while "File select" and "Save file" do not work using shinyFiles/inst/example . All the controls in "File select" and "Save file" examples are empty, nothing to choose from,...
The text was updated successfully, but these errors were encountered: