Hello
I tried to install Cartoview, but without success. Ubuntu 14.04 + Geonode 2.5.x
Any ideas?
Thanks for your attention
root@IDE:/home/geonode/geonode/cartoview# sudo python manage.py makemigrations app_manager
System check identified some issues:
WARNINGS:
app_manager.App.tags: (fields.W340) null has no effect on ManyToManyField.
Migrations for 'base':
0006_auto_20170110_1523.py:
- Alter field keywords on resourcebase
Migrations for 'app_manager':
0001_initial.py:
- Create model App
- Create model AppInstance
- Create model AppTag
- Add field tags to app
root@IDE:/home/geonode/geonode/cartoview# sudo python manage.py migrate
System check identified some issues:
WARNINGS:
app_manager.App.tags: (fields.W340) null has no effect on ManyToManyField.
Operations to perform:
Synchronize unmigrated apps: tasks, modeltranslation, django_extensions, polymorphic, user_engage, cartoview, gis, pinax_theme_bootstrap_account, django_forms_bootstrap, catalogue, humanize, geoserver, storages, mptt, friendlytagloader, staticfiles, geoexplorer, sitemaps, proxy, pinax_theme_bootstrap, pagination, autocomplete_light, messages, leaflet, api, social, security, overextends
Apply all migrations: dialogos, people, tastypie, app_manager, agon_ratings, documents, actstream, sites, maps, contenttypes, announcements, user_messages, layers, sessions, guardian, auth, base, groups, services, account, admin, djcelery, upload, avatar, taggit
Synchronizing apps without migrations:
Creating tables...
Creating table user_engage_comment
Creating table user_engage_rating
Creating table user_engage_image
Running deferred SQL...
Installing custom SQL...
Running migrations:
Rendering model states... DONE
Applying sites.0001_initial... OK
Applying contenttypes.0001_initial... OK
Applying taggit.0001_initial... OK
Applying taggit.0002_auto_20150616_2121... OK
Applying contenttypes.0002_remove_content_type_name... OK
Applying auth.0001_initial... OK
Applying auth.0002_alter_permission_name_max_length... OK
Applying auth.0003_alter_user_email_max_length... OK
Applying auth.0004_alter_user_username_opts... OK
Applying auth.0005_alter_user_last_login_null... OK
Applying auth.0006_require_contenttypes_0002... OK
Applying people.0001_initial... OK
Applying account.0001_initial... OK
Applying account.0002_fix_emailconfirmation_created... OK
Applying account.0003_auto_20160822_0917... OK
Applying actstream.0001_initial... OK
Applying actstream.0002_remove_action_data... OK
Applying admin.0001_initial... OK
Applying agon_ratings.0001_initial... OK
Applying announcements.0001_initial... OK
Applying base.0001_initial... OK
Applying maps.0001_initial... OK
Applying base.0002_topiccategory_fa_class... OK
Applying base.0003_auto_20160821_1919... OK
Applying base.0004_auto_20160824_0245... OK
Applying base.0005_auto_20160825_0400... OK
Applying base.0006_auto_20170110_1523... OK
Applying app_manager.0001_initial... OK
Applying avatar.0001_initial... OK
Applying dialogos.0001_initial... OK
Applying djcelery.0001_initial... OK
Applying documents.0001_initial... OK
Applying groups.0001_initial... OK
Applying guardian.0001_initial... OK
Applying layers.0001_initial... OK
Applying services.0001_initial... OK
Applying layers.0002_initial_step2... OK
Applying layers.0003_auto_20160821_1919... OK
Applying people.0002_auto_20160821_1919... OK
Applying people.0003_auto_20160824_0245... OK
Applying services.0002_auto_20160821_1919... OK
Applying services.0003_auto_20160824_0245... OK
Applying sessions.0001_initial... OK
Applying tastypie.0001_initial... OK
Applying upload.0001_initial... OK
Applying user_messages.0001_initial... OK
root@IDE:/home/geonode/geonode/cartoview# sudo python manage.py runserver
Performing system checks...
System check identified some issues:
WARNINGS:
app_manager.App.tags: (fields.W340) null has no effect on ManyToManyField.
System check identified 1 issue (0 silenced).
January 10, 2017 - 15:27:55
Django version 1.8.17, using settings 'cartoview.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
Invalid HTTP_HOST header: '127.0.0.1:8000'. You may need to add u'127.0.0.1' to ALLOWED_HOSTS.
Traceback (most recent call last):
File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File "/usr/local/lib/python2.7/dist-packages/django/contrib/staticfiles/handlers.py", line 63, in call
return self.application(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 189, in call
response = self.get_response(request)
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 207, in get_response
return debug.technical_500_response(request, *sys.exc_info(), status_code=400)
File "/usr/local/lib/python2.7/dist-packages/django/views/debug.py", line 97, in technical_500_response
html = reporter.get_traceback_html()
File "/usr/local/lib/python2.7/dist-packages/django/views/debug.py", line 384, in get_traceback_html
return t.render(c)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 210, in render
return self._render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 202, in _render
return self.nodelist.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 905, in render
bit = self.render_node(node, context)
File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 79, in render_node
return node.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 329, in render
return nodelist.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 905, in render
bit = self.render_node(node, context)
File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 79, in render_node
return node.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 89, in render
output = self.filter_expression.resolve(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 648, in resolve
obj = self.var.resolve(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 789, in resolve
value = self._resolve_lookup(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 849, in _resolve_lookup
current = current()
File "/usr/local/lib/python2.7/dist-packages/django/http/request.py", line 152, in build_absolute_uri
host=self.get_host(),
File "/usr/local/lib/python2.7/dist-packages/django/http/request.py", line 102, in get_host
raise DisallowedHost(msg)
DisallowedHost: Invalid HTTP_HOST header: '127.0.0.1:8000'. You may need to add u'127.0.0.1' to ALLOWED_HOSTS.
[10/Jan/2017 15:28:10] "GET / HTTP/1.0" 500 59