<div dir="ltr">Hi Santiago,<div><br></div><div><div><font face="arial, sans-serif">I tried to add some GBIF resources from Brazil in my database, using the same functionality &quot;Add all GBIF resources for a country&quot; and works for me (resources with 0 records were not created and the download process was killed).</font></div>
<div><span style="font-family:arial,sans-serif">After I tried to add one dataset of Spain (like your test case), and the system didn&#39;t raise any error message. However, the download never ends (In my GBIF profile page these download process was successfully finished).</span><br>
</div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif"><i><div>Your Downloads</div><div>FILTER     Dataset<span class="" style="white-space:pre">        </span>SANT-Algae</div><div>STATUS   Ready for download (0 B 28.626 records - 1 datasets)</div>
<div>CREATED 28/04/2014</div></i></font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Check the username and password and </font><span style="font-family:arial,sans-serif">make sure if the folder &quot;/data/</span><span style="font-family:arial,sans-serif"><span id="44c2edbf-9647-4b71-96f6-0b436f81dfff" class="GINGER_SOFTWARE_mark">collectory</span></span><span style="font-family:arial,sans-serif">/upload&quot; has write permission, because the downloaded files are saved in this folder by default. </span></div>
</div><div><span style="font-family:arial,sans-serif"><br></span></div><div><span style="font-family:arial,sans-serif">Hope that this helps.</span></div><div><span style="font-family:arial,sans-serif"><br></span></div><div>
Cheers.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-25 3:46 GMT-03:00 sama <span dir="ltr">&lt;<a href="mailto:sama@gbif.es" target="_blank">sama@gbif.es</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div>Dear David,<br>
<br>
I tried to add one dataset through the option, all GBIF resource for a<br>
country,  with your credentials and I also tried with my credentials:<br>
<br>
<a href="http://193.146.75.144:8080/collectory/manage/gbifLoadCountry" target="_blank">http://193.146.75.144:8080/collectory/manage/gbifLoadCountry</a><br>
<br>
But the Portal always shows me the next message:<br>
<br>
- -----<br>
Failed. Please check your authentication credentials are valid.<br>
- -----<br>
<br>
Could you check it?<br>
<br>
Thank you.<br>
<div class=""><br>
- ------------------------------------------------------------<br>
Santiago Martínez de la Riva Vivanco<br>
<a href="http://GBIF.ES" target="_blank">GBIF.ES</a>, Unidad de Coordinación<br>
Real Jardín Botánico CSIC<br>
Plaza de Murillo, 2<br>
28014 Madrid, Spain<br>
Tel: <a href="tel:%2B34%2091%204293917%20x%20273" value="+34914293917">+34 91 4293917 x 273</a> - <a href="mailto:sama@gbif.es">sama@gbif.es</a> - <a href="http://www.gbif.es" target="_blank">www.gbif.es</a> -<br>
<a href="https://twitter.com/smr_sama" target="_blank">https://twitter.com/smr_sama</a><br>
<br>
<br>
</div>El 24/04/2014 12:29, David.Martin@csiro.au escribió:<br>
<div class="">&gt; I should have added, you&#39;ll need to remove the existing collectory.war and the expanded war from /var/lib/tomcat7/webapps and copy this war file into  /var/lib/tomcat7/webapps renaming it to collectory.war.<br>

&gt;<br>
&gt; Dave<br>
&gt; ________________________________________<br>
&gt; From: sama [<a href="mailto:sama@gbif.es">sama@gbif.es</a>]<br>
&gt; Sent: 24 April 2014 20:26<br>
&gt; To: Martin, Dave (CES, Black Mountain); <a href="mailto:ala-portal@lists.gbif.org">ala-portal@lists.gbif.org</a><br>
&gt; Subject: Re: [Ala-portal] issues with the Collectory module.<br>
&gt;<br>
</div><div class="">&gt; Thanks so much for your quick reply.<br>
&gt;<br>
&gt; I´m going to test it.<br>
&gt;<br>
&gt; Kind regards.<br>
&gt; Santi.<br>
&gt;<br>
</div><div><div class="h5">&gt; ------------------------------------------------------------<br>
&gt; Santiago Martínez de la Riva Vivanco<br>
&gt; <a href="http://GBIF.ES" target="_blank">GBIF.ES</a>, Unidad de Coordinación<br>
&gt; Real Jardín Botánico CSIC<br>
&gt; Plaza de Murillo, 2<br>
&gt; 28014 Madrid, Spain<br>
&gt; Tel: <a href="tel:%2B34%2091%204293917%20x%20273" value="+34914293917">+34 91 4293917 x 273</a> - <a href="mailto:sama@gbif.es">sama@gbif.es</a> - <a href="http://www.gbif.es" target="_blank">www.gbif.es</a> -<br>
&gt; <a href="https://twitter.com/smr_sama" target="_blank">https://twitter.com/smr_sama</a><br>
&gt;<br>
&gt;<br>
&gt; El 24/04/2014 12:24, David.Martin@csiro.au escribió:<br>
&gt;&gt; Thanks for posting Santiago.<br>
&gt;<br>
&gt;&gt; There is a new build of the collectory that should fix the problems you mentioned with the manual GBIF file upload and editing the data resource:<br>
&gt;<br>
&gt;&gt; <a href="http://maven.ala.org.au/repository/au/org/ala/collectory/1.0/collectory-1.0.war" target="_blank">http://maven.ala.org.au/repository/au/org/ala/collectory/1.0/collectory-1.0.war</a><br>
&gt;<br>
&gt;&gt; This is now deployed on the demo server (<a href="http://ala-demo.gbif.org" target="_blank">http://ala-demo.gbif.org</a>).<br>
&gt;<br>
&gt;&gt; Hope this helps.<br>
&gt;<br>
&gt;&gt; Dave Martin<br>
&gt;&gt; ALA<br>
&gt;<br>
&gt;&gt; ________________________________________<br>
&gt;&gt; From: <a href="mailto:ala-portal-bounces@lists.gbif.org">ala-portal-bounces@lists.gbif.org</a> [<a href="mailto:ala-portal-bounces@lists.gbif.org">ala-portal-bounces@lists.gbif.org</a>] on behalf of sama [<a href="mailto:sama@gbif.es">sama@gbif.es</a>]<br>

&gt;&gt; Sent: 24 April 2014 17:03<br>
&gt;&gt; To: <a href="mailto:ala-portal@lists.gbif.org">ala-portal@lists.gbif.org</a><br>
&gt;&gt; Subject: Re: [Ala-portal] issues with the Collectory module.<br>
&gt;<br>
&gt;&gt; My name is Santiago Martínez de la Riva. I&#39;m member of node of Gbif<br>
&gt;&gt; Spain. We have installed the data portal of ALA and we have a problem<br>
&gt;&gt; with the collectory module.<br>
&gt;<br>
&gt;&gt; We can&#39;t create new collections or institutions. When we try to add<br>
&gt;&gt; collections or institutions, the Portal shows the next message:<br>
&gt;<br>
&gt;&gt; <a href="http://193.146.75.144:8080/collectory/dataResource/uploadGBIFFile" target="_blank">http://193.146.75.144:8080/collectory/dataResource/uploadGBIFFile</a><br>
&gt;<br>
&gt;<br>
&gt;&gt; Could be an error caused by problems with permissions in the directory<br>
&gt;&gt; /data/collectory/upload? Because It seems that the server doesn&#39;t create<br>
&gt;&gt; the temporal file.<br>
&gt;<br>
&gt;&gt; --------------------------------------<br>
&gt;&gt; An unexpected error has occurred.<br>
&gt;<br>
&gt;&gt; If this is the first time this page has appeared, try the refresh button<br>
&gt;&gt; in your browser.<br>
&gt;<br>
&gt;&gt; If this fails, try to return to the home page and start again.<br>
&gt;<br>
&gt;&gt; If this page is still displayed, please report the incident to ALA<br>
&gt;&gt; support. Click here to email ALA support.<br>
&gt;<br>
&gt;&gt; The following is useful information that helps us discover what has<br>
&gt;&gt; happened. Please copy it into emails requesting support.<br>
&gt;<br>
&gt;&gt; You might also like to expand the more detailed information by clicking<br>
&gt;&gt; on &#39;Show stack trace&#39; and copying that text to us as well.<br>
&gt;<br>
&gt;&gt; Thanks for your patience.<br>
&gt;&gt; Error 500: Executing action [uploadGBIFFile] of controller<br>
&gt;&gt; [au.org.ala.collectory.DataResourceController] caused exception: Runtime<br>
&gt;&gt; error executing action<br>
&gt;&gt; Servlet: grails<br>
&gt;&gt; URI: /collectory/grails/dataResource/uploadGBIFFile.dispatch<br>
&gt;&gt; Exception Message: /data/collectory/upload/tmp/1398257201760 (No such<br>
&gt;&gt; file or directory)<br>
&gt;&gt; Caused by: /data/collectory/upload/tmp/1398257201760 (No such file or<br>
&gt;&gt; directory)<br>
&gt;&gt; Class: ProviderGroupController<br>
&gt;&gt; At Line: [522]<br>
&gt;&gt; Code Snippet:<br>
&gt;&gt; Show stack trace<br>
&gt;&gt; Stack Trace<br>
&gt;<br>
&gt;&gt; java.io.FileNotFoundException: /data/collectory/upload/tmp/1398257201760<br>
&gt;&gt; (No such file or directory)<br>
&gt;<br>
&gt;&gt;         at java.io.FileOutputStream.&lt;init&gt;(FileOutputStream.java:221)<br>
&gt;<br>
&gt;&gt;         at java.io.FileOutputStream.&lt;init&gt;(FileOutputStream.java:171)<br>
&gt;<br>
&gt;&gt;         at<br>
&gt;&gt; org.apache.commons.fileupload.disk.DiskFileItem.write(DiskFileItem.java:449)<br>
&gt;<br>
&gt;&gt;         at<br>
&gt;&gt; au.org.ala.collectory.GbifService.createGBIFResourceFromMultipart(GbifService.groovy:211)<br>
&gt;<br>
&gt;&gt;         at<br>
&gt;&gt; au.org.ala.collectory.ProviderGroupController$_closure22.doCall(ProviderGroupController.groovy:522)<br>
&gt;<br>
&gt;&gt;         at<br>
&gt;&gt; grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:195)<br>
&gt;<br>
&gt;&gt; -----------------------------<br>
&gt;<br>
&gt;<br>
&gt;&gt; We have realized too that in the demo portal of ala shows another error<br>
&gt;&gt; which is related to updated process of one resource. When we try to<br>
&gt;&gt; modify the information of one resource.<br>
&gt;&gt; For example, for this resource:<br>
&gt;<br>
&gt;&gt; <a href="http://ala-ono.it.csiro.au/collectory/dataResource/show/dr172" target="_blank">http://ala-ono.it.csiro.au/collectory/dataResource/show/dr172</a><br>
&gt;<br>
&gt;&gt; If we try to modify some field: the name, the url.., and we try to<br>
&gt;&gt; update the resource, the portal shows the next error message:<br>
&gt;<br>
&gt;<br>
&gt;&gt; -------------------<br>
&gt;<br>
&gt;&gt; An unexpected error has occurred.<br>
&gt;<br>
&gt;&gt; If this is the first time this page has appeared, try the refresh button<br>
&gt;&gt; in your browser.<br>
&gt;<br>
&gt;&gt; If this fails, try to return to the home page and start again.<br>
&gt;<br>
&gt;&gt; If this page is still displayed, please report the incident to ALA<br>
&gt;&gt; support. Click here to email ALA support.<br>
&gt;<br>
&gt;&gt; The following is useful information that helps us discover what has<br>
&gt;&gt; happened. Please copy it into emails requesting support.<br>
&gt;<br>
&gt;&gt; You might also like to expand the more detailed information by clicking<br>
&gt;&gt; on &#39;Show stack trace&#39; and copying that text to us as well.<br>
&gt;<br>
&gt;&gt; Thanks for your patience.<br>
&gt;&gt; Error 500: Executing action [updateBase] of controller<br>
&gt;&gt; [au.org.ala.collectory.DataResourceController] caused exception: Runtime<br>
&gt;&gt; error executing action<br>
&gt;&gt; Servlet: grails<br>
&gt;&gt; URI: /collectory/grails/dataResource/updateBase.dispatch<br>
&gt;&gt; Exception Message: No signature of method: static<br>
&gt;&gt; au.org.ala.collectory.BaseCommand.get() is applicable for argument<br>
&gt;&gt; types: (java.lang.String) values: [173] Possible solutions:<br>
&gt;&gt; getAt(java.lang.String), getId(), grep(), grep(java.lang.Object),<br>
&gt;&gt; wait(), any()<br>
&gt;&gt; Caused by: No signature of method: static<br>
&gt;&gt; au.org.ala.collectory.BaseCommand.get() is applicable for argument<br>
&gt;&gt; types: (java.lang.String) values: [173] Possible solutions:<br>
&gt;&gt; getAt(java.lang.String), getId(), grep(), grep(java.lang.Object),<br>
&gt;&gt; wait(), any()<br>
&gt;&gt; Class: Unknown<br>
&gt;&gt; At Line: [-1]<br>
&gt;&gt; Code Snippet:<br>
&gt;&gt; Show stack trace<br>
&gt;&gt; Stack Trace<br>
&gt;<br>
&gt;&gt; groovy.lang.MissingMethodException: No signature of method: static<br>
&gt;&gt; au.org.ala.collectory.BaseCommand.get() is applicable for argument<br>
&gt;&gt; types: (java.lang.String) values: [173]<br>
&gt;&gt; Possible solutions: getAt(java.lang.String), getId(), grep(),<br>
&gt;&gt; grep(java.lang.Object), wait(), any()<br>
&gt;<br>
&gt;&gt;         at<br>
&gt;&gt; grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:195)<br>
&gt;<br>
&gt;&gt;         at<br>
&gt;&gt; grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)<br>
&gt;<br>
&gt;&gt;         at au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:200)<br>
&gt;<br>
&gt;&gt;         at au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:200)<br>
&gt;<br>
&gt;&gt;         at au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:200)<br>
&gt;<br>
&gt;&gt; -------<br>
&gt;<br>
&gt;<br>
&gt;&gt; Kind regards.<br>
&gt;&gt; Santi.<br>
&gt;&gt; ------------------------------------------------------------<br>
&gt;&gt; Santiago Martínez de la Riva Vivanco<br>
&gt;&gt; <a href="http://GBIF.ES" target="_blank">GBIF.ES</a>, Unidad de Coordinación<br>
&gt;&gt; Real Jardín Botánico CSIC<br>
&gt;&gt; Plaza de Murillo, 2<br>
&gt;&gt; 28014 Madrid, Spain<br>
&gt;&gt; Tel: <a href="tel:%2B34%2091%204293917%20x%20273" value="+34914293917">+34 91 4293917 x 273</a> - <a href="mailto:sama@gbif.es">sama@gbif.es</a> - <a href="http://www.gbif.es" target="_blank">www.gbif.es</a> -<br>

&gt;&gt; <a href="https://twitter.com/smr_sama" target="_blank">https://twitter.com/smr_sama</a><br>
&gt;<br>
&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Ala-portal mailing list<br>
&gt;&gt; <a href="mailto:Ala-portal@lists.gbif.org">Ala-portal@lists.gbif.org</a><br>
&gt;&gt; <a href="http://lists.gbif.org/mailman/listinfo/ala-portal" target="_blank">http://lists.gbif.org/mailman/listinfo/ala-portal</a><br>
&gt;&gt; .<br>
&gt;<br>
&gt; .<br>
&gt;<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.22 (MingW32)<br>
Comment: Using GnuPG with Thunderbird - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
<br>
</div></div>iQEcBAEBAgAGBQJTWgS8AAoJEMV2/tf+QnQDAMUIAI5VtGCqqRlPgptnGUvFkxHt<br>
Qv7bSqQbX2zAv0zY39Zw+KgMgjRKOsaPfps7JfI3ENLS2NdPnqw7MuR2cS5AruL+<br>
/z0ghaaTobOCyZS01GozOHTsfx3Y51YM8xmqEO0nyrRwUQLvCDYvSz3JyewQn6P8<br>
V8XkLXBYeHsfXDAYex9c7myX3CuSaO/3vklx+t5jr+vprItHluqih/Ml2fqBcUnh<br>
a8G5zQZ68KAviltX+opOB+k2DcG/CB4dqkiffdek1I0gZ2wjCjfXozsVw+TW/J3d<br>
jAp8maCCM+bY6aJKDqAXfpBhwa3dwkI96WR6eSRPsQlNKRHsvzHhIXnKBOCDhIM=<br>
=kG0q<br>
<div class="HOEnZb"><div class="h5">-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
Ala-portal mailing list<br>
<a href="mailto:Ala-portal@lists.gbif.org">Ala-portal@lists.gbif.org</a><br>
<a href="http://lists.gbif.org/mailman/listinfo/ala-portal" target="_blank">http://lists.gbif.org/mailman/listinfo/ala-portal</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Daniel Lins da Silva<br>(Cel) 11 6144-4050</div><div><a href="mailto:daniel.lins@gmail.com" target="_blank">daniel.lins@gmail.com</a><br></div>

</div>