[ninux-dev] Installazione Nodeshot

Patrizio Perna patrizio.perna at infosons.com
Wed Feb 3 22:11:25 CET 2016


2016-02-02 10:22 GMT+01:00 Nemesis <nemesis at ninux.org>:
> Sei nel virtualenv?

> Prova a reinstallare il pacchetto nodeshot con pip install -U pip setuptools
> wheel https://github.com/ninuxorg/nodeshot/tarball/master
>
> Questo dovrebbe aggiornare anche tutte le dipendenze, poi riprova il comando
> e dimmi se l'output è lo stesso oppure no.
>

Ho rifatto tutta la procedura facendo attenzione ad essere sempre nel
virtual env.
Comunque sbaglierò io da qualche parte, ho anche poco tempo per fare
le prove purtroppo, giusto la sera. Comunque magari un giorno al
fusolab possiamo farlo insieme almeno la comunicazione è piu diretta
:)

Ciao a presto
Patrizio


(nodeshot)patrick at kaori:~/repo/nodeshot/dev$ ./manage.py migrate
--no-initial-data && ./manage.py loaddata initial_data
Traceback (most recent call last):
  File "./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/patrick/.virtualenvs/nodeshot/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 399, in execute_from_command_line
    utility.execute()
  File "/home/patrick/.virtualenvs/nodeshot/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/patrick/.virtualenvs/nodeshot/local/lib/python2.7/site-packages/django/core/management/base.py",
line 242, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/home/patrick/.virtualenvs/nodeshot/local/lib/python2.7/site-packages/django/core/management/base.py",
line 285, in execute
    output = self.handle(*args, **options)
  File "/home/patrick/.virtualenvs/nodeshot/local/lib/python2.7/site-packages/South-1.0.2-py2.7.egg/south/management/commands/migrate.py",
line 111, in handle
    ignore_ghosts = ignore_ghosts,
  File "/home/patrick/.virtualenvs/nodeshot/local/lib/python2.7/site-packages/South-1.0.2-py2.7.egg/south/migration/__init__.py",
line 200, in migrate_app
    applied_all = check_migration_histories(applied_all,
delete_ghosts, ignore_ghosts)
  File "/home/patrick/.virtualenvs/nodeshot/local/lib/python2.7/site-packages/South-1.0.2-py2.7.egg/south/migration/__init__.py",
line 79, in check_migration_histories
    for h in histories:
  File "/home/patrick/.virtualenvs/nodeshot/local/lib/python2.7/site-packages/django/db/models/query.py",
line 96, in __iter__
    self._fetch_all()
  File "/home/patrick/.virtualenvs/nodeshot/local/lib/python2.7/site-packages/django/db/models/query.py",
line 857, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/home/patrick/.virtualenvs/nodeshot/local/lib/python2.7/site-packages/django/db/models/query.py",
line 220, in iterator
    for row in compiler.results_iter():
  File "/home/patrick/.virtualenvs/nodeshot/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py",
line 713, in results_iter
    for rows in self.execute_sql(MULTI):
  File "/home/patrick/.virtualenvs/nodeshot/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py",
line 786, in execute_sql
    cursor.execute(sql, params)
  File "/home/patrick/.virtualenvs/nodeshot/local/lib/python2.7/site-packages/django/db/backends/util.py",
line 69, in execute
    return super(CursorDebugWrapper, self).execute(sql, params)
  File "/home/patrick/.virtualenvs/nodeshot/local/lib/python2.7/site-packages/django/db/backends/util.py",
line 53, in execute
    return self.cursor.execute(sql, params)
  File "/home/patrick/.virtualenvs/nodeshot/local/lib/python2.7/site-packages/django/db/utils.py",
line 99, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/home/patrick/.virtualenvs/nodeshot/local/lib/python2.7/site-packages/django/db/backends/util.py",
line 53, in execute
    return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: relation "south_migrationhistory"
does not exist
LINE 1: ...gration", "south_migrationhistory"."applied" FROM "south_mig...



More information about the ninux-dev mailing list