Zipping and downloading files
Brought to you by:
donmurray,
jmcwhirter
Hello -
My group at work has been working to create a data repository to give community members access to data sets. I am trying to test/use 'Zip and Download Files' feature to easily grab data/plots from a RAMADDA data repository, but I am having a hard time getting this to work properly. When I click 'Apply action: Zip and Download Files', it always downloads an empty file, no matter if I individually select certain files or choose select all. Any help/tips with this would be greatly appreciated!
Thank you,
Michelle Harrold
NCAR/RAL
Hi Michelle,
What version of RAMADDA are you running? If you're not running the latest (1.5b) you should upgrade and see if you still have this problem.
If you are running the latest and still have the problem can you send me a link to your repository?
Thanks,
Jeff
Hi Jeff,
Alright, we upgraded from 1.5a to 1.5b. With the upgrade, I am still having issues with the 'Zip and Download Files' feature (creates and downloads an empty file).
Here is a link to our repository (sorry so ugly):
https://verif.rap.ucar.edu/repository/entry/show/Data+Repository/DTC+Data+Repository/Mesoscale+Model+Evaluation+Testbed+%28MMET%29/CASES?entryid=76cc5a05-eb55-409c-b7fb-99ad8e547679
Thank you!
Michelle
Hi Michelle,
I found the problem. The files you are trying to zip up are from the "Server Side Files" entry - RAMADDA just generates those entries on the fly by looking at the file system
For some reason the Zip output was explicitly ignoring those types of entries. I have fixed this and will make a new 1.5B release later today.
-Jeff
Hi Michelle,
I just pushed out a new 1.5B release. This should fix your file zip and download problem
-Jeff
Hi Jeff,
We grabbed the new 1.5B release - it fixed the zip and download problem - thank you for your help with that. After downloading and installing it, I also was randomly checking/clicking around the repository to make sure nothing else was affected by the reinstall. I get an error message when I click directly on a grib or netcdf file that I want to download; however if I click on the download icon next to the file, it works as expected. When I click on a text file or plot, this problem does not occur. The error message is below. Does this look like a RAMADDA error to you? Or perhaps it is a java and/or tomcat error?
Thank you!
Michelle
Error message:
org.ramadda.repository.metadata.MetadataManager.findMetadata(Lorg/ramadda/repository/Entry;Ljava/lang/String;Z)Ljava/util/List;
Hi Michelle,
Did you update your plugin files?
You probably have an allplugins.(zip or jar) in:
<ramadda home="" dir="">/plugins
Delete any files there and get the new ones here:
https://sourceforge.net/projects/ramadda/files/ramadda1.5b/
Copy them to the plugins dir and restart RAMADDA.
We keep finding users are running into this problem. We'll figure something out (or at least document the reinstall process better)
-Jeff
Hi Michelle-
Jeff's travelling at the moment, but it looks like there is a mismatch
between the WAR file and the plugins. When you updated to the new 1.5b war
file, did you update the allplugins.jar file as well? If not, give that a
shot.
Don Murray
On Mon, Jul 8, 2013 at 9:00 AM, Michelle Harrold mharrold@users.sf.netwrote:
Related
Support Requests: #6
Hi Jeff and Don,
Thanks for the suggestions - it is working as expected now.
Thank you for all of your help regarding this matter!
Michelle