Closed tglomb closed 4 years ago
Hello, I can reproduce these problems on my windows pc. On the other hand, the download works fine on my Mac and the RStudio server. The Server runs on Linux, so it works on UNIX based systems, but not on windows.
You can see that the app creates all files and has every filename saved in files
(see print(files)
).
Therefore we have two options:
great Marius, thanks a lot for providing this solution, @tglomb @colindaven do you think Rtools may be integrated to the singularity environment ? @tglomb could you help me to get this running (either at our windows server with RTools installed or even better with singularity)?
Note: Just found this system2("zip", args=(paste(file,files,sep=" ")))
and could be used instead of zip(file,files)
.
Maybe I can get this working and we have no need for Rtools.
@mariusrueve Can you push the fix to dev or master and get me to recreate the container so we can test if this has an effect ? No one could download from the container so far.
Torsten can recreate the container next week too (need sudo), I am away from today on holiday.
@colindaven sure! For me the download works on Windows with system2("zip", args=(paste(file,files,sep=" ")))
, but I don't know if the download works because I have Rtools installed now or because the function doesn't need Rtools.
Pushed to dev ✔️ https://github.com/MHH-RCUG/scrnaseq_app/commit/654f870cc9f1b00675f0a5138cc7ec727add39ed
Singularity container being created now from dev branch with
https://github.com/MHH-RCUG/scrnaseq_app/commit/ab4e11e4c1543650393ae550b7a23adce403f46d
@mariusrueve @tglomb @Oliver-D-B please retest the container from dev with the current changes by Marius
For me on the Windows Server using the Singularity version and Firefox, I can't download the files.
The link is and it doesn't look like a variable is being filled after w= (perhaps).
http://172.24.148.210:3838/session/524cf7e557435fa4342b0f817da961fd/download/download_plots?w=
@colindaven It doesn't work for me. Maybe I can find another solution to create a .zip (etc) file. I'm going to deactivate RTools so I can test locally.
For me on the Windows Server using the Singularity version and Firefox, I can't download the files.
The link is and it doesn't look like a variable is being filled after w= (perhaps).
http://172.24.148.210:3838/session/524cf7e557435fa4342b0f817da961fd/download/download_plots?w=
@colindaven How did you produce this link?
Link produced by right click on download button - copy link location
and or with developer mode im browse (F12 in firefox?) and checking the Network Tab. (status 500 = Internal server error )
Possible fix ❔ https://github.com/MHH-RCUG/scrnaseq_app/commit/e51ae3eab9b0acabd11400c839c53b8d03591fbd
I explicitly installed zip, even though it should be included already, with install.packages("zip")
.
And added library(zip)
to the code.
This worked for me with Rtools deactivated.
Tested the dev branch in RStudio. Download is working so far. Just got the info Note: zip::zip() is deprecated, please use zip::zipr() instead
. Maybe you could fix this quickly.
@tglomb I haven't seen this message yet (tested on macOS). I will try to recreate this error on windows.
I've recently installed the latest versions of R (4.0.2) and RStudio (1.3.1073) and tested it again. Now it didn't show up again.
So everthing is fine so far.
Thx
I've downloaded the repository to start it in a local RStudio on Windows.
Everything works fine so far just except the dowload of the selected plots. RStudio is calculating in the background. In case of using the RStudio browser it appears a download window with a file name other than the given that cannot not be saved. In case of the a browser such as Firefox not even the download window appears.