Skip to content

Stopped uploading after ~120 images #26

@vitaly-zdanevich

Description

@vitaly-zdanevich

Part of the log:

exported 0111 Бобруйск, угол ул Бахарова и Пушкина.jpg
/tmp/0112 Бобруйск, ул Бахарова (в сторону ул Советской).
register_storage_store: exporting the following image:
/tmp/0112 Бобруйск, ул Бахарова (в сторону ул Советской).()
Performing HTTP request
  Path:	https://commons.wikimedia.org/w/api.php
  Request body:	format=json&action=query&meta=tokens&type=csrf
  Result status:	200
  Result body:	{"batchcomplete":"","query":{"tokens":{"csrftoken=***}}}
exported 0112 Бобруйск, ул Бахарова (в сторону ул Советской).jpg
/tmp/0114 Бобруйск, ул Бахарова 64.
register_storage_store: exporting the following image:
/tmp/0114 Бобруйск, ул Бахарова 64.()
Performing HTTP request
  Path:	https://commons.wikimedia.org/w/api.php
  Request body:	format=json&action=query&meta=tokens&type=csrf
  Result status:	200
  Result body:	{"batchcomplete":"","query":{"tokens":{"csrftoken=***}}}
exported 0114 Бобруйск, ул Бахарова 64.jpg
/tmp/0115 Бобруйск.
register_storage_store: exporting the following image:
/tmp/0115 Бобруйск.()
Performing HTTP request
  Path:	https://commons.wikimedia.org/w/api.php
  Request body:	format=json&action=query&meta=tokens&type=csrf
  Result status:	200
  Result body:	{"batchcomplete":"","query":{"tokens":{"csrftoken=***}}}
exported 0115 Бобруйск.jpg
/tmp/0116 Бобруйск.
register_storage_store: exporting the following image:
/tmp/0116 Бобруйск.()
Performing HTTP request
  Path:	https://commons.wikimedia.org/w/api.php
  Request body:	format=json&action=query&meta=tokens&type=csrf
  Result status:	200
  Result body:	{"batchcomplete":"","query":{"tokens":{"csrftoken=***}}}
exported 0116 Бобруйск.jpg
/tmp/0117 Бобруйск.
register_storage_store: exporting the following image:
/tmp/0117 Бобруйск.()
Performing HTTP request
  Path:	https://commons.wikimedia.org/w/api.php
  Request body:	format=json&action=query&meta=tokens&type=csrf
  Result status:	200
  Result body:	{"batchcomplete":"","query":{"tokens":{"csrftoken=***}}}
exported 0117 Бобруйск.jpg
/tmp/0118 Бобруйск.
register_storage_store: exporting the following image:
/tmp/0118 Бобруйск.()
Performing HTTP request
  Path:	https://commons.wikimedia.org/w/api.php
  Request body:	format=json&action=query&meta=tokens&type=csrf
  Result status:	200
  Result body:	{"batchcomplete":"","query":{"tokens":{"csrftoken=***}}}
exported 0118 Бобруйск.jpg
/tmp/0119 Бобруйск, угол ул Пушкина и Бахарова.
register_storage_store: exporting the following image:
/tmp/0119 Бобруйск, угол ул Пушкина и Бахарова.()
Performing HTTP request
  Path:	https://commons.wikimedia.org/w/api.php
  Request body:	format=json&action=query&meta=tokens&type=csrf
  Result status:	200
  Result body:	{"batchcomplete":"","query":{"tokens":{"csrftoken=***}}}
exported 0119 Бобруйск, угол ул Пушкина и Бахарова.jpg
/tmp/0120 Бобруйск.
register_storage_store: exporting the following image:
/tmp/0120 Бобруйск.()
Performing HTTP request
  Path:	https://commons.wikimedia.org/w/api.php
  Request body:	format=json&action=query&meta=tokens&type=csrf
  Result status:	200
  Result body:	{"batchcomplete":"","query":{"tokens":{"csrftoken=***}}}
exported 0120 Бобруйск.jpg
/tmp/0121 Бобруйск.
register_storage_store: exporting the following image:
/tmp/0121 Бобруйск.()
Performing HTTP request
  Path:	https://commons.wikimedia.org/w/api.php
  Request body:	format=json&action=query&meta=tokens&type=csrf
  Result status:	200
  Result body:	{"batchcomplete":"","query":{"tokens":{"csrftoken=***}}}
exported 0121 Бобруйск.jpg
/tmp/0122 Бобруйск, ул Бахарова 55.
register_storage_store: exporting the following image:
/tmp/0122 Бобруйск, ул Бахарова 55.()
Performing HTTP request
  Path:	https://commons.wikimedia.org/w/api.php
  Request body:	format=json&action=query&meta=tokens&type=csrf
  Result status:	200
  Result body:	{"batchcomplete":"","query":{"tokens":{"csrftoken=***}}}
  2041.7278 LUA ERROR : ...e/darktable/lua/contrib/dtMediaWiki/lib/mediawikiapi.lua:132: attempt to index a nil value (field 'upload')
stack traceback:
	[C]: in metamethod 'index'
	...e/darktable/lua/contrib/dtMediaWiki/lib/mediawikiapi.lua:132: in function 'contrib/dtMediaWiki/lib/mediawikiapi.uploadfile'
	.../share/darktable/lua/contrib/dtMediaWiki/dtMediaWiki.lua:400: in function <.../share/darktable/lua/contrib/dtMediaWiki/dtMediaWiki.lua:386>
/tmp/0123 Бобруйск, ул Пушкина (в сторону ул Дзержинского).
register_storage_store: exporting the following image:
/tmp/0123 Бобруйск, ул Пушкина (в сторону ул Дзержинского).()
Performing HTTP request
  Path:	https://commons.wikimedia.org/w/api.php
  Request body:	format=json&action=query&meta=tokens&type=csrf
  Result status:	200
  Result body:	{"batchcomplete":"","query":{"tokens":{"csrftoken=***}}}
  2044.0981 LUA ERROR : ...e/darktable/lua/contrib/dtMediaWiki/lib/mediawikiapi.lua:132: attempt to index a nil value (field 'upload')
stack traceback:
	[C]: in metamethod 'index'
	...e/darktable/lua/contrib/dtMediaWiki/lib/mediawikiapi.lua:132: in function 'contrib/dtMediaWiki/lib/mediawikiapi.uploadfile'
	.../share/darktable/lua/contrib/dtMediaWiki/dtMediaWiki.lua:400: in function <.../share/darktable/lua/contrib/dtMediaWiki/dtMediaWiki.lua:386>
/tmp/0124 Бобруйск.
register_storage_store: exporting the following image:
/tmp/0124 Бобруйск.()
Performing HTTP request
  Path:	https://commons.wikimedia.org/w/api.php
  Request body:	format=json&action=query&meta=tokens&type=csrf
  Result status:	200
  Result body:	{"batchcomplete":"","query":{"tokens":{"csrftoken=***}}}
  2046.3047 LUA ERROR : ...e/darktable/lua/contrib/dtMediaWiki/lib/mediawikiapi.lua:132: attempt to index a nil value (field 'upload')
stack traceback:
	[C]: in metamethod 'index'
	...e/darktable/lua/contrib/dtMediaWiki/lib/mediawikiapi.lua:132: in function 'contrib/dtMediaWiki/lib/mediawikiapi.uploadfile'
	.../share/darktable/lua/contrib/dtMediaWiki/dtMediaWiki.lua:400: in function <.../share/darktable/lua/contrib/dtMediaWiki/dtMediaWiki.lua:386>
/tmp/0125 Бобруйск, ул Пушкина.
register_storage_store: exporting the following image:
/tmp/0125 Бобруйск, ул Пушкина.()
Performing HTTP request
  Path:	https://commons.wikimedia.org/w/api.php
  Request body:	format=json&action=query&meta=tokens&type=csrf
  Result status:	200
  Result body:	{"batchcomplete":"","query":{"tokens":{"csrftoken=***}}}
  2048.5071 LUA ERROR : ...e/darktable/lua/contrib/dtMediaWiki/lib/mediawikiapi.lua:132: attempt to index a nil value (field 'upload')
stack traceback:
	[C]: in metamethod 'index'
	...e/darktable/lua/contrib/dtMediaWiki/lib/mediawikiapi.lua:132: in function 'contrib/dtMediaWiki/lib/mediawikiapi.uploadfile'
	.../share/darktable/lua/contrib/dtMediaWiki/dtMediaWiki.lua:400: in function <.../share/darktable/lua/contrib/dtMediaWiki/dtMediaWiki.lua:386>
/tmp/0126 Бобруйск, ул Пушкина.
register_storage_store: exporting the following image:
/tmp/0126 Бобруйск, ул Пушкина.()
Performing HTTP request
  Path:	https://commons.wikimedia.org/w/api.php
  Request body:	format=json&action=query&meta=tokens&type=csrf
  Result status:	200
  Result body:	{"batchcomplete":"","query":{"tokens":{"csrftoken=***}}}
  2050.6752 LUA ERROR : ...e/darktable/lua/contrib/dtMediaWiki/lib/mediawikiapi.lua:132: attempt to index a nil value (field 'upload')
stack traceback:
	[C]: in metamethod 'index'
	...e/darktable/lua/contrib/dtMediaWiki/lib/mediawikiapi.lua:132: in function 'contrib/dtMediaWiki/lib/mediawikiapi.uploadfile'
	.../share/darktable/lua/contrib/dtMediaWiki/dtMediaWiki.lua:400: in function <.../share/darktable/lua/contrib/dtMediaWiki/dtMediaWiki.lua:386>
/tmp/0127 Бобруйск.
register_storage_store: exporting the following image:
/tmp/0127 Бобруйск.()
Performing HTTP request
  Path:	https://commons.wikimedia.org/w/api.php
  Request body:	format=json&action=query&meta=tokens&type=csrf
  Result status:	200
  Result body:	{"batchcomplete":"","query":{"tokens":{"csrftoken=***}}}
exported 0127 Бобруйск.jpg
/tmp/0128 Бобруйск, ул Пушкина 110 (синагога).
register_storage_store: exporting the following image:
/tmp/0128 Бобруйск, ул Пушкина 110 (синагога).()
Performing HTTP request

I printed the response and see:

{"servedby":"mw-api-ext.eqiad.main-87c985fc6-nb8pb","error":{"code":"ratelimited","info":"You've exceeded your rate limit. Please wait some time and try again.","*":"See https:\/\/commons.wikimedia.org\/w\/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at &lt;https:\/\/lists.wikimedia.org\/postorius\/lists\/mediawiki-api-announce.lists.wikimedia.org\/&gt; for notice of API deprecations and breaking changes."}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions