MarcoAurelio created this task.
MarcoAurelio added projects: Pywikibot-core, Pywikibot-Other-scripts.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
F:\MWDEV\pywikibot-core>pwb.py image "Borbera (mwlib).pdf"
WARNING: Bot.site was not set before being retrieved.
WARNING: Using the default site: meta:meta
WARNING: .\scripts\image.py:132: _NotImplementedWarning: parameters not being a mapping is deprecated.
  fallback=True)

Traceback (most recent call last):
  File "F:\MWDEV\pywikibot-core\pwb.py", line 255, in <module>
    if not main():
  File "F:\MWDEV\pywikibot-core\pwb.py", line 249, in main
    run_python_file(filename, [filename] + args, argvu, file_package)
  File "F:\MWDEV\pywikibot-core\pwb.py", line 121, in run_python_file
    main_mod.__dict__)
  File ".\scripts\image.py", line 209, in <module>
    main()
  File ".\scripts\image.py", line 201, in main
    bot = ImageRobot(preloadingGen, old_image, new_image, **options)
  File ".\scripts\image.py", line 132, in __init__
    fallback=True)
  File "F:\MWDEV\pywikibot-core\pywikibot\i18n.py", line 512, in translate
    plural_parameters = _PluralMappingAlias(parameters)
  File "F:\MWDEV\pywikibot-core\pywikibot\i18n.py", line 410, in __init__
    source = int(source)
ValueError: invalid literal for int() with base 10: 'Borbera (mwlib).pdf'
<class 'ValueError'>
CRITICAL: Closing network session.

Without quotes:

F:\MWDEV\pywikibot-core>pwb.py image Borbera (mwlib).pdf
WARNING: Bot.site was not set before being retrieved.
WARNING: Using the default site: meta:meta
WARNING: .\scripts\image.py:132: _NotImplementedWarning: parameters not being a mapping is deprecated.
  fallback=True)

TASK DETAIL
https://phabricator.wikimedia.org/T145642

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: MarcoAurelio
Cc: Aklapper, MarcoAurelio, pywikibot-bugs-list, Mdupont, JJMC89, jayvdb, Alchimista
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to