[GeoNode-devel] Migrating custom app from 2.4 to 2.8 returns IOError at /wfpdocs/test_layer/ [Errno 71] Protocol Error

Dimitris Kar dkarakostis at gmail.com
Mon Jan 14 03:03:54 PST 2019

Hello all,

I am trying to migrate an application from our GeoNode 2.4 to a
geonode-project, which uses the latest stable release (2.8 - dev env). I
use a vagrant machine with an Ubuntu 16.04.
The application has a very similar logic to the Documents app. I am able to
access the templates (e.g. file upload map) and I also can see the tables
in the sqllite file. Everything seems to work fine but when I try to upload
a file I get the below error. I've noticed that file is being actually
uploaded cause I can see it under the uploaded/documents/. I thought this
might be related with permissions issues of the files but I have checked
them and they all use the same permission levels. It seems like the error
takes place after the file is uploaded and when I am redirected in the
"detail" page of the app. But then again searching a bit  online about the
"Errno 71", I see that this could be related to the virtual environment and
vagrant? (https://pythondata.com/vagrant-on-windows/)

 Has anyone seen something like that before:

IOError at /wfpdocs/dsfsdfsd/ [Errno 71]
Protocol error: '/vagrant/wfp_geonode/wfp_geonode/templates/{\'resource\':
<WFPDocument: dsfsdfsd>, \'perms_list\': [u\'add_resourcebase\',
u\'change_resourcebase\', u\'change_resourcebase_metadata\',
u\'change_resourcebase_permissions\', u\'delete_resourcebase\',
u\'download_resourcebase\', u\'publish_resourcebase\',
u\'view_resourcebase\'], \'social_links\': [{\'url\':
\'css_class\': \'email\', \'label\': \'Email\'}, {\'url\': u\'http:/
\'css_class\': \'fb\', \'label\': \'Facebook\'}, {\'url\': u\'https:/
\'css_class\': \'tw\', \'label\': \'Twitter\'}, {\'url\': u\'https:/
\'css_class\': \'gp\', \'label\': \'Google +\'}], \'imgtypes\': [\'jpg\',
\'jpeg\', \'tif\', \'tiff\', \'png\', \'gif\'], \'related\': \'\',
\'permissions_json\': \'{"users": {"admin": ["view_resourcebase",
"download_resourcebase", "change_resourcebase_metadata",
"change_resourcebase", "delete_resourcebase",
"change_resourcebase_permissions", "publish_resourcebase"],
"AnonymousUser": ["view_resourcebase", "download_resourcebase"]}, "groups":
{"anonymous": ["view_resourcebase", "download_resourcebase"]}}\',
\'metadata\': <QuerySet []>}'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20190114/f1c5aaca/attachment.html>

More information about the geonode-devel mailing list