Bugs item #2889946, was opened at 2009-10-31 15:45 Message generated for change (Comment added) made by rubin16 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2889946...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: other Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Linar Khalitov (rubin16) Assigned to: Nobody/Anonymous (nobody) Summary: imagecopy.py problem
Initial Comment: Imagecopy stops working:
C:\pt>imagecopy.py -cat:???????????:?_????????_??_????????? Getting [[?????????:???????????:? ???????? ?? ?????????]]... Getting 60 pages from wikipedia:ru... Getting 1 pages from wikipedia:ru... username=&doit=Uitvoeren&ignorewarnings=1&commonsense=1&language=ru&newname=A.sc hweizer.JPG&image=A.schweizer.JPG&project=wikipedia&remove_categories=1 Got CH desc.
{{Information |Description={{ru|??????? ???????? ????? ???????????? ?????????? ????????, ????? ?????? [[:ru:???????, ???????|?. ????????]], 70 ?????????, 1973 ???.<br/> == ?????????????? ==
[[:ru:?????????:???????????:???????? ???????? ?????|]]}} |Source=Transferred from [http://ru.wikipedia.org ru.wikipedia]<br/> (Original text : ''??????????? ????????? [[:ru:????????:????????? ?. ?????|????? ???? ?. ?????]]'') |Date=1980 ???; ????????? {{Date|2009|10|28}}<br/> ({{Date|2009|10|28}} (original upload date)) |Author=[[:ru:Deutsche Post|????? ???]]. Original uploader was [[:ru:User:????????? ?. ?????|????????? ?. ?????]] at [htt p://ru.wikipedia.org ru.wikipedia] |Permission=PD-BECAUSE. |other_versions= }}
== {{int:license}} == {{PD-because|[[:ru:commons:Template:PD-Deutsche Bundespost stamps|]]}} <!-- Templates "Template:????????? ?? ?????????" were used in the original descr iption page as well , but do not appear to exist on commons. -->
== Original upload log == The original description page is/was [http://ru.wikipedia.org/w/index.php?title= Image%3AA.schweizer.JPG here]. All following user names refer to ru.wikipedia. * 2009-10-28 16:37 [[:ru:User:????????? ?. ?????|????????? ?. ?????]] 356?208? ( 19588 bytes) ''<nowiki>{{??????????? | ???????? = ???????? ????? | ??????? ? = ??????????? ????????? | ????? ???????? = 1973 | ????? = ????? ??? }}</nowiki>'' __NOTOC__
{{subst:Unc}} <!-- Remove this line once you have added categories --> Getting 1 pages from wikipedia:ru... Reading file http://upload.wikimedia.org/wikipedia/ru/9/93/A.schweizer.JPG The suggested description is:
{{BotMoveToCommons|ru.wikipedia|year={{subst:CURRENTYEAR}}|month={{subst:CURRENT MONTHNAME}}|day={{subst:CURRENTDAY}}}} {{Information |Description={{ru|??????? ???????? ????? ???????????? ?????????? ????????, ????? ?????? [[:ru:???????, ???????|?. ????????]], 70 ?????????, 1973 ???.<br/> == ?????????????? ==
[[:ru:?????????:???????????:???????? ???????? ?????|]]}} |Source=Transferred from [http://ru.wikipedia.org ru.wikipedia]<br/> (Original text : ''??????????? ????????? [[:ru:????????:????????? ?. ?????|????? ???? ?. ?????]]'') |Date=1980 ???; ????????? {{Date|2009|10|28}}<br/> ({{Date|2009|10|28}} (original upload date)) |Author=[[:ru:Deutsche Post|????? ???]]. Original uploader was [[:ru:User:????????? ?. ?????|????????? ?. ?????]] at [htt p://ru.wikipedia.org ru.wikipedia] |Permission=PD-BECAUSE. |other_versions= }}
== {{int:license}} == {{PD-because|[[:ru:commons:Template:PD-Deutsche Bundespost stamps|]]}} <!-- Templates "Template:????????? ?? ?????????" were used in the original descr iption page as well , but do not appear to exist on commons. -->
== Original upload log == The original description page is/was [http://ru.wikipedia.org/w/index.php?title= Image%3AA.schweizer.JPG here]. All following user names refer to ru.wikipedia. * 2009-10-28 16:37 [[:ru:User:????????? ?. ?????|????????? ?. ?????]] 356?208? ( 19588 bytes) ''<nowiki>{{??????????? | ???????? = ???????? ????? | ??????? ? = ??????????? ????????? | ????? ???????? = 1973 | ????? = ????? ??? }}</nowiki>'' __NOTOC__
{{subst:Unc}} <!-- Remove this line once you have added categories --> Uploading file to commons:commons via API.... Error downloading data: 'ascii' codec can't decode byte 0xd0 in position 153: or dinal not in range(128) Request commons:/w/api.php? Retrying in 1 minutes... Retrying in 2 minutes...
It brokes on all images with the error: "Error downloading data: 'ascii' codec can't decode byte 0xd0 in position 153: or dinal not in range(128)"
Any ideas ?
Version: Pywikipedia [http] trunk/pywikipedia (r7576, 2009/10/31, 00:35:16) Python 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit (Intel)]
----------------------------------------------------------------------
Comment By: Linar Khalitov (rubin16)
Date: 2009-11-04 11:27
Message: works OK, if changed to use_api = false...
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2889946...