[Live-demo] [OSGeo] #1722: GeoNode packages missing for Xenial
OSGeo
trac_osgeo at osgeo.org
Sun Jun 12 14:32:57 PDT 2016
#1722: GeoNode packages missing for Xenial
---------------------+----------------------------
Reporter: kalxas | Owner: kalxas
Type: defect | Status: assigned
Priority: blocker | Milestone: OSGeoLive10.0
Component: LiveDVD | Resolution:
Keywords: |
---------------------+----------------------------
Comment (by kalxas):
We now have all the packages installed in build 138 and a pull request
with the changes:
https://github.com/OSGeo/OSGeoLive/pull/124
Unfortunately, it seems that some django package is still picked up from
default Xenial and breaks GeoNode. This is the build error:
{{{
Unpacking python-geonode (2.4-0~xenial0) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
Setting up curl (7.47.0-1ubuntu2) ...
Setting up gettext (0.19.7-2ubuntu3) ...
Setting up libxslt1-dev:amd64 (1.1.28-2.1) ...
Setting up python-amqp (1.4.9-1) ...
Setting up python-anyjson (0.3.3-1build1) ...
Setting up python-regex (0.1.20160110-1) ...
Setting up python-unidecode (0.04.19-1) ...
Setting up python-awesome-slugify (1.6.2-1~xenial0) ...
Setting up python-billiard (3.3.0.22-1) ...
Setting up python-bs4 (4.4.1-1) ...
Setting up python-kombu (3.0.33-1ubuntu2) ...
Setting up python-mailer (0.7-1.1) ...
Setting up python-memcache (1.57-1) ...
Setting up python-celery (3.1.20-1) ...
Setting up python-dialogos (0.4-1~xenial0) ...
Setting up python-django-activity-stream (0.4.5beta1-1~xenial0) ...
Setting up python-django-autocomplete-light (2.2.11-1~xenial0) ...
Setting up python-django-bootstrap3-datetimepicker (2.2.3-1~xenial0) ...
Setting up python-django-celery (3.1.17-3) ...
Setting up python-django-extensions (1.5.9-1) ...
Setting up python-django-forms-bootstrap (3.0.1-1~xenial0) ...
Setting up python-django-friendly-tag-loader (1.1-1~xenial0) ...
Setting up python-django-geoexplorer (4.0.5-1~xenial0) ...
Setting up python-django-jsonfield (0.9.15-2) ...
Setting up python-django-leaflet (0.13.7-1~xenial0) ...
Setting up python-django-modeltranslation (0.8b3-1~xenial0) ...
Setting up python-django-mptt (0.8.0-1) ...
Setting up python-django-nose (1.4.3-1) ...
Setting up python-django-pagination (1.0.7-1) ...
Setting up python-django-south (1.0-0.1) ...
Setting up python-django-taggit (0.18.0-1) ...
Setting up python-django-templatetag-sugar (0.1-1~xenial0) ...
Setting up python-django-taggit-templatetags (0.4.6dev-1~xenial0) ...
Setting up python-geonode-agon-ratings (0.3.1-1~xenial0) ...
Setting up python-geonode-notification (1.1.1-1~xenial0) ...
Setting up python-django-appconf (1.0.1-4) ...
Setting up python-geonode-user-accounts (1.0.11-1~xenial0) ...
Setting up python-geonode-avatar (2.1.5-1~xenial0) ...
Setting up python-gisdata (0.5.4-1~xenial0) ...
Setting up python-gsconfig (1.0.3-1~xenial0) ...
Setting up python-paver (1.2.1-1.1) ...
Setting up python-geonode-user-messages (0.1.3-1~xenial0) ...
Setting up python-geonode-announcements (1.0.6-1~xenial0) ...
Setting up python-pinax-theme-bootstrap (3.0a11-1~xenial0) ...
Setting up python-pinax-theme-bootstrap-account (1.0b2-1~xenial0) ...
Setting up python-multipartposthandler (0.1.0-2) ...
Setting up python-mimeparse (0.1.4-1build1) ...
Setting up python-tastypie (0.9.15-1~xenial0) ...
Setting up python-gsimporter (0.1-1~xenial0) ...
Setting up python-geonode-arcrest (10.2-1~xenial0) ...
Setting up python-geonode (2.4-0~xenial0) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
127.0.0.1 geonode
Deploying geonode demonstration instance
Done
create geonode database with PostGIS
CREATE EXTENSION
Done
patching settings files
Done
Configuring GeoNode
Not enabling BingMaps base layer as a BING_API_KEY is not defined in
local_settings.py file.
Traceback (most recent call last):
File "/usr/bin/django-admin", line 5, in <module>
management.execute_from_command_line()
File "/usr/lib/python2.7/dist-
packages/django/core/management/__init__.py", line 399, in
execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/dist-
packages/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py",
line 242, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py",
line 284, in execute
self.validate()
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py",
line 310, in validate
num_errors = get_validation_errors(s, app)
File "/usr/lib/python2.7/dist-
packages/django/core/management/validation.py", line 34, in
get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py",
line 196, in get_app_errors
self._populate()
File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py",
line 75, in _populate
self.load_app(app_name, True)
File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py",
line 99, in load_app
models = import_module('%s.models' % app_name)
File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line
40, in import_module
__import__(name)
File "/usr/lib/python2.7/dist-packages/mptt/models.py", line 15, in
<module>
from mptt.managers import TreeManager
File "/usr/lib/python2.7/dist-packages/mptt/managers.py", line 63, in
<module>
class TreeManager(models.Manager.from_queryset(TreeQuerySet)):
AttributeError: type object 'Manager' has no attribute 'from_queryset'
Not enabling BingMaps base layer as a BING_API_KEY is not defined in
local_settings.py file.
Traceback (most recent call last):
File "/usr/bin/django-admin", line 5, in <module>
management.execute_from_command_line()
File "/usr/lib/python2.7/dist-
packages/django/core/management/__init__.py", line 399, in
execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/dist-
packages/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/dist-
packages/django/core/management/__init__.py", line 272, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/usr/lib/python2.7/dist-
packages/django/core/management/__init__.py", line 76, in
load_command_class
return module.Command()
File "/usr/lib/python2.7/dist-
packages/django/contrib/auth/management/commands/createsuperuser.py", line
26, in __init__
self.UserModel = get_user_model()
File "/usr/lib/python2.7/dist-packages/django/contrib/auth/__init__.py",
line 127, in get_user_model
user_model = get_model(app_label, model_name)
File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py",
line 271, in get_model
self._populate()
File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py",
line 75, in _populate
self.load_app(app_name, True)
File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py",
line 99, in load_app
models = import_module('%s.models' % app_name)
File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line
40, in import_module
__import__(name)
File "/usr/lib/python2.7/dist-packages/mptt/models.py", line 15, in
<module>
from mptt.managers import TreeManager
File "/usr/lib/python2.7/dist-packages/mptt/managers.py", line 63, in
<module>
class TreeManager(models.Manager.from_queryset(TreeQuerySet)):
AttributeError: type object 'Manager' has no attribute 'from_queryset'
Not enabling BingMaps base layer as a BING_API_KEY is not defined in
local_settings.py file.
Traceback (most recent call last):
File "/usr/bin/django-admin", line 5, in <module>
management.execute_from_command_line()
File "/usr/lib/python2.7/dist-
packages/django/core/management/__init__.py", line 399, in
execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/dist-
packages/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py",
line 242, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py",
line 284, in execute
self.validate()
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py",
line 310, in validate
num_errors = get_validation_errors(s, app)
File "/usr/lib/python2.7/dist-
packages/django/core/management/validation.py", line 34, in
get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py",
line 196, in get_app_errors
self._populate()
File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py",
line 75, in _populate
self.load_app(app_name, True)
File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py",
line 99, in load_app
models = import_module('%s.models' % app_name)
File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line
40, in import_module
__import__(name)
File "/usr/lib/python2.7/dist-packages/mptt/models.py", line 15, in
<module>
from mptt.managers import TreeManager
File "/usr/lib/python2.7/dist-packages/mptt/managers.py", line 63, in
<module>
class TreeManager(models.Manager.from_queryset(TreeQuerySet)):
AttributeError: type object 'Manager' has no attribute 'from_queryset'
Not enabling BingMaps base layer as a BING_API_KEY is not defined in
local_settings.py file.
Done
}}}
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1722#comment:3>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Live-demo
mailing list