Giter Club home page Giter Club logo

Comments (42)

hishamkaram avatar hishamkaram commented on July 2, 2024 1

please be sure which version you are using with cartoview , from screenshot you are not using virtualenv for cartoview setup as in docs please don't skip any step

from cartoview.

hishamkaram avatar hishamkaram commented on July 2, 2024

Hello @izelvor
please install geonode with this command pip install geonode
and follow the steps here
or by using docker from here

from cartoview.

 avatar commented on July 2, 2024

Hello,
Thank you for your answer but I can not install cartoview.
Here are the commands I used to try to install geonode. Can you tell me what I did wrong and why I can not install the software, please?

  • Python 2.7:
    sudo apt-get install build-essential checkinstall
    sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
    cd /usr/src
    wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tgz
    tar xzf Python-2.7.13.tgz
    cd Python-2.7.13
    sudo ./configure
    sudo make altinstall
  • pip-python
    sudo apt-get update
    sudo apt-get upgrade
    apt-get -y install python-pip
  • Django 1.8.17
    pip install django==1.8.17
  • geonode 2.5.15
    pip install geonode

I have this error :
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/psycopg2
Storing debug log for failure in /home/izelvor/.pip/pip.log

What I have to do to finalize the installation without error ?

from cartoview.

hishamkaram avatar hishamkaram commented on July 2, 2024

you need to install some libraries with this command
sudo apt-get install python-virtualenv python-dev libxml2 libxml2-dev libxslt1-dev zlib1g-dev libjpeg-dev libpq-dev libgdal-dev git default-jdk
then follow steps in my previous comment

from cartoview.

 avatar commented on July 2, 2024

Thank you very much, I was able to install geonode with your command line.
But I wanted to continue the installation of cartoview by following the instructions in this link.

  • pip install cartoview -> ok
  • django-admin.py startproject --template=https://github.com/cartologic/cartoview-project-template/archive/master.zip --name django.env,uwsgi.ini,.bowerrc cartoweb -> ok
  • cd cartoweb -> ok
  • 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 108, in populate
    app_config.import_models(all_models)
    File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 198, in import_models
    self.models_module = import_module(models_module_name)
    File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
    import(name)
    File "/usr/local/lib/python2.7/dist-packages/geonode/base/models.py", line 56, in
    from geonode.utils import bbox_to_wkt
    File "/usr/local/lib/python2.7/dist-packages/geonode/utils.py", line 30, in
    from osgeo import ogr
    ImportError: No module named osgeo

I would like to know if it's correct this error and if I can continue with the next command : python manage.py migrate people

Thank you in advance for your help

from cartoview.

 avatar commented on July 2, 2024

Hello,
I installed Geonode 2.5.15 on ubuntu 14.04.
Everything seemed to be okay, but, when I try to UPLOAD a GeoTIFF or a Shape File on the Geonode Website, I'm getting the following error message:
"[Errno 111] Connection refused". Has anyone ever got an "Errno 111" on Geonode?
Sincerely,

from cartoview.

hishamkaram avatar hishamkaram commented on July 2, 2024

Configure Geoserver before uploading layers from here

from cartoview.

 avatar commented on July 2, 2024

What is the address to connect to geoserver? I tried with this address localhost:8080/geoserver, but the page does not exist and I can not connect. How do I know if geoserver has been installed? What is the python command to start geoserver?
Sincerly

from cartoview.

hishamkaram avatar hishamkaram commented on July 2, 2024

(option 1): in geonode folder type : paver start_geoservre
(option 2):install tomcat on ubuntu then download geoserver war file from here and rename downloaded file to geoserver.war and cp it to webapps folder in tomcat home

from cartoview.

 avatar commented on July 2, 2024

Thank you,
Which version of tomcat should I install on ubuntu 14.04?
How to install tomcat and java 8 for geoserver 2.9?
Do I have to install after PostGIS?
Sincerly

from cartoview.

hishamkaram avatar hishamkaram commented on July 2, 2024

from cartoview.

 avatar commented on July 2, 2024

Hello,
I have installed tomcat 8 with java 8. I must now test the application to see if everything is properly installed.
Which version of postgresql / postgis should I install for the next step?
Looking at this page, there are different packages to install? Do I have to install other packages from this list?
Thank you again for your help.

from cartoview.

hishamkaram avatar hishamkaram commented on July 2, 2024
  • postgres 9.5 , postgis 2.2 required
  • for ubuntu 16.04 you can install these packages to compile required python libraries using this command
    sudo apt-get install python-virtualenv python-dev libxml2 libxml2-dev libxslt1-dev zlib1g-dev libjpeg-dev libpq-dev libgdal-dev git default-jdk python-gdal -y

note : you can find required packages in our docker file(cartoview docker image based on ubuntu 16.04 so you can install the same packages) from here

from cartoview.

 avatar commented on July 2, 2024

Thank you for your reply.
I will try with Ubuntu 16.04
Sincerly

from cartoview.

hishamkaram avatar hishamkaram commented on July 2, 2024

you can continue with ubuntu 14.04
for ubuntu 14.04 you can install these packages to compile required python libraries using these commands:

  • sudo apt-get install python-virtualenv python-dev libxml2 libxml2-dev libxslt1-dev zlib1g-dev libjpeg-dev libpq-dev libgdal-dev git default-jdk -y
  • pip install pygdal==1.10.1

from cartoview.

 avatar commented on July 2, 2024

What do I need to finalize the installation, please ?
Sincerly

from cartoview.

NicholasDsouza1996 avatar NicholasDsouza1996 commented on July 2, 2024

img-20170827-wa0007

Please can u help me with this error

from cartoview.

hishamkaram avatar hishamkaram commented on July 2, 2024

please install latest version of cartoview using this command:
pip install cartoview -U --no-cache-dir
you can install cartoview by following steps in the docs

from cartoview.

NicholasDsouza1996 avatar NicholasDsouza1996 commented on July 2, 2024

![screenshot from 2017-08-27 15-21-08](https://user-images.githubusercontent.com/20857536/29748815-59733b12-8b0d-11e7-9146-08be4e4582

Just tried it but doesnt seem to work

from cartoview.

hishamkaram avatar hishamkaram commented on July 2, 2024

did you followed the steps in the docs ??

from cartoview.

NicholasDsouza1996 avatar NicholasDsouza1996 commented on July 2, 2024

yes

from cartoview.

NicholasDsouza1996 avatar NicholasDsouza1996 commented on July 2, 2024

yes

from cartoview.

hishamkaram avatar hishamkaram commented on July 2, 2024

is this is your local machine or remote one?

from cartoview.

NicholasDsouza1996 avatar NicholasDsouza1996 commented on July 2, 2024

local machine

from cartoview.

hishamkaram avatar hishamkaram commented on July 2, 2024

ok please can you provide me with your local_settings.py

from cartoview.

hishamkaram avatar hishamkaram commented on July 2, 2024

and python version??

from cartoview.

NicholasDsouza1996 avatar NicholasDsouza1996 commented on July 2, 2024

please can u tell me where can i find local_settings.py file?

from cartoview.

NicholasDsouza1996 avatar NicholasDsouza1996 commented on July 2, 2024

Python version is 3.5.2

from cartoview.

hishamkaram avatar hishamkaram commented on July 2, 2024

okay we are using python 2.7

Installation Requirements¶

Install Python2.7

Install Django

please read the docs carefully
or use docker to avoid these errors

from cartoview.

NicholasDsouza1996 avatar NicholasDsouza1996 commented on July 2, 2024

i also have already installed python 2.7.12

from cartoview.

NicholasDsouza1996 avatar NicholasDsouza1996 commented on July 2, 2024

i also have already installed python 2.7.12

from cartoview.

NicholasDsouza1996 avatar NicholasDsouza1996 commented on July 2, 2024

ok thankyou. I just rechecked and i installed the virtualenv and stuff. Now the previous error which i got has vanished and ive got a more concise error

from cartoview.

NicholasDsouza1996 avatar NicholasDsouza1996 commented on July 2, 2024

carto

from cartoview.

NicholasDsouza1996 avatar NicholasDsouza1996 commented on July 2, 2024

Can someone please help me?

from cartoview.

hishamkaram avatar hishamkaram commented on July 2, 2024

please install geonode using this command:
pip install geonode

from cartoview.

NicholasDsouza1996 avatar NicholasDsouza1996 commented on July 2, 2024

Thankou very much for the help you have given me so far hishamkaram.

from cartoview.

hishamkaram avatar hishamkaram commented on July 2, 2024

you are welcome @NicholasDsouza1996

from cartoview.

NicholasDsouza1996 avatar NicholasDsouza1996 commented on July 2, 2024

can u please solve this problem

from cartoview.

hishamkaram avatar hishamkaram commented on July 2, 2024

install geonode package : it will solve the problem
pip install geonode

from cartoview.

NicholasDsouza1996 avatar NicholasDsouza1996 commented on July 2, 2024

Thankyou very much Hishamkaram looks like after reinstalling geonode and cartoview my problem is solved.

from cartoview.

NicholasDsouza1996 avatar NicholasDsouza1996 commented on July 2, 2024

I have a question i typed: python manage.py makemigrations app_manager

Output:
System check identified some issues:

WARNINGS:
base.ResourceBase.tkeywords: (fields.W340) null has no effect on ManyToManyField.
No changes detected in app 'app_manager'

What should i do?

from cartoview.

NicholasDsouza1996 avatar NicholasDsouza1996 commented on July 2, 2024

ive completed it. Thanks a ton.

from cartoview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.