JAnD created this task.
JAnD added a project: Pywikibot-i18n.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
i:\pwb>pwb.py newitem -subpage:0 -newpages:1500 -lang:cs -touch
-namespace:14
WARNING: .\scripts\newitem.py:148: ArgumentDeprecationWarning: Cannot
handle arg -namespaces as namespaces can not be altered after a generator is
created.
elif gen.handleArg(arg):
Page age is set to 7 days so only pages created
before 2019-03-02T10:14:36Z will be considered.
Last edit is set to 1 days so only pages last edited
before 2019-03-08T10:14:36Z will be considered.
WARNING: NewItemRobot.__init__ set the Bot.site property; this is only
needed when the Bot accesses many sites.
Retrieving 50 pages from wikipedia:cs.
>>> Dům čp. 133 (Štramberk) <<<
[[cs:Dům čp. 133 (Štramberk)]] already has an item: [[wikidata:Q31526951]].
Doing a null edit on the page.
0 pages read
0 pages written
Execution time: 1 seconds
Script terminated by exception:
ERROR: TranslationError: No English translation has been defined for
TranslateWiki key u'pywikibot-touch'
It can happen due to lack of i18n submodule or files. See
https://www.mediawiki.org/wiki/Manual:Pywikibot/i18n
Traceback (most recent call last):
File "I:\pwb\pwb.py", line 232, in <module>
if not main():
File "I:\pwb\pwb.py", line 225, in main
run_python_file(filename, [filename] + args, argvu, file_package)
File "I:\pwb\pwb.py", line 94, in run_python_file
main_mod.__dict__)
File ".\scripts\newitem.py", line 175, in <module>
main()
File ".\scripts\newitem.py", line 170, in main
bot.run()
File "I:\pwb\pywikibot\bot.py", line 1600, in run
super(Bot, self).run()
File "I:\pwb\pywikibot\bot.py", line 1508, in run
self.treat(page)
File "I:\pwb\pywikibot\bot.py", line 1735, in treat
self.treat_page()
File "I:\pwb\pywikibot\bot.py", line 2184, in treat_page
self.treat_page_and_item(page, item)
File ".\scripts\newitem.py", line 97, in treat_page_and_item
self._touch_page(page)
File ".\scripts\newitem.py", line 76, in _touch_page
page.touch()
File "I:\pwb\pywikibot\page.py", line 1426, in touch
summary = i18n.twtranslate(self.site, 'pywikibot-touch')
File "I:\pwb\pywikibot\tools\__init__.py", line 1738, in wrapper
return obj(*__args, **__kw)
File "I:\pwb\pywikibot\i18n.py", line 757, in twtranslate
twtitle, __url__))
pywikibot.i18n.TranslationError: No English translation has been defined
for TranslateWiki key u'pywikibot-touch'
It can happen due to lack of i18n submodule or files. See
https://www.mediawiki.org/wiki/Manual:Pywikibot/i18n
CRITICAL: Exiting due to uncaught exception <class
'pywikibot.i18n.TranslationError'>
TASK DETAIL
https://phabricator.wikimedia.org/T217948
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JAnD
Cc: Aklapper, pywikibot-bugs-list, JAnD
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs