Vvjjkkii renamed this task from "category tidy fails with TypeError in python 2" to "uabaaaaaaa".
Vvjjkkii reopened this task as "Open".
Vvjjkkii raised the priority of this task from "Normal" to "High".
Vvjjkkii removed Xqt as the assignee of this task.
Vvjjkkii removed subscribers: gerritbot, Aklapper.
Vvjjkkii added projects: CheckUser, Connected-Open-Heritage-Batch-uploads (RAÄ-KMB_1_2017-02), Tamil-Sites, Gamepress, Hashtags, JADE, KartoEditor, Language-2018-Apr-June, New-Editor-Experiences, Mail, TCB-Team.
Vvjjkkii updated the task description. (Show Details)

CHANGES TO 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>
```
26570726f6475636520796f757220627567207573696e67206120726563656e742076657273696f6e206f662074686520736f6674776172652c20746f2068652077696b6920636f6e74656e74206c616e67756167652e0a0a5468616e6b20796f752e0a546167730a436865636b557365720ad70a436f6e6e65637465642d4f70656e2d48657269746167652d42617463682d75706c6f61647320285241c42d4b4d425f315f323031372d3032290ad70a54616d696c2d53697465730ad70a47616d6570726573730ad70a48617368746167730ad70a4a4144450ad70a4b6172746f456469746f720ad70a4c616e67756167652d323031382d4170722d4a756e650ad70a4e65772d456469746f722d457870657269656e6365730ad70a4d61696c0ad70a5443422d5465616d0ad70a53756273637269626572730a4465736372697074696f6e20507265766965770a436f6e74656e77a6f6e652073657474696e6720696e20796f75722070726f66696c652c20636c69636b20746f207265636f6e63696c652e

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

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

To: Vvjjkkii
Cc: Dvorapa, Xqt, pywikibot-bugs-list, AndyTan, Gaboe420, Zylc, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, 1978Gage2001, Baloch007, Darkminds3113, Bsandipan, Lordiis, herron, pan199312, Adik2382, Chicocvenancio, alanajjar, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lea_WMDE, Mattias_Ostmar-WMSE, Lewizho99, Mdupont, JJMC89, Maathavan, Jseddon, Ryuch, Mkdw, RuyP, Avicennasis, JEumerus, Trizek-WMF, KasiaWMDE, 0x010C, srodlund, Luke081515, grin, Bsadowski1, mys_721tx, Snowolf, Huji, Gryllida, jayvdb, Dalba, Tobi_WMDE_SW, Masti, revi, scfc, Alchimista, He7d3r, Romaine, Mbch331, Rxy, Jay8g, Glaisher, Krenair, chasemp, gerritbot, Aklapper
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to