[GeoNode-devel] Geonode 2.7.X installation

Murad Jamal muradj at omnilink.com.au
Sun Dec 3 21:18:47 PST 2017


Hello All,

 

I have recently installed fresh install of geonode 2.7.x using instructions
from here

 

http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_instal
l/index.html

 

However have noticed some differences  
1.  seem like geonodeAuthProvider Is not used anymore. Instead geofence is
used.

 

Right after installation

 

Was able to login the geonode page and then tried pointing to /geoserver -
it doesn't seem to automatically log me in. 

In geoserver I needed to use the default admin and geoserver pass to login.

Once logged in to geoserver.

 

There is only one thing pre-created - which is a geonode workspace.

 

I am not sure this is how it supposed to be.

 

Now tried testing uploading a shp layer from geonode  and I get the
following error

 

[Mon Dec 04 14:21:19.436298 2017] [wsgi:error] [pid 4942:tid
140398995117824] Tempdir: /tmp/tmpcaK44l, basefile:
/tmp/tmpcaK44l/SimpleAust.shp

[Mon Dec 04 14:21:19.436387 2017] [wsgi:error] [pid 4942:tid
140398995117824] Name: SimpleAust, ext: .shp

[Mon Dec 04 14:21:19.436630 2017] [wsgi:error] [pid 4942:tid
140398995117824] Found the following files:
[u'/tmp/tmpcaK44l/SimpleAust.dbf', u'/tmp/tmpcaK44l/SimpleAust.prj',
u'/tmp/tmpcaK44l/Simpl$

[Mon Dec 04 14:21:19.436981 2017] [wsgi:error] [pid 4942:tid
140398995117824] Cleaned file names: [u'/tmp/tmpcaK44l/SimpleAust.dbf',
u'/tmp/tmpcaK44l/SimpleAust.prj', u'/tmp/tmpcaK44l/SimpleAust.s$

[Mon Dec 04 14:21:19.437328 2017] [wsgi:error] [pid 4942:tid
140398995117824] [<SpatialFile base_file=/tmp/tmpcaK44l/SimpleAust.shp
file_type=<FileType shp> aux=[u'/tmp/tmpcaK44l/SimpleAust.dbf', $

[Mon Dec 04 14:21:19.437408 2017] [wsgi:error] [pid 4942:tid
140398995117824] Uploading layer: [SimpleAust], files [[<SpatialFile
base_file=/tmp/tmpcaK44l/SimpleAust.shp file_type=<FileType shp> a$

[Mon Dec 04 14:21:19.439260 2017] [wsgi:error] [pid 4942:tid
140398995117824] Using name as requested

[Mon Dec 04 14:21:19.439327 2017] [wsgi:error] [pid 4942:tid
140398995117824] Name for layer: [SimpleAust]

[Mon Dec 04 14:21:19.439397 2017] [wsgi:error] [pid 4942:tid
140398995117824] GET http://localhost/geoserver/rest/workspaces.xml

[Mon Dec 04 14:21:19.476024 2017] [wsgi:error] [pid 4942:tid
140398995117824] GET
http://localhost/geoserver/rest/workspaces/geonode/datastores.xml

[Mon Dec 04 14:21:19.508598 2017] [wsgi:error] [pid 4942:tid
140398995117824] GET
http://localhost/geoserver/rest/workspaces/geonode/coveragestores.xml

[Mon Dec 04 14:21:19.541627 2017] [wsgi:error] [pid 4942:tid
140398995117824] GET
http://localhost/geoserver/rest/workspaces/geonode/wmsstores.xml

[Mon Dec 04 14:21:19.573996 2017] [wsgi:error] [pid 4942:tid
140398995117824] Unexpected error in upload step

[Mon Dec 04 14:21:19.574015 2017] [wsgi:error] [pid 4942:tid
140398995117824] Traceback (most recent call last):

[Mon Dec 04 14:21:19.574018 2017] [wsgi:error] [pid 4942:tid
140398995117824]   File "/home/geonode/geonode/geonode/upload/views.py",
line 715, in view

[Mon Dec 04 14:21:19.574030 2017] [wsgi:error] [pid 4942:tid
140398995117824]     resp = _steps[step](req, upload_session)

[Mon Dec 04 14:21:19.574033 2017] [wsgi:error] [pid 4942:tid
140398995117824]   File "/home/geonode/geonode/geonode/upload/views.py",
line 298, in save_step_view

[Mon Dec 04 14:21:19.574035 2017] [wsgi:error] [pid 4942:tid
140398995117824]
time_presentation_reference_value=form.cleaned_data['time_presentation_refer
ence_value']

[Mon Dec 04 14:21:19.574037 2017] [wsgi:error] [pid 4942:tid
140398995117824]   File "/home/geonode/geonode/geonode/upload/upload.py",
line 268, in save_step

[Mon Dec 04 14:21:19.574039 2017] [wsgi:error] [pid 4942:tid
140398995117824]     resources = store.get_resources()

[Mon Dec 04 14:21:19.574041 2017] [wsgi:error] [pid 4942:tid
140398995117824] AttributeError: 'NoneType' object has no attribute
'get_resources'

[Mon Dec 04 14:21:19.574169 2017] [wsgi:error] [pid 4942:tid
140398995117824] Traceback (most recent call last):

[Mon Dec 04 14:21:19.574176 2017] [wsgi:error] [pid 4942:tid
140398995117824]   File "/home/geonode/geonode/geonode/upload/views.py",
line 715, in view

[Mon Dec 04 14:21:19.574179 2017] [wsgi:error] [pid 4942:tid
140398995117824]     resp = _steps[step](req, upload_session)

[Mon Dec 04 14:21:19.574183 2017] [wsgi:error] [pid 4942:tid
140398995117824]   File "/home/geonode/geonode/geonode/upload/views.py",
line 298, in save_step_view

[Mon Dec 04 14:21:19.574185 2017] [wsgi:error] [pid 4942:tid
140398995117824]
time_presentation_reference_value=form.cleaned_data['time_presentation_refer
ence_value']

[Mon Dec 04 14:21:19.574187 2017] [wsgi:error] [pid 4942:tid
140398995117824]   File "/home/geonode/geonode/geonode/upload/upload.py",
line 268, in save_step

[Mon Dec 04 14:21:19.574189 2017] [wsgi:error] [pid 4942:tid
140398995117824]     resources = store.get_resources()

[Mon Dec 04 14:21:19.574191 2017] [wsgi:error] [pid 4942:tid
140398995117824] AttributeError: 'NoneType' object has no attribute
'get_resources'

[Mon Dec 04 14:21:19.574193 2017] [wsgi:error] [pid 4942:tid
140398995117824]

 

 

Appreciate your help

 

Murad Jamal
Software Engineer

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20171204/086f42d5/attachment.html>


More information about the geonode-devel mailing list