Page MenuHomePhabricator
Paste P2905

Last part of debug log (after logging the massive 4MB chunk)
ActivePublic

Authored by zhuyifei1999 on Apr 14 2016, 12:07 PM.
Tags
None
Referenced Files
F3872811: Last part of debug log (after logging the massive 4MB chunk)
Apr 14 2016, 12:07 PM
Subscribers
2016-04-14 11:55:26 api.py, 1980 in submit: DEBUG API response received from commons:commons:
{"upload":{"result":"Continue","offset":125164627,"filekey":"13y76lyal8og.e9uyal.1803702.webm"}}
2016-04-14 11:55:26 site.py, 5896 in upload: VERBOSE Old offset: 121634816; Returned offset: 125164627; Chunk size: 3529812
2016-04-14 11:55:26 site.py, 5897 in upload: WARNING Unexpected offset.
2016-04-14 11:55:26 api.py, 1473 in __init__: DEBUG Adding user assertion
2016-04-14 11:55:26 api.py, 1925 in submit: VERBOSE Submitting unthrottled action 'upload'.
2016-04-14 11:55:26 api.py, 1947 in submit: DEBUG API request to commons:commons (uses get: False):
Headers: {'Content-Type': u'multipart/form-data; boundary="===============6100145239360526832=="', 'MIME-Version': '1.0'}
URI: u'/w/api.php'
Body: '--===============6100145239360526832==\nContent-Type: text/plain\nMIME-Version: 1.0\nContent-disposition: form-data; name="maxlag"\n\n5\n--===============6100145239360526832==\nContent-Type: text/plain\nMIME-Version: 1.0\nContent-disposition: form-data; name="format"\n\njson\n--===============6100145239360526832==\nContent-Type: text/plain\nMIME-Version: 1.0\nContent-disposition: form-data; name="filekey"\n\n13y76lyal8og.e9uyal.1803702.webm\n--===============6100145239360526832==\nContent-Type: text/plain\nMIME-Version: 1.0\nContent-disposition: form-data; name="stash"\n\n\n--===============6100145239360526832==\nContent-Type: text/plain\nMIME-Version: 1.0\nContent-disposition: form-data; name="filename"\n\nBernie Supporters at the Bernie Sanders rally in Philadelphia, PA, April 2016.webm\n--===============6100145239360526832==\nContent-Type: text/plain\nMIME-Version: 1.0\nContent-disposition: form-data; name="assert"\n\nuser\n--===============6100145239360526832==\nContent-Type: text/plain\nMIME-Version: 1.0\nContent-disposition: form-data; name="token"\n\n0d2ca<REDACTED>84c6+\\\n--===============6100145239360526832==\nContent-Type: text/plain\nMIME-Version: 1.0\nContent-disposition: form-data; name="filesize"\n\n125164628\n--===============6100145239360526832==\nContent-Type: text/plain\nMIME-Version: 1.0\nContent-disposition: form-data; name="offset"\n\n125164627\n--===============6100145239360526832==\nContent-Type: text/plain\nMIME-Version: 1.0\nContent-disposition: form-data; name="action"\n\nupload\n--===============6100145239360526832==\nContent-Type: application/octet-stream\nMIME-Version: 1.0\nContent-disposition: form-data; name="chunk"; filename="FAKE-NAME"\nContent-Transfer-Encoding: binary\n\n\r\n--===============6100145239360526832==--\n'
2016-04-14 11:55:26 api.py, 1980 in submit: DEBUG API response received from commons:commons:
{"servedby":"mw1206","error":{"code":"chunk-too-small","info":"Minimum chunk size is 1024 bytes for non-final chunks","*":"See https://commons.wikimedia.org/w/api.php for API usage"}}
2016-04-14 11:55:26 api.py, 2087 in submit: WARNING API error chunk-too-small: Minimum chunk size is 1024 bytes for non-final chunks
2016-04-14 11:55:26 api.py, 2177 in submit: VERBOSE API Error: query=
u"{u'ignorewarnings': [False], u'maxlag': ['5'], u'format': [u'json'], u'filekey': [u'13y76lyal8og.e9uyal.1803702.webm'], u'stash': [True], u'filename': [u'Bernie Supporters at the Bernie Sanders rally in Philadelphia, PA, April 2016.webm'], u'assert': [u'user'], u'token': [u'0d2ca<REDACTED>84c6+\\\\'], u'filesize': [125164628], u'offset': [125164627], u'action': [u'upload']}"
2016-04-14 11:55:26 api.py, 2179 in submit: VERBOSE response=
{u'servedby': u'mw1206', u'error': {u'info': u'Minimum chunk size is 1024 bytes for non-final chunks', u'code': u'chunk-too-small', u'help': u'See https://commons.wikimedia.org/w/api.php for API usage'}}
2016-04-14 11:55:26 __init__.py, 886 in _flush: DEBUG _flush() called
2016-04-14 11:55:26 __init__.py, 921 in _flush: VERBOSE Dropped throttle(s).
2016-04-14 11:55:26 http.py, 97 in _flush: CRITICAL Closing network session.
2016-04-14 11:55:26 http.py, 101 in _flush: VERBOSE Network session closed.