Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1329/
Reported by: dabzzz
Created on: 2011-08-05 19:01:42
Subject: add_text.py crashes for some uses of -cat
Assigned to: bewareofdoug
Original description:
Crashes without further information; works correct on category without umlaut in it. Happens on my bot account at de.hardware-wiki.org
$ python add_text.py -cat -text:someveryimportantmessage -up -verbose Config.py - base_dir: /home/bzzz/.pywikipedia - done. Pywikipediabot [http] trunk/pywikipedia (r9430, 2011/08/04, 08:15:02) Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) [GCC 4.5.2] Please enter the category name: Festplatten nach Größe Getting [[Kategorie:Festplatten nach Größe]]... <--exists, has subcategories and is categorized ==== API action:query ==== cmprop: title|ids|sortkey|timestamp list: categorymembers cmlimit: 500 cmtitle: Kategorie:Festplatten nach Größe ---------------- Requesting API query from HardwareWiki:de [End]
Same happens if the working category is given via -cat:Festplatten_nach_Größe or within "".
pywikipediabot is at latest svn version (9430, simplejson 242), working on Kubuntu 11.04 Natty with 2.6.38-10-generic kernel; python version.py yields: Pywikipedia [http] trunk/pywikipedia (r9430, 2011/08/04, 08:15:02) Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) [GCC 4.5.2] config-settings: use_api = True use_api_login = True unicode test: ok
Version: unspecified
Severity: normal
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/1329