Guest User

Untitled

a guest
Dec 19th, 2016
229
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Environment:
  2.  
  3.  
  4. Request Method: POST
  5. Request URL: http://146.48.94.196/admin/sites/site/1/
  6.  
  7. Django Version: 1.6.11
  8. Python Version: 2.7.6
  9. Installed Applications:
  10. ('django.contrib.auth',
  11. 'django.contrib.contenttypes',
  12. 'django.contrib.sessions',
  13. 'django.contrib.sites',
  14. 'django.contrib.admin',
  15. 'django.contrib.sitemaps',
  16. 'django.contrib.staticfiles',
  17. 'django.contrib.messages',
  18. 'django.contrib.humanize',
  19. 'django.contrib.gis',
  20. 'geonode.contrib.geosites',
  21. 'pagination',
  22. 'taggit',
  23. 'friendlytagloader',
  24. 'geoexplorer',
  25. 'leaflet',
  26. 'django_extensions',
  27. 'autocomplete_light',
  28. 'mptt',
  29. 'modeltranslation',
  30. 'djcelery',
  31. 'pinax_theme_bootstrap_account',
  32. 'pinax_theme_bootstrap',
  33. 'django_forms_bootstrap',
  34. 'account',
  35. 'avatar',
  36. 'dialogos',
  37. 'agon_ratings',
  38. 'announcements',
  39. 'actstream',
  40. 'user_messages',
  41. 'tastypie',
  42. 'polymorphic',
  43. 'guardian',
  44. 'geonode.people',
  45. 'geonode.base',
  46. 'geonode.layers',
  47. 'geonode.maps',
  48. 'geonode.proxy',
  49. 'geonode.security',
  50. 'geonode.social',
  51. 'geonode.catalogue',
  52. 'geonode.documents',
  53. 'geonode.api',
  54. 'geonode.groups',
  55. 'geonode.services',
  56. 'geonode.geoserver',
  57. 'geonode.upload',
  58. 'geonode.tasks')
  59. Installed Middleware:
  60. ('django.middleware.common.CommonMiddleware',
  61. 'django.contrib.sessions.middleware.SessionMiddleware',
  62. 'django.contrib.messages.middleware.MessageMiddleware',
  63. 'django.middleware.locale.LocaleMiddleware',
  64. 'pagination.middleware.PaginationMiddleware',
  65. 'django.middleware.csrf.CsrfViewMiddleware',
  66. 'django.contrib.auth.middleware.AuthenticationMiddleware',
  67. 'django.middleware.clickjacking.XFrameOptionsMiddleware')
  68.  
  69.  
  70. Traceback:
  71. File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
  72. 112. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  73. File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py" in wrapper
  74. 465. return self.admin_site.admin_view(view)(*args, **kwargs)
  75. File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in _wrapped_view
  76. 99. response = view_func(request, *args, **kwargs)
  77. File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py" in _wrapped_view_func
  78. 52. response = view_func(request, *args, **kwargs)
  79. File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/sites.py" in inner
  80. 198. return view(request, *args, **kwargs)
  81. File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in _wrapper
  82. 29. return bound_func(*args, **kwargs)
  83. File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in _wrapped_view
  84. 99. response = view_func(request, *args, **kwargs)
  85. File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in bound_func
  86. 25. return func(self, *args2, **kwargs2)
  87. File "/usr/local/lib/python2.7/dist-packages/django/db/transaction.py" in inner
  88. 371. return func(*args, **kwargs)
  89. File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py" in change_view
  90. 1263. self.save_model(request, new_object, form, True)
  91. File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/options.py" in save_model
  92. 893. obj.save()
  93. File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py" in save
  94. 545. force_update=force_update, update_fields=update_fields)
  95. File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py" in save_base
  96. 582. update_fields=update_fields, raw=raw, using=using)
  97. File "/usr/local/lib/python2.7/dist-packages/django/dispatch/dispatcher.py" in send
  98. 185. response = receiver(signal=self, sender=sender, **named)
  99. File "/dati/geonode/geonode/contrib/geosites/models.py" in post_save_site
  100. 47. SiteResources.objects.get_or_create(site=instance)
  101. File "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py" in get_or_create
  102. 154. return self.get_queryset().get_or_create(**kwargs)
  103. File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in get_or_create
  104. 376. return self.get(**lookup), False
  105. File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in get
  106. 304. num = len(clone)
  107. File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in __len__
  108. 77. self._fetch_all()
  109. File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in _fetch_all
  110. 857. self._result_cache = list(self.iterator())
  111. File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in iterator
  112. 220. for row in compiler.results_iter():
  113. File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in results_iter
  114. 713. for rows in self.execute_sql(MULTI):
  115. File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in execute_sql
  116. 786. cursor.execute(sql, params)
  117. File "/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py" in execute
  118. 69. return super(CursorDebugWrapper, self).execute(sql, params)
  119. File "/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py" in execute
  120. 53. return self.cursor.execute(sql, params)
  121. File "/usr/local/lib/python2.7/dist-packages/django/db/utils.py" in __exit__
  122. 99. six.reraise(dj_exc_type, dj_exc_value, traceback)
  123. File "/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py" in execute
  124. 53. return self.cursor.execute(sql, params)
  125.  
  126. Exception Type: ProgrammingError at /admin/sites/site/1/
  127. Exception Value: relation "geosites_siteresources" does not exist
  128. LINE 1: ...es"."id", "geosites_siteresources"."site_id" FROM "geosites_...
  129. ^
RAW Paste Data