Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IntegrityError at /admin/queue/run/add/
- insert or update on table "queue_run_extra_runners" violates foreign key constraint "runner_id_refs_id_2fb644a2"
- DETAIL: Key (runner_id)=(241241) is not present in table "queue_runner".
- Request Method: POST
- Request URL: http://queue.speeddemosarchive.com/admin/queue/run/add/
- Django Version: 1.4.1
- Exception Type: IntegrityError
- Exception Value:
- insert or update on table "queue_run_extra_runners" violates foreign key constraint "runner_id_refs_id_2fb644a2"
- DETAIL: Key (runner_id)=(241241) is not present in table "queue_runner".
- Exception Location: /usr/local/lib/python2.6/dist-packages/django/db/backends/postgresql_psycopg2/base.py in _commit, line 235
- Python Executable: /usr/local/bin/uwsgi
- Python Version: 2.6.6
- Python Path:
- ['.',
- '',
- '/usr/lib/python2.6',
- '/usr/lib/python2.6/plat-linux2',
- '/usr/lib/python2.6/lib-tk',
- '/usr/lib/python2.6/lib-old',
- '/usr/lib/python2.6/lib-dynload',
- '/usr/local/lib/python2.6/dist-packages',
- '/usr/lib/python2.6/dist-packages',
- '/usr/lib/pymodules/python2.6',
- '/home/sda/queue/sda']
- Server time: Sun, 20 Jan 2013 18:41:32 -0600
- Traceback Switch to copy-and-paste view
- /usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py in get_response
- for middleware_method in self._view_middleware:
- response = middleware_method(request, callback, callback_args, callback_kwargs)
- if response:
- break
- if response is None:
- try:
- response = callback(request, *callback_args, **callback_kwargs)
- ...
- except Exception, e:
- # If the view raised an exception, run it through exception
- # middleware, and if the exception middleware returns a
- # response, use that. Otherwise, reraise the exception.
- for middleware_method in self._exception_middleware:
- response = middleware_method(request, e)
- ▶ Local vars
- Variable Value
- exceptions
- <module 'django.core.exceptions' from '/usr/local/lib/python2.6/dist-packages/django/core/exceptions.pyc'>
- e
- IntegrityError('insert or update on table "queue_run_extra_runners" violates foreign key constraint "runner_id_refs_id_2fb644a2"\nDETAIL: Key (runner_id)=(241241) is not present in table "queue_runner".\n',)
- callback_args
- ()
- settings
- <django.conf.LazySettings object at 0x7f0162c7dd90>
- middleware_method
- <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x21cce90>>
- self
- <django.core.handlers.wsgi.WSGIHandler object at 0x21b29d0>
- request
- '<WSGIRequest\npath:/admin/queue/run/add/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {u\'completiondate\': [u\'2013-01-03\'], u\'runner_text\': [u\'\'], u\'runfile_set-TOTAL_FORMS\': [u\'1\'], u\'runner\': [u\'109\'], u\'verificationnote\': [u\'\'], u\'link_set-0-id\': [u\'\'], u\'submissiondate\': [u\'2013-01-20\'], u\'link_set-0-url\': [u\'\'], u\'runfile_set-0-run\': [u\'\'], u\'statid\': [u\'\'], u\'link_set-0-run\': [u\'\'], u\'link_set-__prefix__-id\': [u\'\'], u\'comment_set-__prefix__-state\': [u\'1\'], u\'initial-comment_set-__prefix__-state\': [u\'1\'], u\'commentaryfile\': [u\'\'], u\'link_set-0-linktype\': [u\'\'], u\'_continue\': [u\'Save and continue editing\'], u\'runfile_set-0-id\': [u\'\'], u\'extra_runners_text\': [u\'\'], u\'comment_set-__prefix__-checkpoint\': [u\'\'], u\'segments\': [u\'1\'], u\'tags\': [u\'|\'], u\'percent\': [u\'1\'], u\'comments\': [u"<p>Comment by I have no name:<br />This run started with the vague notion of combining my two favorite things as of a year ago; speedrunning and Touhou. Of course, I was a horrible player back then, barely able to clear easy mode, but I stayed with it and improved. Cut to May 2nd, 2012. I finally go ahead with the Double Spoiler IL table idea, posting 2 threads, one here, on SDA and the other, on a Touhou forum called <url=”shrinemaiden.org”>Maidens of the Kaleidoscope</url> (MoTK). Here on SDA, only one person expressed any interest during the initial wave of submissions, while MoTK’s thread reached 100 posts within a week, resulting in all scenes except 11-2 completed. I personally contributed about 20 different scenes, although most of them have since been improved. As I continually kept the table up to date, I learned why the SDA mods hate IL tables, and so I apologize for dumping this 108 IL monstrosity on you (but hey, at least it isn’t Super Meat Boy)<br /><br />Comment by ARF:<br />I\'ve been interested in speedrunning for a couple of years now, I always wanted to try completing a good run and submitting it, but never really felt that I had any special proficiency in any of the games I played at the time. When I have no name started this project in May I felt that I had to give it a go, I already liked Double Spoiler and figured I could make something happen here. I was really bad initially, but over time as I learned more about the game\'s inner workings, I surprised myself in how easy beating some previously impossible scenes had gotten. Unlike Shoot the Bullet, there were no precedents in speedrunning this game as far as I\'m aware. This lead to much back and forth in strategies and overall a very exciting journey. I\'m sure that even now there are still plenty of things left undiscovered, and who knows... maybe even sub 43 minutes total will be possible one day!<br /><br />Comment by DarkDespair5:<br />You people are crazy =P</p>"], u\'selfencoded\': [u\'on\'], u\'comment_set-0-run\': [u\'\'], u\'state\': [u\'2\'], u\'link_set-__prefix__-linktype\': [u\'\'], u\'runfile_set-__prefix__-filetype\': [u\'\'], u\'runfile_set-MAX_NUM_FORMS\': [u\'\'], u\'csrfmiddlewaretoken\': [u\'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC\'], u\'comment_set-0-id\': [u\'\'], u\'extra_runners\': [u\'|241241|115|116|\'], u\'comment_set-__prefix__-run\': [u\'\'], u\'segmentation\': [u\'3\'], u\'link_set-TOTAL_FORMS\': [u\'1\'], u\'comment_set-__prefix__-comment\': [u\'\'], u\'variant_text\': [u\'\'], u\'runfile_set-0-filetype\': [u\'1\'], u\'comment_set-INITIAL_FORMS\': [u\'0\'], u\'variant\': [u\'143\'], u\'runfile_set-__prefix__-file\': [u\'\'], u\'difficulty\': [u\'\'], u\'runfile_set-__prefix__-run\': [u\'\'], u\'comment_set-0-state\': [u\'1\'], u\'comment_set-TOTAL_FORMS\': [u\'1\'], u\'comment_set-0-checkpoint\': [u\'\'], u\'tags_text\': [u\'\'], u\'sdaid\': [u\'\'], u\'initial-comment_set-0-state\': [u\'1\'], u\'runfile_set-__prefix__-id\': [u\'\'], u\'name\': [u\'DoubleSpoilerIL 2013.1.20\'], u\'runfile_set-INITIAL_FORMS\': [u\'0\'], u\'link_set-__prefix__-run\': [u\'\'], u\'link_set-__prefix__-url\': [u\'\'], u\'comment_set-MAX_NUM_FORMS\': [u\'\'], u\'link_set-INITIAL_FORMS\': [u\'0\'], u\'link_set-MAX_NUM_FORMS\': [u\'\'], u\'comment_set-0-comment\': [u\'\'], u\'initial-state\': [u\'2\'], u\'runtime\': [u\'00:44:53\'], u\'comment_set-__prefix__-id\': [u\'\']}>,\nCOOKIES:{\'__utma\': \'180217190.1098897087.1358396189.1358579633.1358643973.5\',\n \'__utmz\': \'180217190.1358643973.5.2.utmccn=(referral)|utmcsr=forum.speeddemosarchive.com|utmcct=/post/the_final_fantasy_marathon_thread.html|utmcmd=referral\',\n \'csrftoken\': \'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC\',\n \'sda_tid\': \'116256b3bbaab0ae551a4cef71e4a5b7e5f6e012\',\n \'sessionid\': \'f2e8da4e884ea0e512c380037a376804\'},\nMETA:{\'CONTENT_LENGTH\': \'38699\',\n \'CONTENT_TYPE\': \'multipart/form-data; boundary=---------------------------21781159926777\',\n \'CSRF_COOKIE\': \'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC\',\n \'DOCUMENT_ROOT\': \'/home/sda/queue\',\n \'HTTP_ACCEPT\': \'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\',\n \'HTTP_ACCEPT_ENCODING\': \'gzip, deflate\',\n \'HTTP_ACCEPT_LANGUAGE\': \'en-US,en;q=0.5\',\n \'HTTP_CONNECTION\': \'keep-alive\',\n \'HTTP_CONTENT_LENGTH\': \'38699\',\n \'HTTP_CONTENT_TYPE\': \'multipart/form-data; boundary=---------------------------21781159926777\',\n \'HTTP_COOKIE\': \'sda_tid=116256b3bbaab0ae551a4cef71e4a5b7e5f6e012; csrftoken=P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC; __utma=180217190.1098897087.1358396189.1358579633.1358643973.5; __utmz=180217190.1358643973.5.2.utmccn=(referral)|utmcsr=forum.speeddemosarchive.com|utmcct=/post/the_final_fantasy_marathon_thread.html|utmcmd=referral; sessionid=f2e8da4e884ea0e512c380037a376804\',\n \'HTTP_HOST\': \'queue.speeddemosarchive.com\',\n \'HTTP_REFERER\': \'http://queue.speeddemosarchive.com/admin/queue/run/add/\',\n \'HTTP_USER_AGENT\': \'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0\',\n \'PATH_INFO\': u\'/admin/queue/run/add/\',\n \'QUERY_STRING\': \'\',\n \'REMOTE_ADDR\': \'173.27.217.2\',\n \'REMOTE_PORT\': \'55061\',\n \'REQUEST_METHOD\': \'POST\',\n \'REQUEST_URI\': \'/admin/queue/run/add/\',\n \'SCRIPT_NAME\': u\'\',\n \'SERVER_NAME\': \'queue.speeddemosarchive.com\',\n \'SERVER_PORT\': \'80\',\n \'SERVER_PROTOCOL\': \'HTTP/1.1\',\n \'uwsgi.node\': \'mikoto.taigaforum.com\',\n \'uwsgi.version\': \'1.2.5\',\n \'wsgi.errors\': <open file \'wsgi_errors\', mode \'w\' at 0x21908a0>,\n \'wsgi.file_wrapper\': <built-in function uwsgi_sendfile>,\n \'wsgi.input\': <uwsgi._Input object at 0x1c50760>,\n \'wsgi.multiprocess\': False,\n \'wsgi.multithread\': False,\n \'wsgi.run_once\': False,\n \'wsgi.url_scheme\': \'http\',\n \'wsgi.version\': (1, 0)}>'
- callback
- <function add_view at 0x2a66398>
- resolver
- <RegexURLResolver sda.urls (None:None) ^/>
- urlresolvers
- <module 'django.core.urlresolvers' from '/usr/local/lib/python2.6/dist-packages/django/core/urlresolvers.pyc'>
- callback_kwargs
- {}
- response
- None
- urlconf
- 'sda.urls'
- /usr/local/lib/python2.6/dist-packages/django/contrib/admin/options.py in wrapper
- return inline_instances
- def get_urls(self):
- from django.conf.urls import patterns, url
- def wrap(view):
- def wrapper(*args, **kwargs):
- return self.admin_site.admin_view(view)(*args, **kwargs)
- ...
- return update_wrapper(wrapper, view)
- info = self.model._meta.app_label, self.model._meta.module_name
- urlpatterns = patterns('',
- url(r'^$',
- ▶ Local vars
- Variable Value
- self
- <queue.admin.RunAdmin object at 0x2992310>
- args
- (<WSGIRequest
- path:/admin/queue/run/add/,
- GET:<QueryDict: {}>,
- POST:<QueryDict: {u'completiondate': [u'2013-01-03'], u'runner_text': [u''], u'runfile_set-TOTAL_FORMS': [u'1'], u'runner': [u'109'], u'verificationnote': [u''], u'link_set-0-id': [u''], u'submissiondate': [u'2013-01-20'], u'link_set-0-url': [u''], u'runfile_set-0-run': [u''], u'statid': [u''], u'link_set-0-run': [u''], u'link_set-__prefix__-id': [u''], u'comment_set-__prefix__-state': [u'1'], u'initial-comment_set-__prefix__-state': [u'1'], u'commentaryfile': [u''], u'link_set-0-linktype': [u''], u'_continue': [u'Save and continue editing'], u'runfile_set-0-id': [u''], u'extra_runners_text': [u''], u'comment_set-__prefix__-checkpoint': [u''], u'segments': [u'1'], u'tags': [u'|'], u'percent': [u'1'], u'comments': [u"<p>Comment by I have no name:<br />This run started with the vague notion of combining my two favorite things as of a year ago; speedrunning and Touhou. Of course, I was a horrible player back then, barely able to clear easy mode, but I stayed with it and improved. Cut to May 2nd, 2012. I finally go ahead with the Double Spoiler IL table idea, posting 2 threads, one here, on SDA and the other, on a Touhou forum called <url=”shrinemaiden.org”>Maidens of the Kaleidoscope</url> (MoTK). Here on SDA, only one person expressed any interest during the initial wave of submissions, while MoTK’s thread reached 100 posts within a week, resulting in all scenes except 11-2 completed. I personally contributed about 20 different scenes, although most of them have since been improved. As I continually kept the table up to date, I learned why the SDA mods hate IL tables, and so I apologize for dumping this 108 IL monstrosity on you (but hey, at least it isn’t Super Meat Boy)<br /><br />Comment by ARF:<br />I've been interested in speedrunning for a couple of years now, I always wanted to try completing a good run and submitting it, but never really felt that I had any special proficiency in any of the games I played at the time. When I have no name started this project in May I felt that I had to give it a go, I already liked Double Spoiler and figured I could make something happen here. I was really bad initially, but over time as I learned more about the game's inner workings, I surprised myself in how easy beating some previously impossible scenes had gotten. Unlike Shoot the Bullet, there were no precedents in speedrunning this game as far as I'm aware. This lead to much back and forth in strategies and overall a very exciting journey. I'm sure that even now there are still plenty of things left undiscovered, and who knows... maybe even sub 43 minutes total will be possible one day!<br /><br />Comment by DarkDespair5:<br />You people are crazy =P</p>"], u'selfencoded': [u'on'], u'comment_set-0-run': [u''], u'state': [u'2'], u'link_set-__prefix__-linktype': [u''], u'runfile_set-__prefix__-filetype': [u''], u'runfile_set-MAX_NUM_FORMS': [u''], u'csrfmiddlewaretoken': [u'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC'], u'comment_set-0-id': [u''], u'extra_runners': [u'|241241|115|116|'], u'comment_set-__prefix__-run': [u''], u'segmentation': [u'3'], u'link_set-TOTAL_FORMS': [u'1'], u'comment_set-__prefix__-comment': [u''], u'variant_text': [u''], u'runfile_set-0-filetype': [u'1'], u'comment_set-INITIAL_FORMS': [u'0'], u'variant': [u'143'], u'runfile_set-__prefix__-file': [u''], u'difficulty': [u''], u'runfile_set-__prefix__-run': [u''], u'comment_set-0-state': [u'1'], u'comment_set-TOTAL_FORMS': [u'1'], u'comment_set-0-checkpoint': [u''], u'tags_text': [u''], u'sdaid': [u''], u'initial-comment_set-0-state': [u'1'], u'runfile_set-__prefix__-id': [u''], u'name': [u'DoubleSpoilerIL 2013.1.20'], u'runfile_set-INITIAL_FORMS': [u'0'], u'link_set-__prefix__-run': [u''], u'link_set-__prefix__-url': [u''], u'comment_set-MAX_NUM_FORMS': [u''], u'link_set-INITIAL_FORMS': [u'0'], u'link_set-MAX_NUM_FORMS': [u''], u'comment_set-0-comment': [u''], u'initial-state': [u'2'], u'runtime': [u'00:44:53'], u'comment_set-__prefix__-id': [u'']}>,
- COOKIES:{'__utma': '180217190.1098897087.1358396189.1358579633.1358643973.5',
- '__utmz': '180217190.1358643973.5.2.utmccn=(referral)|utmcsr=forum.speeddemosarchive.com|utmcct=/post/the_final_fantasy_marathon_thread.html|utmcmd=referral',
- 'csrftoken': 'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC',
- 'sda_tid': '116256b3bbaab0ae551a4cef71e4a5b7e5f6e012',
- 'sessionid': 'f2e8da4e884ea0e512c380037a376804'},
- META:{'CONTENT_LENGTH': '38699',
- 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------21781159926777',
- 'CSRF_COOKIE': 'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC',
- 'DOCUMENT_ROOT': '/home/sda/queue',
- 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
- 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
- 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
- 'HTTP_CONNECTION': 'keep-alive',
- 'HTTP_CONTENT_LENGTH': '38699',
- 'HTTP_CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------21781159926777',
- 'HTTP_COOKIE': 'sda_tid=116256b3bbaab0ae551a4cef71e4a5b7e5f6e012; csrftoken=P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC; __utma=180217190.1098897087.1358396189.1358579633.1358643973.5; __utmz=180217190.1358643973.5.2.utmccn=(referral)|utmcsr=forum.speeddemosarchive.com|utmcct=/post/the_final_fantasy_marathon_thread.html|utmcmd=referral; sessionid=f2e8da4e884ea0e512c380037a376804',
- 'HTTP_HOST': 'queue.speeddemosarchive.com',
- 'HTTP_REFERER': 'http://queue.speeddemosarchive.com/admin/queue/run/add/',
- 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0',
- 'PATH_INFO': u'/admin/queue/run/add/',
- 'QUERY_STRING': '',
- 'REMOTE_ADDR': '173.27.217.2',
- 'REMOTE_PORT': '55061',
- 'REQUEST_METHOD': 'POST',
- 'REQUEST_URI': '/admin/queue/run/add/',
- 'SCRIPT_NAME': u'',
- 'SERVER_NAME': 'queue.speeddemosarchive.com',
- 'SERVER_PORT': '80',
- 'SERVER_PROTOCOL': 'HTTP/1.1',
- 'uwsgi.node': 'mikoto.taigaforum.com',
- 'uwsgi.version': '1.2.5',
- 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x21908a0>,
- 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,
- 'wsgi.input': <uwsgi._Input object at 0x1c50760>,
- 'wsgi.multiprocess': False,
- 'wsgi.multithread': False,
- 'wsgi.run_once': False,
- 'wsgi.url_scheme': 'http',
- 'wsgi.version': (1, 0)}>,)
- view
- <bound method RunAdmin.add_view of <queue.admin.RunAdmin object at 0x2992310>>
- kwargs
- {}
- /usr/local/lib/python2.6/dist-packages/django/utils/decorators.py in _wrapped_view
- if result is not None:
- return result
- if hasattr(middleware, 'process_view'):
- result = middleware.process_view(request, view_func, args, kwargs)
- if result is not None:
- return result
- try:
- response = view_func(request, *args, **kwargs)
- ...
- except Exception, e:
- if hasattr(middleware, 'process_exception'):
- result = middleware.process_exception(request, e)
- if result is not None:
- return result
- raise
- ▶ Local vars
- Variable Value
- e
- IntegrityError('insert or update on table "queue_run_extra_runners" violates foreign key constraint "runner_id_refs_id_2fb644a2"\nDETAIL: Key (runner_id)=(241241) is not present in table "queue_runner".\n',)
- middleware
- <django.middleware.csrf.CsrfViewMiddleware object at 0x25a1bd0>
- args
- ()
- request
- '<WSGIRequest\npath:/admin/queue/run/add/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {u\'completiondate\': [u\'2013-01-03\'], u\'runner_text\': [u\'\'], u\'runfile_set-TOTAL_FORMS\': [u\'1\'], u\'runner\': [u\'109\'], u\'verificationnote\': [u\'\'], u\'link_set-0-id\': [u\'\'], u\'submissiondate\': [u\'2013-01-20\'], u\'link_set-0-url\': [u\'\'], u\'runfile_set-0-run\': [u\'\'], u\'statid\': [u\'\'], u\'link_set-0-run\': [u\'\'], u\'link_set-__prefix__-id\': [u\'\'], u\'comment_set-__prefix__-state\': [u\'1\'], u\'initial-comment_set-__prefix__-state\': [u\'1\'], u\'commentaryfile\': [u\'\'], u\'link_set-0-linktype\': [u\'\'], u\'_continue\': [u\'Save and continue editing\'], u\'runfile_set-0-id\': [u\'\'], u\'extra_runners_text\': [u\'\'], u\'comment_set-__prefix__-checkpoint\': [u\'\'], u\'segments\': [u\'1\'], u\'tags\': [u\'|\'], u\'percent\': [u\'1\'], u\'comments\': [u"<p>Comment by I have no name:<br />This run started with the vague notion of combining my two favorite things as of a year ago; speedrunning and Touhou. Of course, I was a horrible player back then, barely able to clear easy mode, but I stayed with it and improved. Cut to May 2nd, 2012. I finally go ahead with the Double Spoiler IL table idea, posting 2 threads, one here, on SDA and the other, on a Touhou forum called <url=”shrinemaiden.org”>Maidens of the Kaleidoscope</url> (MoTK). Here on SDA, only one person expressed any interest during the initial wave of submissions, while MoTK’s thread reached 100 posts within a week, resulting in all scenes except 11-2 completed. I personally contributed about 20 different scenes, although most of them have since been improved. As I continually kept the table up to date, I learned why the SDA mods hate IL tables, and so I apologize for dumping this 108 IL monstrosity on you (but hey, at least it isn’t Super Meat Boy)<br /><br />Comment by ARF:<br />I\'ve been interested in speedrunning for a couple of years now, I always wanted to try completing a good run and submitting it, but never really felt that I had any special proficiency in any of the games I played at the time. When I have no name started this project in May I felt that I had to give it a go, I already liked Double Spoiler and figured I could make something happen here. I was really bad initially, but over time as I learned more about the game\'s inner workings, I surprised myself in how easy beating some previously impossible scenes had gotten. Unlike Shoot the Bullet, there were no precedents in speedrunning this game as far as I\'m aware. This lead to much back and forth in strategies and overall a very exciting journey. I\'m sure that even now there are still plenty of things left undiscovered, and who knows... maybe even sub 43 minutes total will be possible one day!<br /><br />Comment by DarkDespair5:<br />You people are crazy =P</p>"], u\'selfencoded\': [u\'on\'], u\'comment_set-0-run\': [u\'\'], u\'state\': [u\'2\'], u\'link_set-__prefix__-linktype\': [u\'\'], u\'runfile_set-__prefix__-filetype\': [u\'\'], u\'runfile_set-MAX_NUM_FORMS\': [u\'\'], u\'csrfmiddlewaretoken\': [u\'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC\'], u\'comment_set-0-id\': [u\'\'], u\'extra_runners\': [u\'|241241|115|116|\'], u\'comment_set-__prefix__-run\': [u\'\'], u\'segmentation\': [u\'3\'], u\'link_set-TOTAL_FORMS\': [u\'1\'], u\'comment_set-__prefix__-comment\': [u\'\'], u\'variant_text\': [u\'\'], u\'runfile_set-0-filetype\': [u\'1\'], u\'comment_set-INITIAL_FORMS\': [u\'0\'], u\'variant\': [u\'143\'], u\'runfile_set-__prefix__-file\': [u\'\'], u\'difficulty\': [u\'\'], u\'runfile_set-__prefix__-run\': [u\'\'], u\'comment_set-0-state\': [u\'1\'], u\'comment_set-TOTAL_FORMS\': [u\'1\'], u\'comment_set-0-checkpoint\': [u\'\'], u\'tags_text\': [u\'\'], u\'sdaid\': [u\'\'], u\'initial-comment_set-0-state\': [u\'1\'], u\'runfile_set-__prefix__-id\': [u\'\'], u\'name\': [u\'DoubleSpoilerIL 2013.1.20\'], u\'runfile_set-INITIAL_FORMS\': [u\'0\'], u\'link_set-__prefix__-run\': [u\'\'], u\'link_set-__prefix__-url\': [u\'\'], u\'comment_set-MAX_NUM_FORMS\': [u\'\'], u\'link_set-INITIAL_FORMS\': [u\'0\'], u\'link_set-MAX_NUM_FORMS\': [u\'\'], u\'comment_set-0-comment\': [u\'\'], u\'initial-state\': [u\'2\'], u\'runtime\': [u\'00:44:53\'], u\'comment_set-__prefix__-id\': [u\'\']}>,\nCOOKIES:{\'__utma\': \'180217190.1098897087.1358396189.1358579633.1358643973.5\',\n \'__utmz\': \'180217190.1358643973.5.2.utmccn=(referral)|utmcsr=forum.speeddemosarchive.com|utmcct=/post/the_final_fantasy_marathon_thread.html|utmcmd=referral\',\n \'csrftoken\': \'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC\',\n \'sda_tid\': \'116256b3bbaab0ae551a4cef71e4a5b7e5f6e012\',\n \'sessionid\': \'f2e8da4e884ea0e512c380037a376804\'},\nMETA:{\'CONTENT_LENGTH\': \'38699\',\n \'CONTENT_TYPE\': \'multipart/form-data; boundary=---------------------------21781159926777\',\n \'CSRF_COOKIE\': \'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC\',\n \'DOCUMENT_ROOT\': \'/home/sda/queue\',\n \'HTTP_ACCEPT\': \'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\',\n \'HTTP_ACCEPT_ENCODING\': \'gzip, deflate\',\n \'HTTP_ACCEPT_LANGUAGE\': \'en-US,en;q=0.5\',\n \'HTTP_CONNECTION\': \'keep-alive\',\n \'HTTP_CONTENT_LENGTH\': \'38699\',\n \'HTTP_CONTENT_TYPE\': \'multipart/form-data; boundary=---------------------------21781159926777\',\n \'HTTP_COOKIE\': \'sda_tid=116256b3bbaab0ae551a4cef71e4a5b7e5f6e012; csrftoken=P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC; __utma=180217190.1098897087.1358396189.1358579633.1358643973.5; __utmz=180217190.1358643973.5.2.utmccn=(referral)|utmcsr=forum.speeddemosarchive.com|utmcct=/post/the_final_fantasy_marathon_thread.html|utmcmd=referral; sessionid=f2e8da4e884ea0e512c380037a376804\',\n \'HTTP_HOST\': \'queue.speeddemosarchive.com\',\n \'HTTP_REFERER\': \'http://queue.speeddemosarchive.com/admin/queue/run/add/\',\n \'HTTP_USER_AGENT\': \'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0\',\n \'PATH_INFO\': u\'/admin/queue/run/add/\',\n \'QUERY_STRING\': \'\',\n \'REMOTE_ADDR\': \'173.27.217.2\',\n \'REMOTE_PORT\': \'55061\',\n \'REQUEST_METHOD\': \'POST\',\n \'REQUEST_URI\': \'/admin/queue/run/add/\',\n \'SCRIPT_NAME\': u\'\',\n \'SERVER_NAME\': \'queue.speeddemosarchive.com\',\n \'SERVER_PORT\': \'80\',\n \'SERVER_PROTOCOL\': \'HTTP/1.1\',\n \'uwsgi.node\': \'mikoto.taigaforum.com\',\n \'uwsgi.version\': \'1.2.5\',\n \'wsgi.errors\': <open file \'wsgi_errors\', mode \'w\' at 0x21908a0>,\n \'wsgi.file_wrapper\': <built-in function uwsgi_sendfile>,\n \'wsgi.input\': <uwsgi._Input object at 0x1c50760>,\n \'wsgi.multiprocess\': False,\n \'wsgi.multithread\': False,\n \'wsgi.run_once\': False,\n \'wsgi.url_scheme\': \'http\',\n \'wsgi.version\': (1, 0)}>'
- result
- None
- kwargs
- {}
- view_func
- <function inner at 0x2a83500>
- /usr/local/lib/python2.6/dist-packages/django/views/decorators/cache.py in _wrapped_view_func
- def never_cache(view_func):
- """
- Decorator that adds headers to a response so that it will
- never be cached.
- """
- @wraps(view_func, assigned=available_attrs(view_func))
- def _wrapped_view_func(request, *args, **kwargs):
- response = view_func(request, *args, **kwargs)
- ...
- add_never_cache_headers(response)
- return response
- return _wrapped_view_func
- ▶ Local vars
- Variable Value
- args
- ()
- request
- '<WSGIRequest\npath:/admin/queue/run/add/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {u\'completiondate\': [u\'2013-01-03\'], u\'runner_text\': [u\'\'], u\'runfile_set-TOTAL_FORMS\': [u\'1\'], u\'runner\': [u\'109\'], u\'verificationnote\': [u\'\'], u\'link_set-0-id\': [u\'\'], u\'submissiondate\': [u\'2013-01-20\'], u\'link_set-0-url\': [u\'\'], u\'runfile_set-0-run\': [u\'\'], u\'statid\': [u\'\'], u\'link_set-0-run\': [u\'\'], u\'link_set-__prefix__-id\': [u\'\'], u\'comment_set-__prefix__-state\': [u\'1\'], u\'initial-comment_set-__prefix__-state\': [u\'1\'], u\'commentaryfile\': [u\'\'], u\'link_set-0-linktype\': [u\'\'], u\'_continue\': [u\'Save and continue editing\'], u\'runfile_set-0-id\': [u\'\'], u\'extra_runners_text\': [u\'\'], u\'comment_set-__prefix__-checkpoint\': [u\'\'], u\'segments\': [u\'1\'], u\'tags\': [u\'|\'], u\'percent\': [u\'1\'], u\'comments\': [u"<p>Comment by I have no name:<br />This run started with the vague notion of combining my two favorite things as of a year ago; speedrunning and Touhou. Of course, I was a horrible player back then, barely able to clear easy mode, but I stayed with it and improved. Cut to May 2nd, 2012. I finally go ahead with the Double Spoiler IL table idea, posting 2 threads, one here, on SDA and the other, on a Touhou forum called <url=”shrinemaiden.org”>Maidens of the Kaleidoscope</url> (MoTK). Here on SDA, only one person expressed any interest during the initial wave of submissions, while MoTK’s thread reached 100 posts within a week, resulting in all scenes except 11-2 completed. I personally contributed about 20 different scenes, although most of them have since been improved. As I continually kept the table up to date, I learned why the SDA mods hate IL tables, and so I apologize for dumping this 108 IL monstrosity on you (but hey, at least it isn’t Super Meat Boy)<br /><br />Comment by ARF:<br />I\'ve been interested in speedrunning for a couple of years now, I always wanted to try completing a good run and submitting it, but never really felt that I had any special proficiency in any of the games I played at the time. When I have no name started this project in May I felt that I had to give it a go, I already liked Double Spoiler and figured I could make something happen here. I was really bad initially, but over time as I learned more about the game\'s inner workings, I surprised myself in how easy beating some previously impossible scenes had gotten. Unlike Shoot the Bullet, there were no precedents in speedrunning this game as far as I\'m aware. This lead to much back and forth in strategies and overall a very exciting journey. I\'m sure that even now there are still plenty of things left undiscovered, and who knows... maybe even sub 43 minutes total will be possible one day!<br /><br />Comment by DarkDespair5:<br />You people are crazy =P</p>"], u\'selfencoded\': [u\'on\'], u\'comment_set-0-run\': [u\'\'], u\'state\': [u\'2\'], u\'link_set-__prefix__-linktype\': [u\'\'], u\'runfile_set-__prefix__-filetype\': [u\'\'], u\'runfile_set-MAX_NUM_FORMS\': [u\'\'], u\'csrfmiddlewaretoken\': [u\'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC\'], u\'comment_set-0-id\': [u\'\'], u\'extra_runners\': [u\'|241241|115|116|\'], u\'comment_set-__prefix__-run\': [u\'\'], u\'segmentation\': [u\'3\'], u\'link_set-TOTAL_FORMS\': [u\'1\'], u\'comment_set-__prefix__-comment\': [u\'\'], u\'variant_text\': [u\'\'], u\'runfile_set-0-filetype\': [u\'1\'], u\'comment_set-INITIAL_FORMS\': [u\'0\'], u\'variant\': [u\'143\'], u\'runfile_set-__prefix__-file\': [u\'\'], u\'difficulty\': [u\'\'], u\'runfile_set-__prefix__-run\': [u\'\'], u\'comment_set-0-state\': [u\'1\'], u\'comment_set-TOTAL_FORMS\': [u\'1\'], u\'comment_set-0-checkpoint\': [u\'\'], u\'tags_text\': [u\'\'], u\'sdaid\': [u\'\'], u\'initial-comment_set-0-state\': [u\'1\'], u\'runfile_set-__prefix__-id\': [u\'\'], u\'name\': [u\'DoubleSpoilerIL 2013.1.20\'], u\'runfile_set-INITIAL_FORMS\': [u\'0\'], u\'link_set-__prefix__-run\': [u\'\'], u\'link_set-__prefix__-url\': [u\'\'], u\'comment_set-MAX_NUM_FORMS\': [u\'\'], u\'link_set-INITIAL_FORMS\': [u\'0\'], u\'link_set-MAX_NUM_FORMS\': [u\'\'], u\'comment_set-0-comment\': [u\'\'], u\'initial-state\': [u\'2\'], u\'runtime\': [u\'00:44:53\'], u\'comment_set-__prefix__-id\': [u\'\']}>,\nCOOKIES:{\'__utma\': \'180217190.1098897087.1358396189.1358579633.1358643973.5\',\n \'__utmz\': \'180217190.1358643973.5.2.utmccn=(referral)|utmcsr=forum.speeddemosarchive.com|utmcct=/post/the_final_fantasy_marathon_thread.html|utmcmd=referral\',\n \'csrftoken\': \'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC\',\n \'sda_tid\': \'116256b3bbaab0ae551a4cef71e4a5b7e5f6e012\',\n \'sessionid\': \'f2e8da4e884ea0e512c380037a376804\'},\nMETA:{\'CONTENT_LENGTH\': \'38699\',\n \'CONTENT_TYPE\': \'multipart/form-data; boundary=---------------------------21781159926777\',\n \'CSRF_COOKIE\': \'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC\',\n \'DOCUMENT_ROOT\': \'/home/sda/queue\',\n \'HTTP_ACCEPT\': \'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\',\n \'HTTP_ACCEPT_ENCODING\': \'gzip, deflate\',\n \'HTTP_ACCEPT_LANGUAGE\': \'en-US,en;q=0.5\',\n \'HTTP_CONNECTION\': \'keep-alive\',\n \'HTTP_CONTENT_LENGTH\': \'38699\',\n \'HTTP_CONTENT_TYPE\': \'multipart/form-data; boundary=---------------------------21781159926777\',\n \'HTTP_COOKIE\': \'sda_tid=116256b3bbaab0ae551a4cef71e4a5b7e5f6e012; csrftoken=P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC; __utma=180217190.1098897087.1358396189.1358579633.1358643973.5; __utmz=180217190.1358643973.5.2.utmccn=(referral)|utmcsr=forum.speeddemosarchive.com|utmcct=/post/the_final_fantasy_marathon_thread.html|utmcmd=referral; sessionid=f2e8da4e884ea0e512c380037a376804\',\n \'HTTP_HOST\': \'queue.speeddemosarchive.com\',\n \'HTTP_REFERER\': \'http://queue.speeddemosarchive.com/admin/queue/run/add/\',\n \'HTTP_USER_AGENT\': \'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0\',\n \'PATH_INFO\': u\'/admin/queue/run/add/\',\n \'QUERY_STRING\': \'\',\n \'REMOTE_ADDR\': \'173.27.217.2\',\n \'REMOTE_PORT\': \'55061\',\n \'REQUEST_METHOD\': \'POST\',\n \'REQUEST_URI\': \'/admin/queue/run/add/\',\n \'SCRIPT_NAME\': u\'\',\n \'SERVER_NAME\': \'queue.speeddemosarchive.com\',\n \'SERVER_PORT\': \'80\',\n \'SERVER_PROTOCOL\': \'HTTP/1.1\',\n \'uwsgi.node\': \'mikoto.taigaforum.com\',\n \'uwsgi.version\': \'1.2.5\',\n \'wsgi.errors\': <open file \'wsgi_errors\', mode \'w\' at 0x21908a0>,\n \'wsgi.file_wrapper\': <built-in function uwsgi_sendfile>,\n \'wsgi.input\': <uwsgi._Input object at 0x1c50760>,\n \'wsgi.multiprocess\': False,\n \'wsgi.multithread\': False,\n \'wsgi.run_once\': False,\n \'wsgi.url_scheme\': \'http\',\n \'wsgi.version\': (1, 0)}>'
- view_func
- <function inner at 0x2528b90>
- kwargs
- {}
- /usr/local/lib/python2.6/dist-packages/django/contrib/admin/sites.py in inner
- def inner(request, *args, **kwargs):
- if not self.has_permission(request):
- if request.path == reverse('admin:logout',
- current_app=self.name):
- index_path = reverse('admin:index', current_app=self.name)
- return HttpResponseRedirect(index_path)
- return self.login(request)
- return view(request, *args, **kwargs)
- ...
- if not cacheable:
- inner = never_cache(inner)
- # We add csrf_protect here so this function can be used as a utility
- # function for any view, without having to repeat 'csrf_protect'.
- if not getattr(view, 'csrf_exempt', False):
- inner = csrf_protect(inner)
- ▶ Local vars
- Variable Value
- view
- <bound method RunAdmin.add_view of <queue.admin.RunAdmin object at 0x2992310>>
- args
- ()
- request
- '<WSGIRequest\npath:/admin/queue/run/add/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {u\'completiondate\': [u\'2013-01-03\'], u\'runner_text\': [u\'\'], u\'runfile_set-TOTAL_FORMS\': [u\'1\'], u\'runner\': [u\'109\'], u\'verificationnote\': [u\'\'], u\'link_set-0-id\': [u\'\'], u\'submissiondate\': [u\'2013-01-20\'], u\'link_set-0-url\': [u\'\'], u\'runfile_set-0-run\': [u\'\'], u\'statid\': [u\'\'], u\'link_set-0-run\': [u\'\'], u\'link_set-__prefix__-id\': [u\'\'], u\'comment_set-__prefix__-state\': [u\'1\'], u\'initial-comment_set-__prefix__-state\': [u\'1\'], u\'commentaryfile\': [u\'\'], u\'link_set-0-linktype\': [u\'\'], u\'_continue\': [u\'Save and continue editing\'], u\'runfile_set-0-id\': [u\'\'], u\'extra_runners_text\': [u\'\'], u\'comment_set-__prefix__-checkpoint\': [u\'\'], u\'segments\': [u\'1\'], u\'tags\': [u\'|\'], u\'percent\': [u\'1\'], u\'comments\': [u"<p>Comment by I have no name:<br />This run started with the vague notion of combining my two favorite things as of a year ago; speedrunning and Touhou. Of course, I was a horrible player back then, barely able to clear easy mode, but I stayed with it and improved. Cut to May 2nd, 2012. I finally go ahead with the Double Spoiler IL table idea, posting 2 threads, one here, on SDA and the other, on a Touhou forum called <url=”shrinemaiden.org”>Maidens of the Kaleidoscope</url> (MoTK). Here on SDA, only one person expressed any interest during the initial wave of submissions, while MoTK’s thread reached 100 posts within a week, resulting in all scenes except 11-2 completed. I personally contributed about 20 different scenes, although most of them have since been improved. As I continually kept the table up to date, I learned why the SDA mods hate IL tables, and so I apologize for dumping this 108 IL monstrosity on you (but hey, at least it isn’t Super Meat Boy)<br /><br />Comment by ARF:<br />I\'ve been interested in speedrunning for a couple of years now, I always wanted to try completing a good run and submitting it, but never really felt that I had any special proficiency in any of the games I played at the time. When I have no name started this project in May I felt that I had to give it a go, I already liked Double Spoiler and figured I could make something happen here. I was really bad initially, but over time as I learned more about the game\'s inner workings, I surprised myself in how easy beating some previously impossible scenes had gotten. Unlike Shoot the Bullet, there were no precedents in speedrunning this game as far as I\'m aware. This lead to much back and forth in strategies and overall a very exciting journey. I\'m sure that even now there are still plenty of things left undiscovered, and who knows... maybe even sub 43 minutes total will be possible one day!<br /><br />Comment by DarkDespair5:<br />You people are crazy =P</p>"], u\'selfencoded\': [u\'on\'], u\'comment_set-0-run\': [u\'\'], u\'state\': [u\'2\'], u\'link_set-__prefix__-linktype\': [u\'\'], u\'runfile_set-__prefix__-filetype\': [u\'\'], u\'runfile_set-MAX_NUM_FORMS\': [u\'\'], u\'csrfmiddlewaretoken\': [u\'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC\'], u\'comment_set-0-id\': [u\'\'], u\'extra_runners\': [u\'|241241|115|116|\'], u\'comment_set-__prefix__-run\': [u\'\'], u\'segmentation\': [u\'3\'], u\'link_set-TOTAL_FORMS\': [u\'1\'], u\'comment_set-__prefix__-comment\': [u\'\'], u\'variant_text\': [u\'\'], u\'runfile_set-0-filetype\': [u\'1\'], u\'comment_set-INITIAL_FORMS\': [u\'0\'], u\'variant\': [u\'143\'], u\'runfile_set-__prefix__-file\': [u\'\'], u\'difficulty\': [u\'\'], u\'runfile_set-__prefix__-run\': [u\'\'], u\'comment_set-0-state\': [u\'1\'], u\'comment_set-TOTAL_FORMS\': [u\'1\'], u\'comment_set-0-checkpoint\': [u\'\'], u\'tags_text\': [u\'\'], u\'sdaid\': [u\'\'], u\'initial-comment_set-0-state\': [u\'1\'], u\'runfile_set-__prefix__-id\': [u\'\'], u\'name\': [u\'DoubleSpoilerIL 2013.1.20\'], u\'runfile_set-INITIAL_FORMS\': [u\'0\'], u\'link_set-__prefix__-run\': [u\'\'], u\'link_set-__prefix__-url\': [u\'\'], u\'comment_set-MAX_NUM_FORMS\': [u\'\'], u\'link_set-INITIAL_FORMS\': [u\'0\'], u\'link_set-MAX_NUM_FORMS\': [u\'\'], u\'comment_set-0-comment\': [u\'\'], u\'initial-state\': [u\'2\'], u\'runtime\': [u\'00:44:53\'], u\'comment_set-__prefix__-id\': [u\'\']}>,\nCOOKIES:{\'__utma\': \'180217190.1098897087.1358396189.1358579633.1358643973.5\',\n \'__utmz\': \'180217190.1358643973.5.2.utmccn=(referral)|utmcsr=forum.speeddemosarchive.com|utmcct=/post/the_final_fantasy_marathon_thread.html|utmcmd=referral\',\n \'csrftoken\': \'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC\',\n \'sda_tid\': \'116256b3bbaab0ae551a4cef71e4a5b7e5f6e012\',\n \'sessionid\': \'f2e8da4e884ea0e512c380037a376804\'},\nMETA:{\'CONTENT_LENGTH\': \'38699\',\n \'CONTENT_TYPE\': \'multipart/form-data; boundary=---------------------------21781159926777\',\n \'CSRF_COOKIE\': \'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC\',\n \'DOCUMENT_ROOT\': \'/home/sda/queue\',\n \'HTTP_ACCEPT\': \'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\',\n \'HTTP_ACCEPT_ENCODING\': \'gzip, deflate\',\n \'HTTP_ACCEPT_LANGUAGE\': \'en-US,en;q=0.5\',\n \'HTTP_CONNECTION\': \'keep-alive\',\n \'HTTP_CONTENT_LENGTH\': \'38699\',\n \'HTTP_CONTENT_TYPE\': \'multipart/form-data; boundary=---------------------------21781159926777\',\n \'HTTP_COOKIE\': \'sda_tid=116256b3bbaab0ae551a4cef71e4a5b7e5f6e012; csrftoken=P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC; __utma=180217190.1098897087.1358396189.1358579633.1358643973.5; __utmz=180217190.1358643973.5.2.utmccn=(referral)|utmcsr=forum.speeddemosarchive.com|utmcct=/post/the_final_fantasy_marathon_thread.html|utmcmd=referral; sessionid=f2e8da4e884ea0e512c380037a376804\',\n \'HTTP_HOST\': \'queue.speeddemosarchive.com\',\n \'HTTP_REFERER\': \'http://queue.speeddemosarchive.com/admin/queue/run/add/\',\n \'HTTP_USER_AGENT\': \'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0\',\n \'PATH_INFO\': u\'/admin/queue/run/add/\',\n \'QUERY_STRING\': \'\',\n \'REMOTE_ADDR\': \'173.27.217.2\',\n \'REMOTE_PORT\': \'55061\',\n \'REQUEST_METHOD\': \'POST\',\n \'REQUEST_URI\': \'/admin/queue/run/add/\',\n \'SCRIPT_NAME\': u\'\',\n \'SERVER_NAME\': \'queue.speeddemosarchive.com\',\n \'SERVER_PORT\': \'80\',\n \'SERVER_PROTOCOL\': \'HTTP/1.1\',\n \'uwsgi.node\': \'mikoto.taigaforum.com\',\n \'uwsgi.version\': \'1.2.5\',\n \'wsgi.errors\': <open file \'wsgi_errors\', mode \'w\' at 0x21908a0>,\n \'wsgi.file_wrapper\': <built-in function uwsgi_sendfile>,\n \'wsgi.input\': <uwsgi._Input object at 0x1c50760>,\n \'wsgi.multiprocess\': False,\n \'wsgi.multithread\': False,\n \'wsgi.run_once\': False,\n \'wsgi.url_scheme\': \'http\',\n \'wsgi.version\': (1, 0)}>'
- self
- <django.contrib.admin.sites.AdminSite object at 0x26ff810>
- kwargs
- {}
- /usr/local/lib/python2.6/dist-packages/django/utils/decorators.py in _wrapper
- def _wrapper(self, *args, **kwargs):
- @decorator
- def bound_func(*args2, **kwargs2):
- return func(self, *args2, **kwargs2)
- # bound_func has the signature that 'decorator' expects i.e. no
- # 'self' argument, but it is a closure over self so it can call
- # 'func' correctly.
- return bound_func(*args, **kwargs)
- ...
- # In case 'decorator' adds attributes to the function it decorates, we
- # want to copy those. We don't have access to bound_func in this scope,
- # but we can cheat by using it on a dummy function.
- @decorator
- def dummy(*args, **kwargs):
- pass
- ▶ Local vars
- Variable Value
- self
- <queue.admin.RunAdmin object at 0x2992310>
- args
- (<WSGIRequest
- path:/admin/queue/run/add/,
- GET:<QueryDict: {}>,
- POST:<QueryDict: {u'completiondate': [u'2013-01-03'], u'runner_text': [u''], u'runfile_set-TOTAL_FORMS': [u'1'], u'runner': [u'109'], u'verificationnote': [u''], u'link_set-0-id': [u''], u'submissiondate': [u'2013-01-20'], u'link_set-0-url': [u''], u'runfile_set-0-run': [u''], u'statid': [u''], u'link_set-0-run': [u''], u'link_set-__prefix__-id': [u''], u'comment_set-__prefix__-state': [u'1'], u'initial-comment_set-__prefix__-state': [u'1'], u'commentaryfile': [u''], u'link_set-0-linktype': [u''], u'_continue': [u'Save and continue editing'], u'runfile_set-0-id': [u''], u'extra_runners_text': [u''], u'comment_set-__prefix__-checkpoint': [u''], u'segments': [u'1'], u'tags': [u'|'], u'percent': [u'1'], u'comments': [u"<p>Comment by I have no name:<br />This run started with the vague notion of combining my two favorite things as of a year ago; speedrunning and Touhou. Of course, I was a horrible player back then, barely able to clear easy mode, but I stayed with it and improved. Cut to May 2nd, 2012. I finally go ahead with the Double Spoiler IL table idea, posting 2 threads, one here, on SDA and the other, on a Touhou forum called <url=”shrinemaiden.org”>Maidens of the Kaleidoscope</url> (MoTK). Here on SDA, only one person expressed any interest during the initial wave of submissions, while MoTK’s thread reached 100 posts within a week, resulting in all scenes except 11-2 completed. I personally contributed about 20 different scenes, although most of them have since been improved. As I continually kept the table up to date, I learned why the SDA mods hate IL tables, and so I apologize for dumping this 108 IL monstrosity on you (but hey, at least it isn’t Super Meat Boy)<br /><br />Comment by ARF:<br />I've been interested in speedrunning for a couple of years now, I always wanted to try completing a good run and submitting it, but never really felt that I had any special proficiency in any of the games I played at the time. When I have no name started this project in May I felt that I had to give it a go, I already liked Double Spoiler and figured I could make something happen here. I was really bad initially, but over time as I learned more about the game's inner workings, I surprised myself in how easy beating some previously impossible scenes had gotten. Unlike Shoot the Bullet, there were no precedents in speedrunning this game as far as I'm aware. This lead to much back and forth in strategies and overall a very exciting journey. I'm sure that even now there are still plenty of things left undiscovered, and who knows... maybe even sub 43 minutes total will be possible one day!<br /><br />Comment by DarkDespair5:<br />You people are crazy =P</p>"], u'selfencoded': [u'on'], u'comment_set-0-run': [u''], u'state': [u'2'], u'link_set-__prefix__-linktype': [u''], u'runfile_set-__prefix__-filetype': [u''], u'runfile_set-MAX_NUM_FORMS': [u''], u'csrfmiddlewaretoken': [u'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC'], u'comment_set-0-id': [u''], u'extra_runners': [u'|241241|115|116|'], u'comment_set-__prefix__-run': [u''], u'segmentation': [u'3'], u'link_set-TOTAL_FORMS': [u'1'], u'comment_set-__prefix__-comment': [u''], u'variant_text': [u''], u'runfile_set-0-filetype': [u'1'], u'comment_set-INITIAL_FORMS': [u'0'], u'variant': [u'143'], u'runfile_set-__prefix__-file': [u''], u'difficulty': [u''], u'runfile_set-__prefix__-run': [u''], u'comment_set-0-state': [u'1'], u'comment_set-TOTAL_FORMS': [u'1'], u'comment_set-0-checkpoint': [u''], u'tags_text': [u''], u'sdaid': [u''], u'initial-comment_set-0-state': [u'1'], u'runfile_set-__prefix__-id': [u''], u'name': [u'DoubleSpoilerIL 2013.1.20'], u'runfile_set-INITIAL_FORMS': [u'0'], u'link_set-__prefix__-run': [u''], u'link_set-__prefix__-url': [u''], u'comment_set-MAX_NUM_FORMS': [u''], u'link_set-INITIAL_FORMS': [u'0'], u'link_set-MAX_NUM_FORMS': [u''], u'comment_set-0-comment': [u''], u'initial-state': [u'2'], u'runtime': [u'00:44:53'], u'comment_set-__prefix__-id': [u'']}>,
- COOKIES:{'__utma': '180217190.1098897087.1358396189.1358579633.1358643973.5',
- '__utmz': '180217190.1358643973.5.2.utmccn=(referral)|utmcsr=forum.speeddemosarchive.com|utmcct=/post/the_final_fantasy_marathon_thread.html|utmcmd=referral',
- 'csrftoken': 'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC',
- 'sda_tid': '116256b3bbaab0ae551a4cef71e4a5b7e5f6e012',
- 'sessionid': 'f2e8da4e884ea0e512c380037a376804'},
- META:{'CONTENT_LENGTH': '38699',
- 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------21781159926777',
- 'CSRF_COOKIE': 'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC',
- 'DOCUMENT_ROOT': '/home/sda/queue',
- 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
- 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
- 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
- 'HTTP_CONNECTION': 'keep-alive',
- 'HTTP_CONTENT_LENGTH': '38699',
- 'HTTP_CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------21781159926777',
- 'HTTP_COOKIE': 'sda_tid=116256b3bbaab0ae551a4cef71e4a5b7e5f6e012; csrftoken=P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC; __utma=180217190.1098897087.1358396189.1358579633.1358643973.5; __utmz=180217190.1358643973.5.2.utmccn=(referral)|utmcsr=forum.speeddemosarchive.com|utmcct=/post/the_final_fantasy_marathon_thread.html|utmcmd=referral; sessionid=f2e8da4e884ea0e512c380037a376804',
- 'HTTP_HOST': 'queue.speeddemosarchive.com',
- 'HTTP_REFERER': 'http://queue.speeddemosarchive.com/admin/queue/run/add/',
- 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0',
- 'PATH_INFO': u'/admin/queue/run/add/',
- 'QUERY_STRING': '',
- 'REMOTE_ADDR': '173.27.217.2',
- 'REMOTE_PORT': '55061',
- 'REQUEST_METHOD': 'POST',
- 'REQUEST_URI': '/admin/queue/run/add/',
- 'SCRIPT_NAME': u'',
- 'SERVER_NAME': 'queue.speeddemosarchive.com',
- 'SERVER_PORT': '80',
- 'SERVER_PROTOCOL': 'HTTP/1.1',
- 'uwsgi.node': 'mikoto.taigaforum.com',
- 'uwsgi.version': '1.2.5',
- 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x21908a0>,
- 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,
- 'wsgi.input': <uwsgi._Input object at 0x1c50760>,
- 'wsgi.multiprocess': False,
- 'wsgi.multithread': False,
- 'wsgi.run_once': False,
- 'wsgi.url_scheme': 'http',
- 'wsgi.version': (1, 0)}>,)
- bound_func
- <function bound_func at 0x2b1b7d0>
- func
- <function add_view at 0x25e2c08>
- kwargs
- {}
- decorator
- <function csrf_protect at 0x25a0848>
- /usr/local/lib/python2.6/dist-packages/django/utils/decorators.py in _wrapped_view
- if result is not None:
- return result
- if hasattr(middleware, 'process_view'):
- result = middleware.process_view(request, view_func, args, kwargs)
- if result is not None:
- return result
- try:
- response = view_func(request, *args, **kwargs)
- ...
- except Exception, e:
- if hasattr(middleware, 'process_exception'):
- result = middleware.process_exception(request, e)
- if result is not None:
- return result
- raise
- ▶ Local vars
- Variable Value
- e
- IntegrityError('insert or update on table "queue_run_extra_runners" violates foreign key constraint "runner_id_refs_id_2fb644a2"\nDETAIL: Key (runner_id)=(241241) is not present in table "queue_runner".\n',)
- middleware
- <django.middleware.csrf.CsrfViewMiddleware object at 0x25a1bd0>
- args
- ()
- request
- '<WSGIRequest\npath:/admin/queue/run/add/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {u\'completiondate\': [u\'2013-01-03\'], u\'runner_text\': [u\'\'], u\'runfile_set-TOTAL_FORMS\': [u\'1\'], u\'runner\': [u\'109\'], u\'verificationnote\': [u\'\'], u\'link_set-0-id\': [u\'\'], u\'submissiondate\': [u\'2013-01-20\'], u\'link_set-0-url\': [u\'\'], u\'runfile_set-0-run\': [u\'\'], u\'statid\': [u\'\'], u\'link_set-0-run\': [u\'\'], u\'link_set-__prefix__-id\': [u\'\'], u\'comment_set-__prefix__-state\': [u\'1\'], u\'initial-comment_set-__prefix__-state\': [u\'1\'], u\'commentaryfile\': [u\'\'], u\'link_set-0-linktype\': [u\'\'], u\'_continue\': [u\'Save and continue editing\'], u\'runfile_set-0-id\': [u\'\'], u\'extra_runners_text\': [u\'\'], u\'comment_set-__prefix__-checkpoint\': [u\'\'], u\'segments\': [u\'1\'], u\'tags\': [u\'|\'], u\'percent\': [u\'1\'], u\'comments\': [u"<p>Comment by I have no name:<br />This run started with the vague notion of combining my two favorite things as of a year ago; speedrunning and Touhou. Of course, I was a horrible player back then, barely able to clear easy mode, but I stayed with it and improved. Cut to May 2nd, 2012. I finally go ahead with the Double Spoiler IL table idea, posting 2 threads, one here, on SDA and the other, on a Touhou forum called <url=”shrinemaiden.org”>Maidens of the Kaleidoscope</url> (MoTK). Here on SDA, only one person expressed any interest during the initial wave of submissions, while MoTK’s thread reached 100 posts within a week, resulting in all scenes except 11-2 completed. I personally contributed about 20 different scenes, although most of them have since been improved. As I continually kept the table up to date, I learned why the SDA mods hate IL tables, and so I apologize for dumping this 108 IL monstrosity on you (but hey, at least it isn’t Super Meat Boy)<br /><br />Comment by ARF:<br />I\'ve been interested in speedrunning for a couple of years now, I always wanted to try completing a good run and submitting it, but never really felt that I had any special proficiency in any of the games I played at the time. When I have no name started this project in May I felt that I had to give it a go, I already liked Double Spoiler and figured I could make something happen here. I was really bad initially, but over time as I learned more about the game\'s inner workings, I surprised myself in how easy beating some previously impossible scenes had gotten. Unlike Shoot the Bullet, there were no precedents in speedrunning this game as far as I\'m aware. This lead to much back and forth in strategies and overall a very exciting journey. I\'m sure that even now there are still plenty of things left undiscovered, and who knows... maybe even sub 43 minutes total will be possible one day!<br /><br />Comment by DarkDespair5:<br />You people are crazy =P</p>"], u\'selfencoded\': [u\'on\'], u\'comment_set-0-run\': [u\'\'], u\'state\': [u\'2\'], u\'link_set-__prefix__-linktype\': [u\'\'], u\'runfile_set-__prefix__-filetype\': [u\'\'], u\'runfile_set-MAX_NUM_FORMS\': [u\'\'], u\'csrfmiddlewaretoken\': [u\'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC\'], u\'comment_set-0-id\': [u\'\'], u\'extra_runners\': [u\'|241241|115|116|\'], u\'comment_set-__prefix__-run\': [u\'\'], u\'segmentation\': [u\'3\'], u\'link_set-TOTAL_FORMS\': [u\'1\'], u\'comment_set-__prefix__-comment\': [u\'\'], u\'variant_text\': [u\'\'], u\'runfile_set-0-filetype\': [u\'1\'], u\'comment_set-INITIAL_FORMS\': [u\'0\'], u\'variant\': [u\'143\'], u\'runfile_set-__prefix__-file\': [u\'\'], u\'difficulty\': [u\'\'], u\'runfile_set-__prefix__-run\': [u\'\'], u\'comment_set-0-state\': [u\'1\'], u\'comment_set-TOTAL_FORMS\': [u\'1\'], u\'comment_set-0-checkpoint\': [u\'\'], u\'tags_text\': [u\'\'], u\'sdaid\': [u\'\'], u\'initial-comment_set-0-state\': [u\'1\'], u\'runfile_set-__prefix__-id\': [u\'\'], u\'name\': [u\'DoubleSpoilerIL 2013.1.20\'], u\'runfile_set-INITIAL_FORMS\': [u\'0\'], u\'link_set-__prefix__-run\': [u\'\'], u\'link_set-__prefix__-url\': [u\'\'], u\'comment_set-MAX_NUM_FORMS\': [u\'\'], u\'link_set-INITIAL_FORMS\': [u\'0\'], u\'link_set-MAX_NUM_FORMS\': [u\'\'], u\'comment_set-0-comment\': [u\'\'], u\'initial-state\': [u\'2\'], u\'runtime\': [u\'00:44:53\'], u\'comment_set-__prefix__-id\': [u\'\']}>,\nCOOKIES:{\'__utma\': \'180217190.1098897087.1358396189.1358579633.1358643973.5\',\n \'__utmz\': \'180217190.1358643973.5.2.utmccn=(referral)|utmcsr=forum.speeddemosarchive.com|utmcct=/post/the_final_fantasy_marathon_thread.html|utmcmd=referral\',\n \'csrftoken\': \'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC\',\n \'sda_tid\': \'116256b3bbaab0ae551a4cef71e4a5b7e5f6e012\',\n \'sessionid\': \'f2e8da4e884ea0e512c380037a376804\'},\nMETA:{\'CONTENT_LENGTH\': \'38699\',\n \'CONTENT_TYPE\': \'multipart/form-data; boundary=---------------------------21781159926777\',\n \'CSRF_COOKIE\': \'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC\',\n \'DOCUMENT_ROOT\': \'/home/sda/queue\',\n \'HTTP_ACCEPT\': \'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\',\n \'HTTP_ACCEPT_ENCODING\': \'gzip, deflate\',\n \'HTTP_ACCEPT_LANGUAGE\': \'en-US,en;q=0.5\',\n \'HTTP_CONNECTION\': \'keep-alive\',\n \'HTTP_CONTENT_LENGTH\': \'38699\',\n \'HTTP_CONTENT_TYPE\': \'multipart/form-data; boundary=---------------------------21781159926777\',\n \'HTTP_COOKIE\': \'sda_tid=116256b3bbaab0ae551a4cef71e4a5b7e5f6e012; csrftoken=P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC; __utma=180217190.1098897087.1358396189.1358579633.1358643973.5; __utmz=180217190.1358643973.5.2.utmccn=(referral)|utmcsr=forum.speeddemosarchive.com|utmcct=/post/the_final_fantasy_marathon_thread.html|utmcmd=referral; sessionid=f2e8da4e884ea0e512c380037a376804\',\n \'HTTP_HOST\': \'queue.speeddemosarchive.com\',\n \'HTTP_REFERER\': \'http://queue.speeddemosarchive.com/admin/queue/run/add/\',\n \'HTTP_USER_AGENT\': \'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0\',\n \'PATH_INFO\': u\'/admin/queue/run/add/\',\n \'QUERY_STRING\': \'\',\n \'REMOTE_ADDR\': \'173.27.217.2\',\n \'REMOTE_PORT\': \'55061\',\n \'REQUEST_METHOD\': \'POST\',\n \'REQUEST_URI\': \'/admin/queue/run/add/\',\n \'SCRIPT_NAME\': u\'\',\n \'SERVER_NAME\': \'queue.speeddemosarchive.com\',\n \'SERVER_PORT\': \'80\',\n \'SERVER_PROTOCOL\': \'HTTP/1.1\',\n \'uwsgi.node\': \'mikoto.taigaforum.com\',\n \'uwsgi.version\': \'1.2.5\',\n \'wsgi.errors\': <open file \'wsgi_errors\', mode \'w\' at 0x21908a0>,\n \'wsgi.file_wrapper\': <built-in function uwsgi_sendfile>,\n \'wsgi.input\': <uwsgi._Input object at 0x1c50760>,\n \'wsgi.multiprocess\': False,\n \'wsgi.multithread\': False,\n \'wsgi.run_once\': False,\n \'wsgi.url_scheme\': \'http\',\n \'wsgi.version\': (1, 0)}>'
- result
- None
- kwargs
- {}
- view_func
- <function bound_func at 0x2a975f0>
- /usr/local/lib/python2.6/dist-packages/django/utils/decorators.py in bound_func
- """
- # 'func' is a function at the time it is passed to _dec, but will eventually
- # be a method of the class it is defined it.
- def _dec(func):
- def _wrapper(self, *args, **kwargs):
- @decorator
- def bound_func(*args2, **kwargs2):
- return func(self, *args2, **kwargs2)
- ...
- # bound_func has the signature that 'decorator' expects i.e. no
- # 'self' argument, but it is a closure over self so it can call
- # 'func' correctly.
- return bound_func(*args, **kwargs)
- # In case 'decorator' adds attributes to the function it decorates, we
- # want to copy those. We don't have access to bound_func in this scope,
- ▶ Local vars
- Variable Value
- args2
- (<WSGIRequest
- path:/admin/queue/run/add/,
- GET:<QueryDict: {}>,
- POST:<QueryDict: {u'completiondate': [u'2013-01-03'], u'runner_text': [u''], u'runfile_set-TOTAL_FORMS': [u'1'], u'runner': [u'109'], u'verificationnote': [u''], u'link_set-0-id': [u''], u'submissiondate': [u'2013-01-20'], u'link_set-0-url': [u''], u'runfile_set-0-run': [u''], u'statid': [u''], u'link_set-0-run': [u''], u'link_set-__prefix__-id': [u''], u'comment_set-__prefix__-state': [u'1'], u'initial-comment_set-__prefix__-state': [u'1'], u'commentaryfile': [u''], u'link_set-0-linktype': [u''], u'_continue': [u'Save and continue editing'], u'runfile_set-0-id': [u''], u'extra_runners_text': [u''], u'comment_set-__prefix__-checkpoint': [u''], u'segments': [u'1'], u'tags': [u'|'], u'percent': [u'1'], u'comments': [u"<p>Comment by I have no name:<br />This run started with the vague notion of combining my two favorite things as of a year ago; speedrunning and Touhou. Of course, I was a horrible player back then, barely able to clear easy mode, but I stayed with it and improved. Cut to May 2nd, 2012. I finally go ahead with the Double Spoiler IL table idea, posting 2 threads, one here, on SDA and the other, on a Touhou forum called <url=”shrinemaiden.org”>Maidens of the Kaleidoscope</url> (MoTK). Here on SDA, only one person expressed any interest during the initial wave of submissions, while MoTK’s thread reached 100 posts within a week, resulting in all scenes except 11-2 completed. I personally contributed about 20 different scenes, although most of them have since been improved. As I continually kept the table up to date, I learned why the SDA mods hate IL tables, and so I apologize for dumping this 108 IL monstrosity on you (but hey, at least it isn’t Super Meat Boy)<br /><br />Comment by ARF:<br />I've been interested in speedrunning for a couple of years now, I always wanted to try completing a good run and submitting it, but never really felt that I had any special proficiency in any of the games I played at the time. When I have no name started this project in May I felt that I had to give it a go, I already liked Double Spoiler and figured I could make something happen here. I was really bad initially, but over time as I learned more about the game's inner workings, I surprised myself in how easy beating some previously impossible scenes had gotten. Unlike Shoot the Bullet, there were no precedents in speedrunning this game as far as I'm aware. This lead to much back and forth in strategies and overall a very exciting journey. I'm sure that even now there are still plenty of things left undiscovered, and who knows... maybe even sub 43 minutes total will be possible one day!<br /><br />Comment by DarkDespair5:<br />You people are crazy =P</p>"], u'selfencoded': [u'on'], u'comment_set-0-run': [u''], u'state': [u'2'], u'link_set-__prefix__-linktype': [u''], u'runfile_set-__prefix__-filetype': [u''], u'runfile_set-MAX_NUM_FORMS': [u''], u'csrfmiddlewaretoken': [u'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC'], u'comment_set-0-id': [u''], u'extra_runners': [u'|241241|115|116|'], u'comment_set-__prefix__-run': [u''], u'segmentation': [u'3'], u'link_set-TOTAL_FORMS': [u'1'], u'comment_set-__prefix__-comment': [u''], u'variant_text': [u''], u'runfile_set-0-filetype': [u'1'], u'comment_set-INITIAL_FORMS': [u'0'], u'variant': [u'143'], u'runfile_set-__prefix__-file': [u''], u'difficulty': [u''], u'runfile_set-__prefix__-run': [u''], u'comment_set-0-state': [u'1'], u'comment_set-TOTAL_FORMS': [u'1'], u'comment_set-0-checkpoint': [u''], u'tags_text': [u''], u'sdaid': [u''], u'initial-comment_set-0-state': [u'1'], u'runfile_set-__prefix__-id': [u''], u'name': [u'DoubleSpoilerIL 2013.1.20'], u'runfile_set-INITIAL_FORMS': [u'0'], u'link_set-__prefix__-run': [u''], u'link_set-__prefix__-url': [u''], u'comment_set-MAX_NUM_FORMS': [u''], u'link_set-INITIAL_FORMS': [u'0'], u'link_set-MAX_NUM_FORMS': [u''], u'comment_set-0-comment': [u''], u'initial-state': [u'2'], u'runtime': [u'00:44:53'], u'comment_set-__prefix__-id': [u'']}>,
- COOKIES:{'__utma': '180217190.1098897087.1358396189.1358579633.1358643973.5',
- '__utmz': '180217190.1358643973.5.2.utmccn=(referral)|utmcsr=forum.speeddemosarchive.com|utmcct=/post/the_final_fantasy_marathon_thread.html|utmcmd=referral',
- 'csrftoken': 'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC',
- 'sda_tid': '116256b3bbaab0ae551a4cef71e4a5b7e5f6e012',
- 'sessionid': 'f2e8da4e884ea0e512c380037a376804'},
- META:{'CONTENT_LENGTH': '38699',
- 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------21781159926777',
- 'CSRF_COOKIE': 'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC',
- 'DOCUMENT_ROOT': '/home/sda/queue',
- 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
- 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
- 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
- 'HTTP_CONNECTION': 'keep-alive',
- 'HTTP_CONTENT_LENGTH': '38699',
- 'HTTP_CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------21781159926777',
- 'HTTP_COOKIE': 'sda_tid=116256b3bbaab0ae551a4cef71e4a5b7e5f6e012; csrftoken=P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC; __utma=180217190.1098897087.1358396189.1358579633.1358643973.5; __utmz=180217190.1358643973.5.2.utmccn=(referral)|utmcsr=forum.speeddemosarchive.com|utmcct=/post/the_final_fantasy_marathon_thread.html|utmcmd=referral; sessionid=f2e8da4e884ea0e512c380037a376804',
- 'HTTP_HOST': 'queue.speeddemosarchive.com',
- 'HTTP_REFERER': 'http://queue.speeddemosarchive.com/admin/queue/run/add/',
- 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0',
- 'PATH_INFO': u'/admin/queue/run/add/',
- 'QUERY_STRING': '',
- 'REMOTE_ADDR': '173.27.217.2',
- 'REMOTE_PORT': '55061',
- 'REQUEST_METHOD': 'POST',
- 'REQUEST_URI': '/admin/queue/run/add/',
- 'SCRIPT_NAME': u'',
- 'SERVER_NAME': 'queue.speeddemosarchive.com',
- 'SERVER_PORT': '80',
- 'SERVER_PROTOCOL': 'HTTP/1.1',
- 'uwsgi.node': 'mikoto.taigaforum.com',
- 'uwsgi.version': '1.2.5',
- 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x21908a0>,
- 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,
- 'wsgi.input': <uwsgi._Input object at 0x1c50760>,
- 'wsgi.multiprocess': False,
- 'wsgi.multithread': False,
- 'wsgi.run_once': False,
- 'wsgi.url_scheme': 'http',
- 'wsgi.version': (1, 0)}>,)
- func
- <function add_view at 0x25e2c08>
- self
- <queue.admin.RunAdmin object at 0x2992310>
- kwargs2
- {}
- /usr/local/lib/python2.6/dist-packages/django/db/transaction.py in inner
- def __exit__(self, exc_type, exc_value, traceback):
- self.exiting(exc_value, self.using)
- def __call__(self, func):
- @wraps(func)
- def inner(*args, **kwargs):
- with self:
- return func(*args, **kwargs)
- ...
- return inner
- def _transaction_func(entering, exiting, using):
- """
- Takes 3 things, an entering function (what to do to start this block of
- transaction management), an exiting function (what to do to end it, on both
- ▶ Local vars
- Variable Value
- self
- <django.db.transaction.Transaction object at 0x25dae90>
- args
- (<queue.admin.RunAdmin object at 0x2992310>,
- <WSGIRequest
- path:/admin/queue/run/add/,
- GET:<QueryDict: {}>,
- POST:<QueryDict: {u'completiondate': [u'2013-01-03'], u'runner_text': [u''], u'runfile_set-TOTAL_FORMS': [u'1'], u'runner': [u'109'], u'verificationnote': [u''], u'link_set-0-id': [u''], u'submissiondate': [u'2013-01-20'], u'link_set-0-url': [u''], u'runfile_set-0-run': [u''], u'statid': [u''], u'link_set-0-run': [u''], u'link_set-__prefix__-id': [u''], u'comment_set-__prefix__-state': [u'1'], u'initial-comment_set-__prefix__-state': [u'1'], u'commentaryfile': [u''], u'link_set-0-linktype': [u''], u'_continue': [u'Save and continue editing'], u'runfile_set-0-id': [u''], u'extra_runners_text': [u''], u'comment_set-__prefix__-checkpoint': [u''], u'segments': [u'1'], u'tags': [u'|'], u'percent': [u'1'], u'comments': [u"<p>Comment by I have no name:<br />This run started with the vague notion of combining my two favorite things as of a year ago; speedrunning and Touhou. Of course, I was a horrible player back then, barely able to clear easy mode, but I stayed with it and improved. Cut to May 2nd, 2012. I finally go ahead with the Double Spoiler IL table idea, posting 2 threads, one here, on SDA and the other, on a Touhou forum called <url=”shrinemaiden.org”>Maidens of the Kaleidoscope</url> (MoTK). Here on SDA, only one person expressed any interest during the initial wave of submissions, while MoTK’s thread reached 100 posts within a week, resulting in all scenes except 11-2 completed. I personally contributed about 20 different scenes, although most of them have since been improved. As I continually kept the table up to date, I learned why the SDA mods hate IL tables, and so I apologize for dumping this 108 IL monstrosity on you (but hey, at least it isn’t Super Meat Boy)<br /><br />Comment by ARF:<br />I've been interested in speedrunning for a couple of years now, I always wanted to try completing a good run and submitting it, but never really felt that I had any special proficiency in any of the games I played at the time. When I have no name started this project in May I felt that I had to give it a go, I already liked Double Spoiler and figured I could make something happen here. I was really bad initially, but over time as I learned more about the game's inner workings, I surprised myself in how easy beating some previously impossible scenes had gotten. Unlike Shoot the Bullet, there were no precedents in speedrunning this game as far as I'm aware. This lead to much back and forth in strategies and overall a very exciting journey. I'm sure that even now there are still plenty of things left undiscovered, and who knows... maybe even sub 43 minutes total will be possible one day!<br /><br />Comment by DarkDespair5:<br />You people are crazy =P</p>"], u'selfencoded': [u'on'], u'comment_set-0-run': [u''], u'state': [u'2'], u'link_set-__prefix__-linktype': [u''], u'runfile_set-__prefix__-filetype': [u''], u'runfile_set-MAX_NUM_FORMS': [u''], u'csrfmiddlewaretoken': [u'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC'], u'comment_set-0-id': [u''], u'extra_runners': [u'|241241|115|116|'], u'comment_set-__prefix__-run': [u''], u'segmentation': [u'3'], u'link_set-TOTAL_FORMS': [u'1'], u'comment_set-__prefix__-comment': [u''], u'variant_text': [u''], u'runfile_set-0-filetype': [u'1'], u'comment_set-INITIAL_FORMS': [u'0'], u'variant': [u'143'], u'runfile_set-__prefix__-file': [u''], u'difficulty': [u''], u'runfile_set-__prefix__-run': [u''], u'comment_set-0-state': [u'1'], u'comment_set-TOTAL_FORMS': [u'1'], u'comment_set-0-checkpoint': [u''], u'tags_text': [u''], u'sdaid': [u''], u'initial-comment_set-0-state': [u'1'], u'runfile_set-__prefix__-id': [u''], u'name': [u'DoubleSpoilerIL 2013.1.20'], u'runfile_set-INITIAL_FORMS': [u'0'], u'link_set-__prefix__-run': [u''], u'link_set-__prefix__-url': [u''], u'comment_set-MAX_NUM_FORMS': [u''], u'link_set-INITIAL_FORMS': [u'0'], u'link_set-MAX_NUM_FORMS': [u''], u'comment_set-0-comment': [u''], u'initial-state': [u'2'], u'runtime': [u'00:44:53'], u'comment_set-__prefix__-id': [u'']}>,
- COOKIES:{'__utma': '180217190.1098897087.1358396189.1358579633.1358643973.5',
- '__utmz': '180217190.1358643973.5.2.utmccn=(referral)|utmcsr=forum.speeddemosarchive.com|utmcct=/post/the_final_fantasy_marathon_thread.html|utmcmd=referral',
- 'csrftoken': 'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC',
- 'sda_tid': '116256b3bbaab0ae551a4cef71e4a5b7e5f6e012',
- 'sessionid': 'f2e8da4e884ea0e512c380037a376804'},
- META:{'CONTENT_LENGTH': '38699',
- 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------21781159926777',
- 'CSRF_COOKIE': 'P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC',
- 'DOCUMENT_ROOT': '/home/sda/queue',
- 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
- 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
- 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
- 'HTTP_CONNECTION': 'keep-alive',
- 'HTTP_CONTENT_LENGTH': '38699',
- 'HTTP_CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------21781159926777',
- 'HTTP_COOKIE': 'sda_tid=116256b3bbaab0ae551a4cef71e4a5b7e5f6e012; csrftoken=P8wTvwA2nYW7XSoBsie4IM4P69KfAyKC; __utma=180217190.1098897087.1358396189.1358579633.1358643973.5; __utmz=180217190.1358643973.5.2.utmccn=(referral)|utmcsr=forum.speeddemosarchive.com|utmcct=/post/the_final_fantasy_marathon_thread.html|utmcmd=referral; sessionid=f2e8da4e884ea0e512c380037a376804',
- 'HTTP_HOST': 'queue.speeddemosarchive.com',
- 'HTTP_REFERER': 'http://queue.speeddemosarchive.com/admin/queue/run/add/',
- 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0',
- 'PATH_INFO': u'/admin/queue/run/add/',
- 'QUERY_STRING': '',
- 'REMOTE_ADDR': '173.27.217.2',
- 'REMOTE_PORT': '55061',
- 'REQUEST_METHOD': 'POST',
- 'REQUEST_URI': '/admin/queue/run/add/',
- 'SCRIPT_NAME': u'',
- 'SERVER_NAME': 'queue.speeddemosarchive.com',
- 'SERVER_PORT': '80',
- 'SERVER_PROTOCOL': 'HTTP/1.1',
- 'uwsgi.node': 'mikoto.taigaforum.com',
- 'uwsgi.version': '1.2.5',
- 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x21908a0>,
- 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,
- 'wsgi.input': <uwsgi._Input object at 0x1c50760>,
- 'wsgi.multiprocess': False,
- 'wsgi.multithread': False,
- 'wsgi.run_once': False,
- 'wsgi.url_scheme': 'http',
- 'wsgi.version': (1, 0)}>)
- func
- <function add_view at 0x25e2aa0>
- kwargs
- {}
- /usr/local/lib/python2.6/dist-packages/django/db/transaction.py in __exit__
- self.exiting = exiting
- self.using = using
- def __enter__(self):
- self.entering(self.using)
- def __exit__(self, exc_type, exc_value, traceback):
- self.exiting(exc_value, self.using)
- ...
- def __call__(self, func):
- @wraps(func)
- def inner(*args, **kwargs):
- with self:
- return func(*args, **kwargs)
- ▶ Local vars
- Variable Value
- self
- <django.db.transaction.Transaction object at 0x25dae90>
- traceback
- None
- exc_value
- None
- exc_type
- None
- /usr/local/lib/python2.6/dist-packages/django/db/transaction.py in exiting
- try:
- if exc_value is not None:
- if is_dirty(using=using):
- rollback(using=using)
- else:
- if is_dirty(using=using):
- try:
- commit(using=using)
- ...
- except:
- rollback(using=using)
- raise
- finally:
- leave_transaction_management(using=using)
- ▶ Local vars
- Variable Value
- using
- 'default'
- exc_value
- None
- /usr/local/lib/python2.6/dist-packages/django/db/transaction.py in commit
- def commit(using=None):
- """
- Does the commit itself and resets the dirty flag.
- """
- if using is None:
- using = DEFAULT_DB_ALIAS
- connection = connections[using]
- connection.commit()
- ...
- def rollback(using=None):
- """
- This function does the rollback itself and resets the dirty flag.
- """
- if using is None:
- ▶ Local vars
- Variable Value
- using
- 'default'
- connection
- <django.db.backends.postgresql_psycopg2.base.DatabaseWrapper object at 0x223e810>
- /usr/local/lib/python2.6/dist-packages/django/db/backends/__init__.py in commit
- self.set_dirty()
- def commit(self):
- """
- Does the commit itself and resets the dirty flag.
- """
- self.validate_thread_sharing()
- self._commit()
- ...
- self.set_clean()
- def rollback(self):
- """
- This function does the rollback itself and resets the dirty flag.
- """
- ▶ Local vars
- Variable Value
- self
- <django.db.backends.postgresql_psycopg2.base.DatabaseWrapper object at 0x223e810>
- /usr/local/lib/python2.6/dist-packages/django/db/backends/postgresql_psycopg2/base.py in _commit
- finally:
- self.isolation_level = level
- self.features.uses_savepoints = bool(level)
- def _commit(self):
- if self.connection is not None:
- try:
- return self.connection.commit()
- ...
- except Database.IntegrityError, e:
- raise utils.IntegrityError, utils.IntegrityError(*tuple(e)), sys.exc_info()[2]
- ▶ Local vars
- Variable Value
- self
- <django.db.backends.postgresql_psycopg2.base.DatabaseWrapper object at 0x223e810>
- e
- IntegrityError('insert or update on table "queue_run_extra_runners" violates foreign key constraint "runner_id_refs_id_2fb644a2"\nDETAIL: Key (runner_id)=(241241) is not present in table "queue_runner".\n',)
- Environment: Request Method: POST Request URL: http://queue.speeddemosarchive.com/admin/queue/run/add/ Django Version: 1.4.1 Python Version: 2.6.6 Installed Applications: ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'queue', 'ajax_select', 'smart_selects', 'taiga', 'tinymce') Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') Traceback: File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py" in get_response 111. response = callback(request, *callback_args, **callback_kwargs) File "/usr/local/lib/python2.6/dist-packages/django/contrib/admin/options.py" in wrapper 366. return self.admin_site.admin_view(view)(*args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/django/utils/decorators.py" in _wrapped_view 91. response = view_func(request, *args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/django/views/decorators/cache.py" in _wrapped_view_func 89. response = view_func(request, *args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/django/contrib/admin/sites.py" in inner 196. return view(request, *args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/django/utils/decorators.py" in _wrapper 25. return bound_func(*args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/django/utils/decorators.py" in _wrapped_view 91. response = view_func(request, *args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/django/utils/decorators.py" in bound_func 21. return func(self, *args2, **kwargs2) File "/usr/local/lib/python2.6/dist-packages/django/db/transaction.py" in inner 209. return func(*args, **kwargs) File "/usr/local/lib/python2.6/dist-packages/django/db/transaction.py" in __exit__ 203. self.exiting(exc_value, self.using) File "/usr/local/lib/python2.6/dist-packages/django/db/transaction.py" in exiting 267. commit(using=using) File "/usr/local/lib/python2.6/dist-packages/django/db/transaction.py" in commit 138. connection.commit() File "/usr/local/lib/python2.6/dist-packages/django/db/backends/__init__.py" in commit 223. self._commit() File "/usr/local/lib/python2.6/dist-packages/django/db/backends/postgresql_psycopg2/base.py" in _commit 235. return self.connection.commit() Exception Type: IntegrityError at /admin/queue/run/add/ Exception Value: insert or update on table "queue_run_extra_runners" violates foreign key constraint "runner_id_refs_id_2fb644a2" DETAIL: Key (runner_id)=(241241) is not present in table "queue_runner".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement