Page MenuHomePhabricator

Unicode decode error in userlib
Closed, DeclinedPublic

Description

Check votings for [[Wikipedia:Adminwiederwahl/Xocolatl]]
Aktuarius 201304160110 ist seit 30 Tagen abgelaufen.
High Contrast 201305042232 ist seit 11 Tagen abgelaufen.
.Traceback (most recent call last):

File "C:\Pywikipedia\compat\checkvotes.py", line 648, in <module>
  main()
File "C:\Pywikipedia\compat\checkvotes.py", line 642, in main
  bot.run()
File "C:\Pywikipedia\compat\checkvotes.py", line 215, in run
  self.treat(page)
File "C:\Pywikipedia\compat\checkvotes.py", line 268, in treat
  while not target_user.exists() or not target_user.editCount():
File "C:\Pywikipedia\compat\userlib.py", line 121, in exists
  return self.isAnonymous() or self.isRegistered()
File "C:\Pywikipedia\compat\userlib.py", line 115, in isRegistered
  return self.registrationTime(force) != -1
File "C:\Pywikipedia\compat\userlib.py", line 136, in registrationTime
  self._load()
File "C:\Pywikipedia\compat\userlib.py", line 132, in _load
  getall(self.site(), [self], force=True)
File "C:\Pywikipedia\compat\userlib.py", line 621, in getall
  _GetAllUI(site, users, throttle, force).run()
File "C:\Pywikipedia\compat\userlib.py", line 645, in run
  print e

UnicodeEncodeError: 'ascii' codec can't encode character u'\xdf' in position 27:
ordinal not in range(128)

Where "e" is the exceptions result bytestring

See also


Version: compat-(1.0)
Severity: normal

Details

Reference
bz57143

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:16 AM
bzimport set Reference to bz57143.
bzimport added a subscriber: Unknown Object (????).
Aklapper lowered the priority of this task from Medium to Lowest.Jun 5 2015, 1:41 PM
Aklapper subscribed.

Pywikibot has two versions: Compat and Core. This task was filed about the older version, called Pywikibot-compat, which is not under active development anymore. Hence I'm lowering the priority of this task to reflect the reality. Unfortunately, the Pywikibot team does not have the manpower to retest every single bug report / feature request against the (maintained) Pywikibot code base. Furthermore, the code base of Pywikibot-Compat has changed a lot compared to the code base of Pywikibot-Core so there is a chance that the problem described in this task might not exist anymore. Please help: Unfortunately manpower is limited and does not allow testing every single reported task again. If you have time and interest in Pywikibot, please upgrade to Pywikibot-Core and add a comment to this task if the problem in this task still happens in Pywikibot-Core (or directly edit the task by removing the Pywikibot-compat project and adding the Pywikibot project to this task). To learn more about Pywikibot and to get involved in its development, please check out https://www.mediawiki.org/wiki/Manual:Pywikibot/Development Thank you for your understanding.

Xqt claimed this task.

Works with core