Giter Club home page Giter Club logo

Comments (15)

kamalseisy avatar kamalseisy commented on July 20, 2024

Hello
just clone cartoview and edit the local_settings.py then run using the same python environment that runs geonode

from cartoview.

diegojpadron avatar diegojpadron commented on July 20, 2024

Hi Kamalseisy

The following error is still generated:

I am doing the following:

1.- apt-get install geonode

2.- I am located in the /usr/local/lib/python2.7/dist-packages/geonode/cartoview directory

3.- In directory /cartoview/ execute: mv local_setting_sample.py local_setting.py

4.- I execute python setup.py install

5.- Installed /usr/local/lib/python2.7/dist-packages/cartoview-0.2-py2.7.egg
Processing dependencies for cartoview == 0.2
Error: Installed distribution OWSLib 0.10.0 conflicts with requirement OWSLib <0.9.0

It may indicate that I am doing wrong.

I appreciate your help

from cartoview.

kamalseisy avatar kamalseisy commented on July 20, 2024

Hi Diego,

You don't need to run setup.py as you installed geonode. just run the following
cd geonode
paver start_geosever
cd cartoview
python manage.py runserver

Regards

from cartoview.

diegojpadron avatar diegojpadron commented on July 20, 2024

from cartoview.

ahmednoureldeen avatar ahmednoureldeen commented on July 20, 2024

Hi Diego,

to install Geonode on Ubunu 14.04 just follow this instructions
kindly verify that Geonode installation is working by the following commands:

cd <geonode_folder>
python manage.py validate

To install Cartoview follow these commands:
git clone https://github.com/cartologic/cartoview.git

there is no specific path to clone Cartoview

sudo pip install south
sudo pip install django-cors-headers==1.1.0
sudo pip install django-bootstrap3==6.2.2

cd cartoview 
python manage.py syncdb --all
python manage.py runserver

I hope this helps,

from cartoview.

diegojpadron avatar diegojpadron commented on July 20, 2024

Hi

A new error has been generated

I'm using django 1.8.2

root@IDE:/home/geonode/geonode/cartoview# python manage.py syncdb --all
Traceback (most recent call last):
File "manage.py", line 11, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 338, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 312, 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)
File "/usr/local/lib/python2.7/dist-packages/polymorphic/init.py", line 11, in
from .polymorphic_model import PolymorphicModel
File "/usr/local/lib/python2.7/dist-packages/polymorphic/polymorphic_model.py", line 22, in
from .base import PolymorphicModelBase
File "/usr/local/lib/python2.7/dist-packages/polymorphic/base.py", line 15, in
from .manager import PolymorphicManager
File "/usr/local/lib/python2.7/dist-packages/polymorphic/manager.py", line 8, in
from polymorphic.query import PolymorphicQuerySet
File "/usr/local/lib/python2.7/dist-packages/polymorphic/query.py", line 13, in
from .query_translate import translate_polymorphic_filter_definitions_in_kwargs, translate_polymorphic_filter_definitions_in_args
File "/usr/local/lib/python2.7/dist-packages/polymorphic/query_translate.py", line 10, in
from django.db.models.related import RelatedObject
ImportError: No module named related

from cartoview.

ahmednoureldeen avatar ahmednoureldeen commented on July 20, 2024

Hi,

Geonode 2.4 is not working on django 1.8.2
It supports django 1.6.11 and so cartoview untill 2 days ago .
now cartoview supports geonode 2.5 which is support django 1.8.2, so make sure to use compatible packages.

from cartoview.

diegojpadron avatar diegojpadron commented on July 20, 2024

Hello

I followed the instructions and followed these errors:

root@IDE:/home/geonode/geonode/cartoview# python manage.py syncdb --all
Usage: manage.py syncdb [options]

Create the database tables for all apps in INSTALLED_APPS whose tables haven't already been created.

manage.py: error: no such option: --all


root@IDE:/home/geonode/geonode/cartoview# paver sync
---> pavement.sync
python manage.py syncdb --noinput
Traceback (most recent call last):
File "manage.py", line 11, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 399, in execute_from_command_line
utility.execute()
File "/usr/local/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/local/lib/python2.7/dist-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(*args, **options.dict)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 280, in execute
translation.activate('en-us')
File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/init.py", line 130, in activate
return _trans.activate(language)
File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 188, in activate
_active.value = translation(language)
File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 177, in translation
default_translation = _fetch(settings.LANGUAGE_CODE)
File "/usr/local/lib/python2.7/dist-packages/django/utils/translation/trans_real.py", line 159, in _fetch
app = import_module(appname)
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
import(name)
ImportError: No module named storages

Captured Task Output:

---> pavement.sync
python manage.py syncdb --noinput

Build failed running pavement.sync: Subprocess return code: 1


Some help? I do not know what to try, I can not get cartoview installed

Install Geonode on Ubuntu 14.04

I await your response and thank you for the attention

from cartoview.

diegojpadron avatar diegojpadron commented on July 20, 2024

Hello
I have tested with Ubuntu 14.04 + Geonode 2.5.

Another error is generated:

python manage.py syncdb --noinput
System check identified some issues:

WARNINGS:
app_manager.App.tags: (fields.W340) null has no effect on ManyToManyField.
There is no South database module 'south.db.sqlite3' for your database. Please either choose a supported database, check for SOUTH_DATABASE_ADAPTER[S] settings, or remove South from INSTALLED_APPS.

Some help

Thank you

from cartoview.

ahmednoureldeen avatar ahmednoureldeen commented on July 20, 2024

just remove South from the installed apps it is built into the core of Django from 1.7 upwards.

from cartoview.

diegojpadron avatar diegojpadron commented on July 20, 2024

Hi other error

python manage.py syncdb
System check identified some issues:

WARNINGS:
app_manager.App.tags: (fields.W340) null has no effect on ManyToManyField.
Traceback (most recent call last):
File "manage.py", line 11, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 338, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 330, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 390, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 441, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py", line 25, in handle
call_command("migrate", **options)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 120, in call_command
return command.execute(*args, **defaults)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 441, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/migrate.py", line 93, in handle
executor = MigrationExecutor(connection, self.migration_progress_callback)
File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 19, in init
self.loader = MigrationLoader(self.connection)
File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 47, in init
self.build_graph()
File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 294, in build_graph
_reraise_missing_dependency(migration, parent, e)
File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 264, in _reraise_missing_dependency
raise exc
django.db.migrations.graph.NodeNotFoundError: Migration app_manager.0001_initial dependencies reference nonexistent parent node (u'base', u'0007_auto_20160915_0944')

from cartoview.

diegojpadron avatar diegojpadron commented on July 20, 2024

Other Error in Ubuntu 14.04 + Geonode 2.5 + Django 1.8.1

paver sync
---> pavement.sync
python manage.py syncdb --noinput
Operations to perform:
Synchronize unmigrated apps: tasks, modeltranslation, django_extensions, djcelery, polymorphic, treebeard, 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
Apply all migrations: dialogos, people, tastypie, agon_ratings, documents, actstream, sites, maps, contenttypes, announcements, user_messages, layers, sessions, guardian, auth, base, groups, services, account, admin, upload, avatar, taggit
Synchronizing apps without migrations:
Creating tables...
Running deferred SQL...
Installing custom SQL...
Running migrations:
No migrations to apply.
Your models have changes that are not yet reflected in a migration, and so won't be applied.
Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
python manage.py loaddata sample_admin.json
Installed 1 object(s) from 1 fixture(s)

from cartoview.

ahmednoureldeen avatar ahmednoureldeen commented on July 20, 2024

your last message has no error??
just runserver..

if you still have unmigrated models .. clear your db and run paver sync only.

from cartoview.

diegojpadron avatar diegojpadron commented on July 20, 2024

Hello Ahmed,

I appreciate your answers but I do not advance :-(

Unfortunately I continue with the problem.

sudo paver sync
---> pavement.sync
python manage.py syncdb --noinput
Operations to perform:
Synchronize unmigrated apps: tasks, modeltranslation, django_extensions, djcelery, polymorphic, treebeard, 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
Apply all migrations: dialogos, people, tastypie, agon_ratings, documents, actstream, sites, maps, contenttypes, announcements, user_messages, layers, sessions, guardian, auth, base, groups, services, account, admin, upload, avatar, taggit
Synchronizing apps without migrations:
Creating tables...
Running deferred SQL...
Installing custom SQL...
Running migrations:
No migrations to apply.
Your models have changes that are not yet reflected in a migration, and so won't be applied.
Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
python manage.py loaddata sample_admin.json
Installed 1 object(s) from 1 fixture(s)
ideadm@ide:/home/geonode/geonode/cartoview$


I have uninstalled django 1.8.1 and reinstalled it, I deleted sudo rm -rf /usr/lib/python2.7/dist-packages/django

I have executed paver sync

But I still can not make progress.

If you want to access the server, I can send you the parameters of access to an email, to get your help.

Thank you

from cartoview.

ahmednoureldeen avatar ahmednoureldeen commented on July 20, 2024

Hi Diego,

I will continue with pleasure to get the server up and running.
Kindly send the access info to [email protected].

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.