Traceback (most recent call last):
  File "/data/data/com.termux/files/home/pywikibot/", line 249, in <module>
    import pywikibot as pwb
  File "/data/data/com.termux/files/home/pywikibot/pywikibot/", line 37, in <module>
    from import (
  File "/data/data/com.termux/files/home/pywikibot/pywikibot/", line 1239, in <module>
    class BaseBot(OptionHandler):
  File "/data/data/com.termux/files/home/pywikibot/pywikibot/", line 1395, in BaseBot
    func: Callable[..., Any], *args: Any,
TypeError: list expected at most 1 argument, got 2
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/data/data/com.termux/files/home/pywikibot/pywikibot/comms/", line 88, in flush
    log('Closing network session.')
  File "/data/data/com.termux/files/home/pywikibot/pywikibot/", line 183, in log
    logoutput(text, decoder, newline, VERBOSE, **kwargs)
  File "/data/data/com.termux/files/home/pywikibot/pywikibot/", line 76, in logoutput
  File "/data/data/com.termux/files/home/pywikibot/pywikibot/", line 35, in _init
  File "/data/data/com.termux/files/home/pywikibot/pywikibot/tools/", line 487, in wrapper
    return obj(*new_args, **new_kwargs)
  File "/data/data/com.termux/files/home/pywikibot/pywikibot/", line 359, in init_handlers
    module_name = calledModuleName()
  File "/data/data/com.termux/files/home/pywikibot/pywikibot/", line 843, in calledModuleName
    return Path(pywikibot.argvu[0]).stem
AttributeError: module 'pywikibot' has no attribute 'argvu'

On Sat, Aug 14, 2021, 8:12 PM Zoran Dori < wrote:
Hi Basudev,
have you downloaded Pywikibot via git? If it is the case, please run git submodule update --init, which will download translations, they are missing.

Best regards,

Zoran Dori

MediaWiki developer

суб, 14. авг 2021. у 15:53 Basudev Krishna <> је написао/ла:
Traceback (most recent call last):
  File "/data/data/com.termux/files/home/vikaspy/", line 399, in <module>
    if not main():
  File "/data/data/com.termux/files/home/vikaspy/", line 391, in main
  File "/data/data/com.termux/files/home/vikaspy/", line 106, in run_python_file
    exec(compile(source, filename, 'exec', dont_inherit=True),
  File "./scripts/", line 1075, in <module>
  File "./scripts/", line 929, in main
    single_summary = i18n.twtranslate(
  File "/data/data/com.termux/files/home/vikaspy/pywikibot/tools/", line 404, in wrapper
    return obj(*__args, **__kw)
  File "/data/data/com.termux/files/home/vikaspy/pywikibot/", line 700, in twtranslate
    raise pywikibot.exceptions.TranslationError(
pywikibot.exceptions.TranslationError: Unable to load messages package scripts.i18n for bundle replace-replacing
It can happen due to lack of i18n submodule or files. See
CRITICAL: Exiting due to uncaught exception <class 'pywikibot.exceptions.TranslationError'>
pywikibot mailing list --
To unsubscribe send an email to
pywikibot mailing list --
To unsubscribe send an email to