-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem with running geonode setup_data #1230
Comments
Hi you have to have geoserver running. Cheers 2013/10/15 Prabha notifications@github.com
Simone |
Closing as not valid |
Please help.After running paver setup command i get the following error.I am running this within a virtual environment: Captured Task Output:---> pavement.setup Build failed running pavement.setup: Subprocess return code: 1 |
Hi
which way did you install GeoNode?
The problem here is that GDAL Python bindings are missing.
Please use geonode users list to request help on problems like this (which
may be related to your unique specific setup), thanks.
…On Wed, Jan 3, 2018 at 7:58 PM, Raina Lopes ***@***.***> wrote:
Please help.After running paver setup command i get the following error.I
am running this within a virtual environment:
---> pavement.setup
---> pavement.setup_geoserver
makedirs path('downloaded')
Downloading geoserver binary
Downloading jetty runner
makedirs path('geoserver')
extracting geoserver
---> pavement.setup_qgis_server
---> pavement.updategeoip
python manage.py updategeoip -o
Traceback (most recent call last):
File "manage.py", line 29, in
execute_from_command_line(sys.argv)
File "/home/raina/Desktop/env/lib/python2.7/site-packages/
django/core/management/*init*.py", line 354, in execute_from_command_line
utility.execute()
File "/home/raina/Desktop/env/lib/python2.7/site-packages/
django/core/management/*init*.py", line 328, in execute
django.setup()
File "/home/raina/Desktop/env/lib/python2.7/site-packages/django/*init*.py",
line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/raina/Desktop/env/lib/python2.7/site-packages/django/apps/registry.py",
line 85, in populate
app_config = AppConfig.create(entry)
File "/home/raina/Desktop/env/lib/python2.7/site-packages/django/apps/config.py",
line 112, in create
mod = import_module(mod_path)
File "/home/raina/anaconda2/lib/python2.7/importlib/*init*.py", line 37,
in import_module
*import*(name)
File "/home/raina/Desktop/geonode/geonode/services/apps.py", line 25, in
from ..layers.models import Layer
File "/home/raina/Desktop/geonode/geonode/layers/models.py", line 34, in
from geonode.base.models import ResourceBase, ResourceBaseManager,
resourcebase_post_save
File "/home/raina/Desktop/geonode/geonode/base/models.py", line 32, in
from geonode.decorators import on_ogc_backend
File "/home/raina/Desktop/geonode/geonode/decorators.py", line 24, in
from geonode.utils import check_ogc_backend
File "/home/raina/Desktop/geonode/geonode/utils.py", line 33, in
from osgeo import ogr
ImportError: No module named osgeo
Captured Task Output:
---> pavement.setup
---> pavement.setup_geoserver
makedirs path('downloaded')
makedirs path('geoserver')
---> pavement.setup_qgis_server
---> pavement.updategeoip
python manage.py updategeoip -o
Build failed running pavement.setup: Subprocess return code: 1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1230 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAJDnC8z9luQQBzwI4gUWaD6CuFjAePdks5tG83OgaJpZM4BGNwF>
.
--
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti
|
I am installing geonode on a virtual environment. |
Yours is a correct explanation. Find out which gdal version you have (for example, gdalinfo --version) and then use same version to install gdal with pip: pip install gdal==yourversion |
I am using Ubuntu 16.04.I have gdal version 2.2.2 installed in my system. |
Hi, when i run paver setup i get the following error ---> pavement.setup Captured Task Output:---> pavement.setup Build failed running pavement.setup: Subprocess return code: 1geonode 3.1.x , ubuntu 20.04 , the geoserver is runnig |
When I run geoserver using the following command, it runs perfectly:
paver setup
paver start
However, when I try to run using testdata with the following command:
paver setup_data
It gives the following error error:
---> pavement.setup_data
python manage.py importlayers /home/prabha/.venvs/geonode/local/lib/python2.7/site-packages/gisdata/data/good -v2
Verifying that GeoNode is running ...
AssertionError: Cannot connect to the GeoServer at http://localhost:8080/geoserver/
Please make sure you have started it.
.
.
Build failed running pavement.setup_data: Subprocess return code: 1
Why is it giving error to verify if Geonode is running already? Shouldn't the "setup" be run before "start"? Is there some obvious knowledge I am missing here?
The text was updated successfully, but these errors were encountered: