https://bugzilla.wikimedia.org/show_bug.cgi?id=57143

       Web browser: ---
            Bug ID: 57143
           Summary: Unicode decode error in userlib
           Product: Pywikibot
           Version: compat (1.0)
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: pywikipedia-b...@lists.wikimedia.org
          Reporter: i...@gno.de
    Classification: Unclassified
   Mobile Platform: ---

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/

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to