Advertisement
Guest User

Untitled

a guest
Jul 4th, 2014
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.34 KB | None | 0 0
  1. Initializing Nodeshot...
  2. [10.150.13.202] run: mkdir -p log
  3. [10.150.13.202] run: touch log/tuamamma.error.log
  4. [10.150.13.202] run: chmod 666 log/tuamamma.error.log
  5. [10.150.13.202] run: source /var/www/nodeshot/projects/tuamamma/python/bin/activate && python manage.py syncdb --noinput && python manage.py migrate && python manage.py collectstatic --noinput
  6. [10.150.13.202] out: Traceback (most recent call last):
  7. [10.150.13.202] out: File "manage.py", line 10, in <module>
  8. [10.150.13.202] out: execute_from_command_line(sys.argv)
  9. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
  10. [10.150.13.202] out: utility.execute()
  11. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
  12. [10.150.13.202] out: self.fetch_command(subcommand).run_from_argv(self.argv)
  13. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 272, in fetch_command
  14. [10.150.13.202] out: klass = load_command_class(app_name, subcommand)
  15. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 75, in load_command_class
  16. [10.150.13.202] out: module = import_module('%s.management.commands.%s' % (app_name, name))
  17. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module
  18. [10.150.13.202] out: __import__(name)
  19. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/south/management/commands/__init__.py", line 10, in <module>
  20. [10.150.13.202] out: import django.template.loaders.app_directories
  21. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/template/loaders/app_directories.py", line 23, in <module>
  22. [10.150.13.202] out: mod = import_module(app)
  23. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module
  24. [10.150.13.202] out: __import__(name)
  25. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/grappelli/dashboard/__init__.py", line 1, in <module>
  26. [10.150.13.202] out: from grappelli.dashboard.dashboards import *
  27. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/grappelli/dashboard/dashboards.py", line 13, in <module>
  28. [10.150.13.202] out: from grappelli.dashboard import modules
  29. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/grappelli/dashboard/modules.py", line 13, in <module>
  30. [10.150.13.202] out: from grappelli.dashboard.utils import AppListElementMixin
  31. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/grappelli/dashboard/utils.py", line 12, in <module>
  32. [10.150.13.202] out: from django.contrib import admin
  33. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/contrib/admin/__init__.py", line 6, in <module>
  34. [10.150.13.202] out: from django.contrib.admin.sites import AdminSite, site
  35. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 4, in <module>
  36. [10.150.13.202] out: from django.contrib.admin.forms import AdminAuthenticationForm
  37. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/contrib/admin/forms.py", line 6, in <module>
  38. [10.150.13.202] out: from django.contrib.auth.forms import AuthenticationForm
  39. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/contrib/auth/forms.py", line 17, in <module>
  40. [10.150.13.202] out: from django.contrib.auth.models import User
  41. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/contrib/auth/models.py", line 48, in <module>
  42. [10.150.13.202] out: class Permission(models.Model):
  43. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/db/models/base.py", line 96, in __new__
  44. [10.150.13.202] out: new_class.add_to_class('_meta', Options(meta, **kwargs))
  45. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/db/models/base.py", line 264, in add_to_class
  46. [10.150.13.202] out: value.contribute_to_class(cls, name)
  47. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/db/models/options.py", line 124, in contribute_to_class
  48. [10.150.13.202] out: self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
  49. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/db/__init__.py", line 34, in __getattr__
  50. [10.150.13.202] out: return getattr(connections[DEFAULT_DB_ALIAS], item)
  51. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/db/utils.py", line 199, in __getitem__
  52. [10.150.13.202] out: conn = backend.DatabaseWrapper(db, alias)
  53. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/contrib/gis/db/backends/postgis/base.py", line 11, in __init__
  54. [10.150.13.202] out: self.ops = PostGISOperations(self)
  55. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 158, in __init__
  56. [10.150.13.202] out: if self.spatial_version < (1, 3, 4):
  57. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/utils/functional.py", line 49, in __get__
  58. [10.150.13.202] out: res = instance.__dict__[self.func.__name__] = self.func(instance)
  59. [10.150.13.202] out: File "/var/www/nodeshot/projects/tuamamma/python/local/lib/python2.7/site-packages/django/contrib/gis/db/backends/postgis/operations.py", line 258, in spatial_version
  60. [10.150.13.202] out: 'template?' % self.connection.settings_dict['NAME']
  61. [10.150.13.202] out: django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version for database "nodeshot". GeoDjango requires at least PostGIS version 1.3. Was the database created from a spatial database template?
  62. [10.150.13.202] out:
  63.  
  64.  
  65. Fatal error: run() received nonzero return code 1 while executing!
  66.  
  67. Requested: source /var/www/nodeshot/projects/tuamamma/python/bin/activate && python manage.py syncdb --noinput && python manage.py migrate && python manage.py collectstatic --noinput
  68. Executed: /bin/bash -l -c "cd /var/www/nodeshot/projects/tuamamma && source /var/www/nodeshot/projects/tuamamma/python/bin/activate && python manage.py syncdb --noinput && python manage.py migrate && python manage.py collectstatic --noinput"
  69.  
  70. Aborting.
  71. Disconnecting from 10.150.13.202... done.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement