Page MenuHomePhabricator
Paste P2686

key not found in stash
ActivePublic

Authored by zhuyifei1999 on Feb 29 2016, 9:06 AM.
Tags
None
Referenced Files
F3452328: key not found in stash
Feb 29 2016, 9:06 AM
Subscribers
None
[2016-02-29 07:53:56,957: WARNING/Worker-4] -1: Uploading...
[2016-02-29 07:53:57,462: INFO/Worker-4] Sleeping for 9.1 seconds, 2016-02-29 07:53:57
[2016-02-29 07:54:35,442: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 07:54:58,630: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 07:55:23,038: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 07:55:46,353: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 07:56:10,213: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 07:56:34,484: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 07:56:56,492: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 07:57:20,793: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 07:57:43,597: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 07:58:07,834: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 07:58:34,053: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 07:58:59,173: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 07:59:22,964: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 07:59:48,386: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 08:00:11,607: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 08:00:43,108: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 08:01:11,025: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 08:01:37,672: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 08:02:01,492: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 08:04:18,741: WARNING/Worker-4] Http response status 503
[2016-02-29 08:04:18,743: VERBOSE/Worker-4] Http response doesn't contain a charset.
[2016-02-29 08:04:18,749: WARNING/Worker-4] Non-JSON response received from server commons:commons; the server may be down.
[2016-02-29 08:04:18,749: WARNING/Worker-4] Waiting 5 seconds before retrying.
[2016-02-29 08:04:23,756: VERBOSE/Worker-4] Submitting unthrottled action 'upload'.
[2016-02-29 08:04:40,779: WARNING/Worker-4] API error stashedfilenotfound: Could not find the file in the stash: key '13ucutq7lvxw.tklt8l.14108.ogx' not found in stash
[2016-02-29 08:04:40,781: VERBOSE/Worker-4] API Error: query=
u"{u'ignorewarnings': [False], u'maxlag': ['5'], u'format': [u'json'], u'filekey': [u'13ucutq7lvxw.tklt8l.14108.ogx'], u'stash': [True], u'filename': [u'1924 \\u0421\\u0442\\u0430\\u0447\\u043a\\u0430.ogv'], u'assert': [u'user'], u'token': [u'ffd8c2<REDACTED>d3f915+\\\\'], u'filesize': [1337930716], u'offset': [1275068416], u'action': [u'upload']}"
[2016-02-29 08:04:40,781: VERBOSE/Worker-4] response=
{u'servedby': u'mw1137', u'error': {u'info': u"Could not find the file in the stash: key '13ucutq7lvxw.tklt8l.14108.ogx' not found in stash", u'code': u'stashedfilenotfound', u'help': u'See https://commons.wikimedia.org/w/api.php for API usage'}}
[2016-02-29 08:04:40,793: WARNING/Worker-4] -1: Cleaning up...
[2016-02-29 08:04:41,634: ERROR/MainProcess] Task worker.main[5b5de5fe-fc11-4ec0-8e8b-d17e11b2aac0] raised unexpected: TaskError("pywikibot.Error: APIError: stashedfilenotfound: Could not find the file in the stash: key '13ucutq7lvxw.tklt8l.14108.ogx' not found in stash [help:See https://commons.wikimedia.org/w/api.php for API usage]",)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 438, in __protected_call__
return self.run(*args, **kwargs)
File "/srv/v2c/backend/worker.py", line 77, in main
filename, wikifileurl = upload.upload(file, filename, url, http_host, filedesc, username, statuscallback, errorcallback)
File "/srv/v2c/backend/upload/__init__.py", line 49, in upload
if site.upload(page, source_filename=filename, comment=comment, text=filedesc, chunk_size=chunked, ignore_warnings=['exists-normalized']):
File "/usr/local/lib/python2.7/dist-packages/pywikibot-3.0.dev0-py2.7.egg/pywikibot/tools/__init__.py", line 1357, in wrapper
return obj(*__args, **__kw)
File "/usr/local/lib/python2.7/dist-packages/pywikibot-3.0.dev0-py2.7.egg/pywikibot/site.py", line 5799, in upload
raise error
TaskError: pywikibot.Error: APIError: stashedfilenotfound: Could not find the file in the stash: key '13ucutq7lvxw.tklt8l.14108.ogx' not found in stash [help:See https://commons.wikimedia.org/w/api.php for API usage]