osmfj / sotmjp-website

State of the Map Japan Website based on Symposion.
https://stateofthemap.jp/
BSD 3-Clause "New" or "Revised" License
0 stars 3 forks source link

Stagingでキーエラー #83

Closed miurahr closed 9 years ago

miurahr commented 9 years ago

投稿提案しようとするとエラーになる。

Environment:

Request Method: GET
Request URL: http://staging.stateofthemap.jp/2015/proposals/submit/talk/

Django Version: 1.7.8
Python Version: 2.7.6
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.humanize',
 'pinax_theme_bootstrap',
 'bootstrapform',
 'account',
 'compressor',
 'timezones',
 'metron',
 'easy_thumbnails',
 'sitetree',
 'taggit',
 'reversion',
 'pinax.blog',
 'djangosecure',
 'raven.contrib.django',
 'constance',
 'constance.backends.database',
 'redis_cache',
 'uni_form',
 'gunicorn',
 'selectable',
 'symposion',
 'symposion.conference',
 'symposion.boxes',
 'symposion.speakers',
 'symposion.proposals',
 'symposion.reviews',
 'symposion.teams',
 'symposion.schedule',
 'symposion.sponsorship',
 'markedit',
 'sotmjp',
 'sotmjp.proposals',
 'restcms',
 'sotmjp.registration',
 'sotmjp.profile',
 'leaflet',
 'osm_field']
Installed Middleware:
['djangosecure.middleware.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'account.middleware.LocaleMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'reversion.middleware.RevisionMiddleware']

Traceback:
File "/srv/sites/sotmjp-website/env/sotmjp-website/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  111.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/srv/sites/sotmjp-website/env/sotmjp-website/src/symposion/symposion/proposals/views.py" in proposal_submit_kind
  96.         form = form_class()
File "/srv/sites/sotmjp-website/sotmjp/proposals/forms.py" in __init__
  16.             raise forms.ValidationError(

Exception Type: KeyError at /2015/proposals/submit/talk/
Exception Value: 'category'
miurahr commented 9 years ago

これもでる

ProgrammingError at /2015/admin/proposals/talkproposal/
relation "proposals_proposalcategory" does not exist
LINE 1: ... = "symposion_speakers_speaker"."id" ) INNER JOIN "proposals...
                                                             ^
Request Method: GET
Request URL:    http://staging.stateofthemap.jp/2015/admin/proposals/talkproposal/
Django Version: 1.7.8
Exception Type: ProgrammingError
Exception Value:    
relation "proposals_proposalcategory" does not exist
LINE 1: ... = "symposion_speakers_speaker"."id" ) INNER JOIN "proposals...
                                                             ^
Exception Location: /srv/sites/sotmjp-website/env/sotmjp-website/local/lib/python2.7/site-packages/django/db/backends/utils.py in execute, line 65
Python Executable:  /srv/sites/sotmjp-website/env/sotmjp-website/bin/python
Python Version: 2.7.6
Python Path:    
['/srv/sites/sotmjp-website',
 '/srv/sites/sotmjp-website/env/sotmjp-website/bin',
 '/srv/sites/sotmjp-website/env/sotmjp-website/src/django-mailer',
 '/srv/sites/sotmjp-website/env/sotmjp-website/src/python-rtfng',
 '/srv/sites/sotmjp-website/env/sotmjp-website/src/restcms',
 '/srv/sites/sotmjp-website/env/sotmjp-website/src/django-admin-tabs',
 '/srv/sites/sotmjp-website/env/sotmjp-website/src/django-admin-tools',
 '/srv/sites/sotmjp-website/env/sotmjp-website/src/symposion',
 '/srv/sites/sotmjp-website/env/sotmjp-website/lib/python2.7',
 '/srv/sites/sotmjp-website/env/sotmjp-website/lib/python2.7/plat-x86_64-linux-gnu',
 '/srv/sites/sotmjp-website/env/sotmjp-website/lib/python2.7/lib-tk',
 '/srv/sites/sotmjp-website/env/sotmjp-website/lib/python2.7/lib-old',
 '/srv/sites/sotmjp-website/env/sotmjp-website/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/srv/sites/sotmjp-website/env/sotmjp-website/local/lib/python2.7/site-packages']
Server time:    土, 18 7月 2015 13:05:35 +0900
miurahr commented 9 years ago

これもでる

ImportError: No module named profile
miurahr commented 9 years ago

再起動が必要であった。最後のバグのみ修正必要ソウ。