[GeoNode-users] Cant upload and register remote services after update
Christian Willmes
christian.willmes at googlemail.com
Fri Oct 30 07:59:55 PDT 2015
just to clarify, I tried the upload and register of remote service again
after running "geonode collectstatic".
I also made sure to select a category from the GUI, but for testing also
tryed to upload without selecting a category, both resulting in the
exact same errors in the logs.
Any Ideas?
Thanks,
Christian
Am 30.10.2015 um 15:02 schrieb Christian Willmes:
> Hi,
>
> thanks, but it did not help. I did:
> ---
> ~$ geonode collectstatic
>
> You have requested to collect static files at the destination
> location as specified in your settings.
>
> This will overwrite existing files!
> Are you sure you want to do this?
>
> Type 'yes' to continue, or 'no' to cancel: yes
>
> 0 static files copied, 880 unmodified.
> ---
>
> Errors in logs look exactly same, as posted in the mail before.
>
> Regards,
> Christian
>
> Am 30.10.2015 um 14:57 schrieb Simone Dalmasso:
>> Christian. A geonode collectstatic may fix. Let us know
>>
>> Il venerdì 30 ottobre 2015, Christian Willmes
>> <christian.willmes at googlemail.com
>> <mailto:christian.willmes at googlemail.com>> ha scritto:
>>
>> Hi,
>>
>> I run a GeoNode /version 2.4c2 /from the ubuntu packages./
>>
>> /After an "apt-get update / upgrade" yesterday, I can't upload new
>> layers or register remote services on GeoNode anymore.
>> /
>> /On registering remote services the logs say:
>>
>> [Fri Oct 30 13:24:41.857736 2015] [core:error] [pid 24951:tid
>> 140094098888448] [client 134.95.126.26:38719
>> <http://134.95.126.26:38719>] End of script output before headers:
>> geonode.wsgi
>> [Fri Oct 30 13:24:41.857932 2015] [core:error] [pid 25013:tid
>> 140094014961408] [client 134.95.126.26:38714
>> <http://134.95.126.26:38714>] End of script output before headers:
>> geonode.wsgi
>> [Fri Oct 30 13:24:41.858108 2015] [core:error] [pid 24951:tid
>> 140094090495744] [client 127.0.0.1:36688 <http://127.0.0.1:36688>]
>> End of script output before headers: geonode.wsgi
>> [Fri Oct 30 13:24:41.858290 2015] [core:error] [pid 24951:tid
>> 140094073710336] [client 134.95.126.26:38467
>> <http://134.95.126.26:38467>] End of script output before headers:
>> geonode.wsgi
>> [Fri Oct 30 13:24:41.858455 2015] [core:error] [pid 24951:tid
>> 140094006568704] [client 134.95.126.26:38447
>> <http://134.95.126.26:38447>] End of script output before headers:
>> geonode.wsgi
>> [Fri Oct 30 13:24:41.858625 2015] [core:error] [pid 25013:tid
>> 140094115673856] [client 134.95.126.26:38399
>> <http://134.95.126.26:38399>] End of script output before headers:
>> geonode.wsgi
>> [Fri Oct 30 13:24:41.858788 2015] [core:error] [pid 25013:tid
>> 140093914248960] [client 134.95.126.26:38411
>> <http://134.95.126.26:38411>] End of script output before headers:
>> geonode.wsgi
>> [Fri Oct 30 13:24:41.858963 2015] [core:error] [pid 25013:tid
>> 140093939427072] [client 134.95.126.26:38433
>> <http://134.95.126.26:38433>] End of script output before headers:
>> geonode.wsgi
>> [Fri Oct 30 13:24:41.859267 2015] [core:error] [pid 25013:tid
>> 140093964605184] [client 134.95.126.26:38350
>> <http://134.95.126.26:38350>] End of script output before headers:
>> geonode.wsgi
>> [Fri Oct 30 13:24:41.859403 2015] [core:error] [pid 24951:tid
>> 140093922641664] [client 134.95.150.136:37065
>> <http://134.95.150.136:37065>] End of script output before
>> headers: geonode.wsgi, referer:
>> http://geonode.crc806db.uni-koeln.de/services/register/
>>
>>
>> On upload via the web gui, the logs say:
>>
>> [Fri Oct 30 07:50:58.506998 2015] [:error] [pid 1277:tid
>> 139701666780928] "'category'"
>> [Fri Oct 30 07:50:58.507085 2015] [:error] [pid 1277:tid
>> 139701666780928] Traceback (most recent call last):
>> [Fri Oct 30 07:50:58.507097 2015] [:error] [pid 1277:tid
>> 139701666780928] File
>> "/usr/local/lib/python2.7/dist-packages/geonode/layers/views.py",
>> line 154, in layer_upload
>> [Fri Oct 30 07:50:58.507106 2015] [:error] [pid 1277:tid
>> 139701666780928] topic_id = request.POST['category']
>> [Fri Oct 30 07:50:58.507115 2015] [:error] [pid 1277:tid
>> 139701666780928] File
>> "/usr/lib/python2.7/dist-packages/django/utils/datastructures.py",
>> line 301, in __getitem__
>> [Fri Oct 30 07:50:58.507126 2015] [:error] [pid 1277:tid
>> 139701666780928] raise MultiValueDictKeyError(repr(key))
>> [Fri Oct 30 07:50:58.507139 2015] [:error] [pid 1277:tid
>> 139701666780928] MultiValueDictKeyError: "'category'"
>>
>> Is there any step I need to do manually after an package upgrade?
>> I remember similar problems after the last update, then it was a
>> problem with "uploadsession" not "category" during upload layers.
>>
>> Thanks and regards,
>> Christian
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/geonode-users
>>
>>
>>
>> --
>> Simone
>>
>>
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
More information about the geonode-users
mailing list