[GeoNode-users] Stable ppa throws an ImportError during GeoNode postinstall

Federico Gianoli alpacagis at gmail.com
Tue Apr 17 07:23:55 PDT 2018


Hi Dave,

have you tried to  re-run " sudo apt-get install geonode" ?

regards

Federico



2018-04-17 16:17 GMT+02:00 Dave Kennewell <davekennewell at gmail.com>:

> Hi all,
>
> I've started new thread so this doesn't get lost, but it follows on from
> Elton's issues in the "Geonode 2.8.0 is out!" thread.
>
> I just ran an install script that is usually super-dependable, and got the
> same error as Elton when the script runs "sudo apt-get install geonode".
> I'm using the stable ppa on Ubuntu 16.04 (clean EC2 image).
>
> Here is the log output:
>
> Creating config file /etc/logrotate.d/tomcat8 with new version
> Setting up tomcat8-admin (8.0.32-1ubuntu1.5) ...
> Setting up geoserver-geonode (2.12.2-4) ...
> Setting up geonode (2.8.0+thefinal0) ...
> Sourcing /usr/share/geonode/config-post.sh as the configuration file
>    Step: 'once specified
> Running GeoNode initial configuration ...
> CREATE EXTENSION
> CREATE ROLE
> Sourcing /usr/share/geonode/config-post.sh as the configuration file
>    Step: 'post specified
> Running GeoNode postinstall ...
> Traceback (most recent call last):
>   File "/usr/bin/pip", line 9, in <module>
>     from pip import main
> ImportError: cannot import name main
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ImportError: No module named geonode
> Traceback (most recent call last):
>   File "/usr/bin/django-admin", line 9, in <module>
>     load_entry_point('Django==1.8.19', 'console_scripts', 'django-admin')()
>   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
>     utility.execute()
>   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 303, in execute
>     settings.INSTALLED_APPS
>   File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 48, in __getattr__
>     self._setup(name)
>   File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 44, in _setup
>     self._wrapped = Settings(settings_module)
>   File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 92, in __init__
>     mod = importlib.import_module(self.SETTINGS_MODULE)
>   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
>     __import__(name)
> ImportError: No module named geonode.settings
>
> Is anyone else experiencing this issue with the stable apt-get install?
>
> thanks
> Dave
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180417/cc49dc4e/attachment.html>


More information about the geonode-users mailing list