Xqt created this task.
Xqt added projects: Pywikibot-core, Pywikibot-category.py.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
C:\pwb\GIT\core>py -2 pwb.py category tidy -simulate
WARNING: C:\pwb\GIT\core\pywikibot\tools\ip.py:72: ImportWarning: Importing ipad
dr.IPAddress failed: No module named ipaddr
Importing ipaddress.ip_address failed: No module named ipaddress
Please install ipaddr 2.1.10+ or ipaddress.
  % (_ipaddr_e, _ipaddress_e), ImportWarning)

Which category do you want to tidy up? Hydraulik
Retrieving 50 pages from wikipedia:de.
############ >treat


>>> Hydraulik <<<
'''Hydraulik''' ([[Griechische Sprache|griechisches]] [[Verb#Substantivierung|su
bstantiviertes]] [[Adjektiv]] υδραυλική [τέχνη] ''hydrauliké [téchne]'' „die hyd
raulische [Technik]“ von [[altgriechisch]] ὕδωρ ''hýdor'' „das [[Wasser]]“ und α
ὐλός ''aulós'' „das Rohr“) ist die Lehre vom [[Strömung]]sverhalten der [[Flüssi
gkeit]]en. In der [[Technik]] wird darunter die Verwendung von Flüssigkeit zur [
[Signal]]-, [[Kraftübertragung|Kraft-]] und [[Energieübertragung]] und zur [[Sch
mierung|Schmierstoff…
[[Kategorie:Aktorik]]
[[Kategorie:Hydraulik]]
[[Kategorie:Wikipedia:Defekte Weblinks/Ungeprüfte Archivlinks 2018-04]]

Move up to category:
There are no pages or files in category Hydraulik

0 pages read
0 pages written
Execution time: 9 seconds
Script terminated by exception:

ERROR: TypeError: list indices must be integers, not float
Dumping to category.dump.bz2, please wait...
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\category.py", line 1519, in <module>
    main()
  File ".\scripts\category.py", line 1506, in main
    bot.run()
  File "C:\pwb\GIT\core\pywikibot\bot.py", line 1594, in run
    super(Bot, self).run()
  File "C:\pwb\GIT\core\pywikibot\bot.py", line 1503, in run
    self.treat(page)
  File ".\scripts\category.py", line 1226, in treat
    self.move_to_category(page, self.cat, self.cat)
  File "C:\pwb\GIT\core\pywikibot\tools\__init__.py", line 1446, in wrapper
    return obj(*__args, **__kw)
  File ".\scripts\category.py", line 1136, in move_to_category
    supercat_option.list_categories(cat_list, 'u')
  File ".\scripts\category.py", line 1078, in list_categories
    prefix, index % i2, cat_list[i2]))
TypeError: list indices must be integers, not float
<type 'exceptions.TypeError'>
CRITICAL: Closing network session.

C:\pwb\GIT\core>

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

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

To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, Sc4s2cg, Chicocvenancio, Magul, Tbscho, MayS, Salgo60, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to