Xqt created this task.
Xqt added a subscriber: Xqt.
Xqt added projects: pywikibot-core, Pywikibot-General.
Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
Error occurred in sd-wiki:
```
>>> Fixing redirects on wikipedia:sd <<<
Retrieving special page...
Retrieving 4 pages from wikipedia:sd.
>>> ???? ???:Gangleri <<<
ERROR: Page [[sd:???? ???:Gangleri]] is a circular redirect.
Skipping [[sd:???? ???:Gangleri]].
>>> ????????? ?????? ??? ??????? ??? ????? ? ???? ?????? ??? ????? ?? ?????
<<<
Links to: [[????????? ?????? ??? ??????????? ???? ????? ? ???? ?????? ???
???
?? ?? ??????]].
Links to: [[????????? ?????? ??? ??????????? ???? ????? ? ?????????? ??
?????
?? ??????]].
@@ -1 +1 @@
- #REDIRECT[[????????? ?????? ??? ??????????? ???? ????? ? ???? ?????? ???
?????
?? ??????]]
+ #????? [[????????? ?????? ??? ??????????? ???? ????? ? ?????????? ?? ?????
??
??????]]
Traceback (most recent call last):
File "C:\pwb\core\pwb.py", line 226, in <module>
if not main():
File "C:\pwb\core\pwb.py", line 220, in main
run_python_file(filename, [filename] + args, argvu, file_package)
File "C:\pwb\core\pwb.py", line 87, in run_python_file
main_mod.__dict__)
File ".\scripts\redirect.py", line 885, in <module>
main()
File ".\scripts\redirect.py", line 872, in main
bot.run()
File ".\scripts\redirect.py", line 738, in run
self.fix_double_redirects()
File ".\scripts\redirect.py", line 566, in fix_double_redirects
self.fix_1_double_redirect(redir_name)
File ".\scripts\redirect.py", line 696, in fix_1_double_redirect
redir.save(summary)
File "C:\pwb\core\pywikibot\tools\__init__.py", line 1229, in wrapper
return obj(*__args, **__kw)
File "C:\pwb\core\pywikibot\page.py", line 1080, in save
cc=apply_cosmetic_changes, **kwargs)
File "C:\pwb\core\pywikibot\page.py", line 1091, in _save
watch=watch, bot=botflag, **kwargs)
File "C:\pwb\core\pywikibot\site.py", line 1165, in callee
return fn(self, *args, **kwargs)
File "C:\pwb\core\pywikibot\site.py", line 4460, in editpage
result = req.submit()
File "C:\pwb\core\pywikibot\data\api.py", line 2094, in submit
param_repr = str(self._params)
File "C:\pwb\core\pywikibot\page.py", line 278, in __repr__
title = self.title().encode(config.console_encoding)
File "C:\Python27\lib\encodings\cp850.py", line 12, in encode
return codecs.charmap_encode(input,errors,encoding_map)
UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-8:
cha
racter maps to <undefined>
<type 'exceptions.UnicodeEncodeError'>
CRITICAL: Closing network session.
```
TASK DETAIL
https://phabricator.wikimedia.org/T107428
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, jayvdb, Malyacko, P.Copp
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs