cartologic / cartoview

Cartoview is a web platform that extends the popular GeoNode SDI to provide the ability to create, share, and visualize GIS Web Mapping Applications easily and quickly from the browser. Cartoview Provides an Appstore for GIS Developers.
https://cartoview.net
BSD 2-Clause "Simplified" License
77 stars 38 forks source link

Error Install Cartoview Geonode 2.5.15 + Ubuntu 14.04 #13

Closed diegojpadron closed 7 years ago

diegojpadron commented 7 years ago

Hello,

I try to install Cartoview in Ubuntu 14.04 + Geonode 2.5.15+ Django 1.8.17

An error is encountered while executing: python manage.py makemigrations app_manager

Any ideas?

root@ide:/home/geonode/geonode/idesca/idesca# bower install --allow-root bower ol3#^3.18.2 cached https://github.com/baasgeo/ol3-bower.git#3.18.2 bower ol3#^3.18.2 validate 3.18.2 against https://github.com/baasgeo/ol3-bower.git#^3.18.2 bower angular#1.5.9 cached https://github.com/angular/bower-angular.git#1.5.9 bower angular#1.5.9 validate 1.5.9 against https://github.com/angular/bower-angular.git#1.5.9 bower angular-messages#1.5.9 cached https://github.com/angular/bower-angular-messages.git#1.5.9 bower angular-messages#1.5.9 validate 1.5.9 against https://github.com/angular/bower-angular-messages.git#1.5.9 bower angular-aria#1.5.9 cached https://github.com/angular/bower-angular-aria.git#1.5.9 bower angular-aria#1.5.9 validate 1.5.9 against https://github.com/angular/bower-angular-aria.git#1.5.9 bower angular-animate#1.5.9 cached https://github.com/angular/bower-angular-animate.git#1.5.9 bower angular-animate#1.5.9 validate 1.5.9 against https://github.com/angular/bower-angular-animate.git#1.5.9 bower angular-material#^1.1.1 cached https://github.com/angular/bower-material.git#1.1.3 bower angular-material#^1.1.1 validate 1.1.3 against https://github.com/angular/bower-material.git#^1.1.1 bower angular-resource#1.5.9 cached https://github.com/angular/bower-angular-resource.git#1.5.9 bower angular-resource#1.5.9 validate 1.5.9 against https://github.com/angular/bower-angular-resource.git#1.5.9 bower angular-resource-tastypie#^1.0.4 cached https://github.com/mw-ferretti/angular-resource-tastypie.git#1.0.4 bower angular-resource-tastypie#^1.0.4 validate 1.0.4 against https://github.com/mw-ferretti/angular-resource-tastypie.git#^1.0.4 bower angular-bootstrap#^2.4.0 cached https://github.com/angular-ui/bootstrap-bower.git#2.5.0 bower angular-bootstrap#^2.4.0 validate 2.5.0 against https://github.com/angular-ui/bootstrap-bower.git#^2.4.0 bower angular-drag-and-drop-lists#^2.1.0 cached https://github.com/marceljuenemann/angular-drag-and-drop-lists.git#2.1.0 bower angular-drag-and-drop-lists#^2.1.0 validate 2.1.0 against https://github.com/marceljuenemann/angular-drag-and-drop-lists.git#^2.1.0 bower ng-image-appear#^1.11.3 cached https://github.com/ArunMichaelDsouza/ng-image-appear.git#1.11.3 bower ng-image-appear#^1.11.3 validate 1.11.3 against https://github.com/ArunMichaelDsouza/ng-image-appear.git#^1.11.3 bower lf-ng-md-file-input#^1.5.1 cached https://github.com/shuyu/angular-material-fileinput.git#1.5.1 bower lf-ng-md-file-input#^1.5.1 validate 1.5.1 against https://github.com/shuyu/angular-material-fileinput.git#^1.5.1 bower normalize-css#^5.0.0 cached https://github.com/necolas/normalize.css.git#5.0.0 bower normalize-css#^5.0.0 validate 5.0.0 against https://github.com/necolas/normalize.css.git#^5.0.0 bower ol3#^3.18.2 install ol3#3.18.2 bower angular-messages#1.5.9 install angular-messages#1.5.9 bower angular-material#^1.1.1 install angular-material#1.1.3 bower angular-aria#1.5.9 install angular-aria#1.5.9 bower angular#1.5.9 install angular#1.5.9 bower angular-animate#1.5.9 install angular-animate#1.5.9 bower angular-drag-and-drop-lists#^2.1.0 install angular-drag-and-drop-lists#2.1.0 bower angular-bootstrap#^2.4.0 install angular-bootstrap#2.5.0 bower angular-resource-tastypie#^1.0.4 install angular-resource-tastypie#1.0.4 bower ng-image-appear#^1.11.3 install ng-image-appear#1.11.3 bower angular-resource#1.5.9 install angular-resource#1.5.9 bower normalize-css#^5.0.0 install normalize-css#5.0.0 bower lf-ng-md-file-input#^1.5.1 install lf-ng-md-file-input#1.5.1

ol3#3.18.2 static/vendor/ol3

angular-messages#1.5.9 static/vendor/angular-messages âââ angular#1.5.9

angular-material#1.1.3 static/vendor/angular-material âââ angular#1.5.9 âââ angular-animate#1.5.9 âââ angular-aria#1.5.9 âââ angular-messages#1.5.9

angular-aria#1.5.9 static/vendor/angular-aria âââ angular#1.5.9

angular#1.5.9 static/vendor/angular

angular-animate#1.5.9 static/vendor/angular-animate âââ angular#1.5.9

angular-drag-and-drop-lists#2.1.0 static/vendor/angular-drag-and-drop-lists

angular-bootstrap#2.5.0 static/vendor/angular-bootstrap âââ angular#1.5.9

angular-resource-tastypie#1.0.4 static/vendor/angular-resource-tastypie âââ angular#1.5.9 âââ angular-resource#1.5.9

ng-image-appear#1.11.3 static/vendor/ng-image-appear

angular-resource#1.5.9 static/vendor/angular-resource âââ angular#1.5.9

normalize-css#5.0.0 static/vendor/normalize-css

lf-ng-md-file-input#1.5.1 static/vendor/lf-ng-md-file-input âââ angular-material#1.1.3


root@ide:/home/geonode/geonode/idesca# python manage.py makemigrations app_manager Traceback (most recent call last): File "manage.py", line 10, in execute_from_command_line(sys.argv) File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 354, in execute_from_command_line utility.execute() File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 328, in execute django.setup() File "/usr/local/lib/python2.7/dist-packages/django/init.py", line 18, in setup apps.populate(settings.INSTALLED_APPS) File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 85, in populate app_config = AppConfig.create(entry) File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 86, in create module = import_module(entry) File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module import(name) ImportError: No module named geonode-client

hishamkaram commented 7 years ago

Hello @dpadron2 Solution one (better for this case): this error because django-geonode-client not installed. you can install it usingpip install django-geonode-client after this retry python manage.py makemigrations app_manager. Solution two : upgrade cartoview using this command pip install cartoview -U and follow steps in docs

diegojpadron commented 7 years ago

Thank you very much for your answer, Hishamkaram

Now it's working at http://204.12.225.85:8000

Now I need help installing the Apps

Thanks for your help

hishamkaram commented 7 years ago

Hello @dpadron2 I am Happy to hear from you. I can see that you configured cartoview correctly But geoserver not configured well . So apps won't work correctly.

or Follow this guide to install the new version without any errors

diegojpadron commented 7 years ago

Hello Hisham,

I have reinstalled everything, I have NOT even installed cartoview.

Following your advice, I configured Geoserver, but I have a problem that I can not solve.

I installed Geonode 2.5.15 + Ubuntu 14.4 + Geoserver-2.9.x-oauth2

Uploading a layer generates the following error:

Tried to make a GET request to http://localhost:8080/geoserver/rest/workspaces/default.xml but got a 404 status code: No such workspace: default

http://204.12.225.85/

User: demo Password: demo123

Anyone have any idea of the origin of this error?

Thanks for your attention.

Diego Padron