Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F23355327
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
David_Hedlund
Jul 5 2018, 5:31 PM
2018-07-05 17:31:11 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
$ python pwb.py pagefromfile_new-84d9732400f6a787103fc805e1d573f0.py -summary:"The edit summary" -title:"Test" -file:"Test.wiki" -textonly
Reading 'Test.wiki'...
>>> Test <<<
0 pages read
0 pages written
Execution time: 0 seconds
Script terminated by exception:
ERROR: TranslationError: Unable to load messages package scripts.i18n for bundle pagefromfile-msg_top
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 "pwb.py", line 251, in <module>
if not main():
File "pwb.py", line 244, in main
run_python_file(filename, [filename] + args, argvu, file_package)
File "pwb.py", line 115, in run_python_file
main_mod.__dict__)
File "./scripts/pagefromfile_new-84d9732400f6a787103fc805e1d573f0.py", line 352, in <module>
main()
File "./scripts/pagefromfile_new-84d9732400f6a787103fc805e1d573f0.py", line 348, in main
bot.run()
File "/home/david/pywikibot-core-botpass/pywikibot/bot.py", line 1505, in run
self.treat(page)
File "/home/david/pywikibot-core-botpass/pywikibot/bot.py", line 1733, in treat
self.treat_page()
File "./scripts/pagefromfile_new-84d9732400f6a787103fc805e1d573f0.py", line 143, in treat_page
self.site, 'pagefromfile-msg_top')
File "/home/david/pywikibot-core-botpass/pywikibot/tools/__init__.py", line 1450, in wrapper
return obj(*__args, **__kw)
File "/home/david/pywikibot-core-botpass/pywikibot/i18n.py", line 711, in twtranslate
% (_messages_package_name, twtitle, __url__))
pywikibot.i18n.TranslationError: Unable to load messages package scripts.i18n for bundle pagefromfile-msg_top
It can happen due to lack of i18n submodule or files. See https://www.mediawiki.org/wiki/Manual:Pywikibot/i18n
<class 'pywikibot.i18n.TranslationError'>
CRITICAL: Closing network session.
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6100381
Default Alt Text
(1 KB)
Attached To
Mode
P7329 (An Untitled Masterwork)
Attached
Detach File
Event Timeline
Log In to Comment