<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Thanks for testing that Daniel<div><br></div><div>For background information: This issue came following the GBIF API deploy last week which tightened up security. &nbsp;Previously people could discover download status without actually authenticating - while this posed no real risk, it was an oversight in the API security, and we addressed that. &nbsp;You will also note, that downloads are now much “wider” as GBIF support the full width of Darwin Core in the index now.</div><div><br></div><div>Thanks,</div><div>Tim</div><div><br></div><div><br></div><div><br><div><div>On 28 Apr 2014, at 08:49, Daniel Lins &lt;<a href="mailto:daniel.lins@gmail.com">daniel.lins@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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 "Add all GBIF resources for a country" 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'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 &nbsp; &nbsp; Dataset<span class="" style="white-space:pre">        </span>SANT-Algae</div><div>STATUS &nbsp; 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&nbsp;</font><span style="font-family:arial,sans-serif">make sure if the folder "/data/</span><span style="font-family:arial,sans-serif">collectory</span><span style="font-family:arial,sans-serif">/upload" has write permission, because the downloaded files are saved in this folder by default.&nbsp;</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, &nbsp;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, <a href="mailto:David.Martin@csiro.au">David.Martin@csiro.au</a> escribió:<br>
<div class="">&gt; I should have added, you'll need to remove the existing collectory.war and the expanded war from /var/lib/tomcat7/webapps and copy this war file into &nbsp;/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, <a href="mailto:David.Martin@csiro.au">David.Martin@csiro.au</a> 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'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'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'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 'Show stack trace' 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; &nbsp; &nbsp; &nbsp; &nbsp; at java.io.FileOutputStream.&lt;init&gt;(FileOutputStream.java:221)<br>
&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; at java.io.FileOutputStream.&lt;init&gt;(FileOutputStream.java:171)<br>
&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; at<br>
&gt;&gt; org.apache.commons.fileupload.disk.DiskFileItem.write(DiskFileItem.java:449)<br>
&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; at<br>
&gt;&gt; au.org.ala.collectory.GbifService.createGBIFResourceFromMultipart(GbifService.groovy:211)<br>
&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; at<br>
&gt;&gt; au.org.ala.collectory.ProviderGroupController$_closure22.doCall(ProviderGroupController.groovy:522)<br>
&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; 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 'Show stack trace' 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; &nbsp; &nbsp; &nbsp; &nbsp; at<br>
&gt;&gt; grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:195)<br>
&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; at<br>
&gt;&gt; grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)<br>
&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; at au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:200)<br>
&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; at au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:200)<br>
&gt;<br>
&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; 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>
_______________________________________________<br>Ala-portal mailing list<br><a href="mailto:Ala-portal@lists.gbif.org">Ala-portal@lists.gbif.org</a><br>http://lists.gbif.org/mailman/listinfo/ala-portal<br></blockquote></div><br></div></body></html>