Last modified: 2014-03-16 03:06:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59143, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57143 - Unicode decode error in userlib
Unicode decode error in userlib
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
compat-(1.0)
All All
: Normal normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-16 16:18 UTC by xqt
Modified: 2014-03-16 03:06 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description xqt 2013-11-16 16:18:30 UTC
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
- https://gerrit.wikimedia.org/r/#/c/78661/
- https://gerrit.wikimedia.org/r/#/c/79454/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links