python pwb.py category move -lang:test -from:Anothertest -to:Anothertest2 Traceback (most recent call last): File "pwb.py", line 263, in <module> if not main(): File "pwb.py", line 257, in main run_python_file(filename, [filename] + args, argvu, file_package) File "pwb.py", line 121, in run_python_file main_mod.__dict__) File "./scripts/category.py", line 1292, in <module> main() File "./scripts/category.py", line 1253, in main keep_sortkey=keep_sortkey) File "/home/f/mw/pywikibot-core/pywikibot/tools/__init__.py", line 1448, in wrapper return obj(*__args, **__kw) File "./scripts/category.py", line 499, in __init__ template_vars) File "/home/f/mw/pywikibot-core/pywikibot/tools/__init__.py", line 1448, in wrapper return obj(*__args, **__kw) File "/home/f/mw/pywikibot-core/pywikibot/i18n.py", line 597, in twtranslate % (_messages_package_name, twtitle, __url__)) pywikibot.i18n.TranslationError: Unable to load messages package scripts.i18n for bundle category-replacing It can happen due to lack of i18n submodule or files. Read https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Pywikibot/i18n <class 'pywikibot.i18n.TranslationError'> CRITICAL: Closing network session.
This error appear because I've not used git's --recursive option, so ̀i18n` folder is empty. We can explain a bit about what is missing.