Bugs item #2905091, was opened at 2009-11-27 19:28
Message generated for change (Comment added) made by multichill
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2905091&group_…
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: interwiki
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: JAn (jandudik)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki revert war - emptyy pages
Initial Comment:
See
http://de.wikipedia.org/w/index.php?title=Microsoft_Windows_7&action=history
Bot strating from ug: adds interwiki. But bots strarting from other languages found empty page and remove link.
It should be
Getting 60 pages from wikipedia ug...
NOTE: [[ug:Windows 7]] is empty, skipping
----------------------------------------------------------------------
>Comment By: Multichill (multichill)
Date: 2009-11-27 19:35
Message:
What's the point of having empty pages? This can be fixed by either
* Removing the empty page check and just add the interwiki
* Check if the starting page is empty and skip it
I would prefer the second option.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2905091&group_…
Bugs item #2905091, was opened at 2009-11-27 19:28
Message generated for change (Tracker Item Submitted) made by jandudik
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2905091&group_…
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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: JAn (jandudik)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki revert war - emptyy pages
Initial Comment:
See
http://de.wikipedia.org/w/index.php?title=Microsoft_Windows_7&action=history
Bot strating from ug: adds interwiki. But bots strarting from other languages found empty page and remove link.
It should be
Getting 60 pages from wikipedia ug...
NOTE: [[ug:Windows 7]] is empty, skipping
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2905091&group_…
Patches item #2905089, was opened at 2009-11-27 21:10
Message generated for change (Tracker Item Submitted) made by rubin16
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2905089&group_…
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: Translations
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Linar Khalitov (rubin16)
Assigned to: Nobody/Anonymous (nobody)
Summary: add_text.py and ru-text
Initial Comment:
see patch
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2905089&group_…
Bugs item #2904990, was opened at 2009-11-27 14:08
Message generated for change (Tracker Item Submitted) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2904990&group_…
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: category
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: alchimista ()
Assigned to: Nobody/Anonymous (nobody)
Summary: no prompt for ad {{delet}} to old cats
Initial Comment:
Using the script, it desn't asks fot adding the del tag to older cats, just put's them. The comand used where both
"category.pt move" and the "category.py move -from:old_cat -to:new_Cat". The resoult can be seen in:
http://pt.wikipedia.org/w/index.php?title=Categoria:Egipt%C3%B3logos_dos_Es…
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2904990&group_…
Bugs item #2889946, was opened at 2009-10-31 13:45
Message generated for change (Comment added) made by multichill
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2889946&group_…
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: Accepted
Priority: 9
Private: No
Submitted By: Linar Khalitov (rubin16)
Assigned to: Nobody/Anonymous (nobody)
Summary: upload.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: Multichill (multichill)
Date: 2009-11-25 23:14
Message:
Commenting out line 5464 seems to solve this:
#'Content-Length': str(len(data)),
Is this line needed for something else?
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2009-11-25 23:09
Message:
Still not fixed in 7692. Upload is broken for three weeks now :-(
Uploading file to commons:commons...
Result: 411 Length Required
All done!
Traceback (most recent call last):
File "d:\Wikipedia\KIT_pywikipedia\kit_description_generator.py", line
254, in
<module>
main(sys.argv[1:])
File "d:\Wikipedia\KIT_pywikipedia\kit_description_generator.py", line
246, in
main
bot.run()
File "d:\Wikipedia\KIT_pywikipedia\upload.py", line 390, in run
return self.upload_image()
File "d:\Wikipedia\KIT_pywikipedia\upload.py", line 227, in
upload_image
return self._uploadImageOld(debug)
File "d:\Wikipedia\KIT_pywikipedia\upload.py", line 339, in
_uploadImageOld
cookies = self.targetSite.cookies())
File "d:\Wikipedia\KIT_pywikipedia\upload.py", line 38, in
post_multipart
return site.postData(address, body, contentType = contentType, cookies
= coo
kies)
File "d:\Wikipedia\KIT_pywikipedia\wikipedia.py", line 5482, in
postData
f = MyURLopener.open(request)
File "C:\Program Files\Python25\lib\urllib2.py", line 380, in open
response = meth(req, response)
File "C:\Program Files\Python25\lib\urllib2.py", line 491, in
http_response
'http', request, response, code, msg, hdrs)
File "C:\Program Files\Python25\lib\urllib2.py", line 412, in error
result = self._call_chain(*args)
File "C:\Program Files\Python25\lib\urllib2.py", line 353, in
_call_chain
result = func(*args)
File "d:\Wikipedia\KIT_pywikipedia\wikipedia.py", line 8232, in
http_error_302
self, req, fp, code, msg, headers)
File "C:\Program Files\Python25\lib\urllib2.py", line 575, in
http_error_302
return self.parent.open(new)
File "C:\Program Files\Python25\lib\urllib2.py", line 380, in open
response = meth(req, response)
File "C:\Program Files\Python25\lib\urllib2.py", line 491, in
http_response
'http', request, response, code, msg, hdrs)
File "C:\Program Files\Python25\lib\urllib2.py", line 418, in error
return self._call_chain(*args)
File "C:\Program Files\Python25\lib\urllib2.py", line 353, in
_call_chain
result = func(*args)
File "C:\Program Files\Python25\lib\urllib2.py", line 499, in
http_error_defau
lt
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 411: Length Required
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2009-11-16 22:41
Message:
This isn't fixed
For example when running "imagecopy.py -lang:nl -family:wikipedia
-page:Bestand:Overzicht_theater_Mytilini.jpg"
I get:
Traceback (most recent call last):
File "C:\Program Files\Python25\lib\threading.py", line 460, in
__bootstrap
self.run()
File "D:\Wikipedia\pywikipedia\imagecopy.py", line 361, in run
bot.run()
File "D:\Wikipedia\pywikipedia\upload.py", line 387, in run
return self.upload_image()
File "D:\Wikipedia\pywikipedia\upload.py", line 224, in upload_image
return self._uploadImageOld(debug)
File "D:\Wikipedia\pywikipedia\upload.py", line 292, in _uploadImageOld
self.read_file_content()
File "D:\Wikipedia\pywikipedia\upload.py", line 113, in
read_file_content
file = uo.open(self.url)
File "C:\Program Files\Python25\lib\urllib2.py", line 380, in open
response = meth(req, response)
File "C:\Program Files\Python25\lib\urllib2.py", line 491, in
http_response
'http', request, response, code, msg, hdrs)
File "C:\Program Files\Python25\lib\urllib2.py", line 418, in error
return self._call_chain(*args)
File "C:\Program Files\Python25\lib\urllib2.py", line 353, in
_call_chain
result = func(*args)
File "C:\Program Files\Python25\lib\urllib2.py", line 499, in
http_error_defau
lt
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-11-15 20:41
Message:
fixed in r7648-7650 by alexsh
----------------------------------------------------------------------
Comment By: Linar Khalitov (rubin16)
Date: 2009-11-06 11:25
Message:
New behaviour since upload.py was updated:
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
Getting 1 pages from wikipedia:ru...
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__
[[Category:Albert Schweitzer]]
Reading file
http://upload.wikimedia.org/wikipedia/ru/9/93/A.schweizer.JPG
Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\Python25\lib\threading.py", line 488, in __bootstrap_inner
self.run()
File "C:\pt\imagecopy.py", line 280, in run
bot.run()
File "C:\pt\upload.py", line 387, in run
return self.upload_image()
File "C:\pt\upload.py", line 227, in upload_image
self.read_file_content()
File "C:\pt\upload.py", line 108, in read_file_content
uo = wikipedia.MyURLopener()
AttributeError: OpenerDirector instance has no __call__ method
C:\pt>version.py
Pywikipedia [http] trunk/pywikipedia (r7602, 2009/11/06, 07:10:02)
Python 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit
(Intel)]
Something wrong with my Python package ?
----------------------------------------------------------------------
Comment By: Linar Khalitov (rubin16)
Date: 2009-11-04 09: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&group_…
Bugs item #2889946, was opened at 2009-10-31 13:45
Message generated for change (Comment added) made by multichill
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2889946&group_…
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: Accepted
>Priority: 9
Private: No
Submitted By: Linar Khalitov (rubin16)
Assigned to: Nobody/Anonymous (nobody)
Summary: upload.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: Multichill (multichill)
Date: 2009-11-25 23:09
Message:
Still not fixed in 7692. Upload is broken for three weeks now :-(
Uploading file to commons:commons...
Result: 411 Length Required
All done!
Traceback (most recent call last):
File "d:\Wikipedia\KIT_pywikipedia\kit_description_generator.py", line
254, in
<module>
main(sys.argv[1:])
File "d:\Wikipedia\KIT_pywikipedia\kit_description_generator.py", line
246, in
main
bot.run()
File "d:\Wikipedia\KIT_pywikipedia\upload.py", line 390, in run
return self.upload_image()
File "d:\Wikipedia\KIT_pywikipedia\upload.py", line 227, in
upload_image
return self._uploadImageOld(debug)
File "d:\Wikipedia\KIT_pywikipedia\upload.py", line 339, in
_uploadImageOld
cookies = self.targetSite.cookies())
File "d:\Wikipedia\KIT_pywikipedia\upload.py", line 38, in
post_multipart
return site.postData(address, body, contentType = contentType, cookies
= coo
kies)
File "d:\Wikipedia\KIT_pywikipedia\wikipedia.py", line 5482, in
postData
f = MyURLopener.open(request)
File "C:\Program Files\Python25\lib\urllib2.py", line 380, in open
response = meth(req, response)
File "C:\Program Files\Python25\lib\urllib2.py", line 491, in
http_response
'http', request, response, code, msg, hdrs)
File "C:\Program Files\Python25\lib\urllib2.py", line 412, in error
result = self._call_chain(*args)
File "C:\Program Files\Python25\lib\urllib2.py", line 353, in
_call_chain
result = func(*args)
File "d:\Wikipedia\KIT_pywikipedia\wikipedia.py", line 8232, in
http_error_302
self, req, fp, code, msg, headers)
File "C:\Program Files\Python25\lib\urllib2.py", line 575, in
http_error_302
return self.parent.open(new)
File "C:\Program Files\Python25\lib\urllib2.py", line 380, in open
response = meth(req, response)
File "C:\Program Files\Python25\lib\urllib2.py", line 491, in
http_response
'http', request, response, code, msg, hdrs)
File "C:\Program Files\Python25\lib\urllib2.py", line 418, in error
return self._call_chain(*args)
File "C:\Program Files\Python25\lib\urllib2.py", line 353, in
_call_chain
result = func(*args)
File "C:\Program Files\Python25\lib\urllib2.py", line 499, in
http_error_defau
lt
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 411: Length Required
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2009-11-16 22:41
Message:
This isn't fixed
For example when running "imagecopy.py -lang:nl -family:wikipedia
-page:Bestand:Overzicht_theater_Mytilini.jpg"
I get:
Traceback (most recent call last):
File "C:\Program Files\Python25\lib\threading.py", line 460, in
__bootstrap
self.run()
File "D:\Wikipedia\pywikipedia\imagecopy.py", line 361, in run
bot.run()
File "D:\Wikipedia\pywikipedia\upload.py", line 387, in run
return self.upload_image()
File "D:\Wikipedia\pywikipedia\upload.py", line 224, in upload_image
return self._uploadImageOld(debug)
File "D:\Wikipedia\pywikipedia\upload.py", line 292, in _uploadImageOld
self.read_file_content()
File "D:\Wikipedia\pywikipedia\upload.py", line 113, in
read_file_content
file = uo.open(self.url)
File "C:\Program Files\Python25\lib\urllib2.py", line 380, in open
response = meth(req, response)
File "C:\Program Files\Python25\lib\urllib2.py", line 491, in
http_response
'http', request, response, code, msg, hdrs)
File "C:\Program Files\Python25\lib\urllib2.py", line 418, in error
return self._call_chain(*args)
File "C:\Program Files\Python25\lib\urllib2.py", line 353, in
_call_chain
result = func(*args)
File "C:\Program Files\Python25\lib\urllib2.py", line 499, in
http_error_defau
lt
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-11-15 20:41
Message:
fixed in r7648-7650 by alexsh
----------------------------------------------------------------------
Comment By: Linar Khalitov (rubin16)
Date: 2009-11-06 11:25
Message:
New behaviour since upload.py was updated:
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
Getting 1 pages from wikipedia:ru...
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__
[[Category:Albert Schweitzer]]
Reading file
http://upload.wikimedia.org/wikipedia/ru/9/93/A.schweizer.JPG
Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\Python25\lib\threading.py", line 488, in __bootstrap_inner
self.run()
File "C:\pt\imagecopy.py", line 280, in run
bot.run()
File "C:\pt\upload.py", line 387, in run
return self.upload_image()
File "C:\pt\upload.py", line 227, in upload_image
self.read_file_content()
File "C:\pt\upload.py", line 108, in read_file_content
uo = wikipedia.MyURLopener()
AttributeError: OpenerDirector instance has no __call__ method
C:\pt>version.py
Pywikipedia [http] trunk/pywikipedia (r7602, 2009/11/06, 07:10:02)
Python 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit
(Intel)]
Something wrong with my Python package ?
----------------------------------------------------------------------
Comment By: Linar Khalitov (rubin16)
Date: 2009-11-04 09: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&group_…
Bugs item #2765231, was opened at 2009-04-15 13:43
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2765231&group_…
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: Closed
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: xqt (xqt)
>Assigned to: xqt (xqt)
Summary: Cosmetic_changes: Empty Selflink Error
Initial Comment:
__version__ = '$Id: cosmetic_changes.py 6285 2009-01-23 14:32:00Z siebrand $'
trunk/pywikipedia (r6602)
Python 2.5.2 r252:60911
Running interwiki.py with cosmetic_changes, wikipedia.Page raises an Error "Can't have an empty self-link". I found this error on the page [http://wuu.wikipedia.org/wiki/%E5%90%84%E5%8F%AA%E8%A8%80%E8%AF%9D%E7%BB%B4…] and I fixed the correspondig link [http://wuu.wikipedia.org/w/index.php?title=%E5%90%84%E5%8F%AA%E8%A8%80%E8%A…]. However it would be better to install an exception error handling for this matter.
File interwiki.py, line 1860 in (module) - bot.run()
File interwiki.py, line 1575 in run - self.queryStep()
File interwiki.py, line 1554 in queryStep - subj.finish(self)
File interwiki.py, line 1147 in finish - if self.replaceLinks(page, new, bot):
File interwiki.py, line 1290 in replaceLinks - status, reason, data = page.put(newtext, comment = wikipedia.translate(page.site().lang, msg)[0] + mods)
File wikipedia.py, line in put - newtext = ccToolkit.change(newtext)
File cosmetic_changes.py, line 106 in change - text = self.cleanUpLinks(text)
File cosmetic_changes.py, line 275 in cleanUpLinks - text = wikipedia.replaceExcept(text, linkR, handleOneLink, ['comment', 'math', 'nowiki', 'pre', 'startspace'])
File wikipedia.py, line in replaceExcept - replacement = new(match)
File cosmetic_changes.py, line 187 in handleOneLink - page = wikioedia.Page(self.sie, titleWithSection)
File wikipedia.py, line 407 in __init__ - raise Error("Can't have an empty self-link")
wikipedia.Error: Can't have an empty self-link
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2765231&group_…
Bugs item #2903187, was opened at 2009-11-24 11:55
Message generated for change (Tracker Item Submitted) made by mike_lifeguard
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2903187&group_…
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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mike.lifeguard (mike_lifeguard)
Assigned to: Nobody/Anonymous (nobody)
Summary: copyright.py crashes on non-Wikipedia projects
Initial Comment:
Because Wikipedia is hardcoded, copyright.py attempts to get [[wikipedia:en:Mirrors and forks/Abc]] et al, but obviously can't, then later crashes because the .txt files don't exist. Terminal output/traceback attached.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2903187&group_…
Bugs item #2861676, was opened at 2009-09-18 19:49
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2861676&group_…
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: interwiki
Group: None
Status: Closed
Resolution: Fixed
Priority: 4
Private: No
Submitted By: André Malafaya Baptista (malafaya)
Assigned to: Nobody/Anonymous (nobody)
Summary: "Edit token has failed" and crash when editing pages
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r7275, 2009/09/18, 13:44:52)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
------
NOTE: Performing a recursive query first to save time....
NOTE: Nothing left to do 2
NOTE: Updating live wiki...
Sleeping for 3.5 seconds, 2009-09-18 20:38:12
Updating page [[en:Category:fr:Anatomy]] via API
Updating links on page [[fr:Cat,gorie:Lexique en fran╪ais de l'anatomie]].
Changes to be made: Ajoute: [[pt:Categoria:Anatomia (Franc^s)]]
+ [[pt:Categoria:Anatomia (Franc^s)]]
NOTE: Performing a recursive query first to save time....
NOTE: Nothing left to do 2
NOTE: Updating live wiki...
Sleeping for 8.3 seconds, 2009-09-18 20:38:17
Updating page [[fr:Cat,gorie:Lexique en fran╪ais de l'anatomie]] via API
Edit token has failed. Retrying.
Getting a token.
Sleeping for 9.1 seconds, 2009-09-18 20:38:26
Updating page [[fr:Cat,gorie:Lexique en fran╪ais de l'anatomie]] via API
Edit token has failed. Giving up.
Dump pt (wiktionary) saved
Traceback (most recent call last):
File "D:\Work\pywikipedia\interwiki.py", line 2186, in <module>
bot.run()
File "D:\Work\pywikipedia\interwiki.py", line 1888, in run
self.queryStep()
File "D:\Work\pywikipedia\interwiki.py", line 1866, in queryStep
subj.finish(self)
File "D:\Work\pywikipedia\interwiki.py", line 1423, in finish
if self.replaceLinks(page, new, bot):
File "D:\Work\pywikipedia\interwiki.py", line 1599, in replaceLinks
status, reason, data = page.put(newtext, comment = mcomment)
File "D:\Work\pywikipedia\wikipedia.py", line 1434, in put
newPage, self.site().getToken(sysop = sysop), sysop = sysop, botflag=botflag
, maxTries=maxTries)
File "D:\Work\pywikipedia\wikipedia.py", line 1665, in _putPage
return self._putPage(text, comment, watchArticle, minorEdit, newPage, token=
self.site().getToken(sysop = sysop, getagain = True), newToken = True, sysop = s
ysop)
File "D:\Work\pywikipedia\wikipedia.py", line 1682, in _putPage
solve = self.site().solveCaptcha(data)
File "D:\Work\pywikipedia\wikipedia.py", line 4851, in solveCaptcha
data = data['edit']
KeyError: 'edit'
This has been happening randomly in any wiki it updates. I forced login in all wikis before running it but it doesn't help much: it eventually runs into this exception.
I use API login.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-11-24 15:09
Message:
alopEM comment2, <a
href=http://timecolors.iespana.es/celestyte.spintheweb.com.html>celestyte.spintheweb.com</a>,
[url=http://timecolors.iespana.es/celestyte.spintheweb.com.html]celestyte.spintheweb.com[/url],
http://timecolors.iespana.es/celestyte.spintheweb.com.htmlcelestyte.spintheweb.com, 1809,
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 18:53
Message:
Fixed in current version of framework. Please update your bot.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-09-22 12:31
Message:
KeyError-Bug is fixed in r7283
but why does the Edit token has failed if the login comes from api?
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2009-09-21 16:59
Message:
I agree with xqt.
I changed my settings to:
use_api_login = False
2 days ago and had no more problems whatsoever.
I don't know if this is a Pywikipedia's (still, it should behave better)
or MW API's problem.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-09-21 09:41
Message:
Try
use_api_login = False
in your user_config.py
This may be only a work-around (and I haven't test it) and the bug
remains. But I've found login via api isn't as stable as requested an I
don't use it.
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2009-09-20 02:40
Message:
The latest crash was a bit different from malafaya's example: no "Edit
token has failed" message but an "Unknown Error".
...
Updating links on page [[als:Amerika (Doppelkontinent)]].
Changes to be made: Ygfüegt: [[mwl:América]]
+ [[mwl:América]]
NOTE: Updating live wiki...
Updating page [[als:Amerika (Doppelkontinent)]] via API
Unknown Error. API Error code:hookaborted
Information:The modification you tried to make was aborted by an extension
hook
Dump fi (wikipedia) saved
Traceback (most recent call last):
File "interwiki.py", line 2186, in <module>
bot.run()
File "interwiki.py", line 1888, in run
self.queryStep()
File "interwiki.py", line 1866, in queryStep
subj.finish(self)
File "interwiki.py", line 1423, in finish
if self.replaceLinks(page, new, bot):
File "interwiki.py", line 1599, in replaceLinks
status, reason, data = page.put(newtext, comment = mcomment)
File "c:\svn\pywikipedia\wikipedia.py", line 1434, in put
newPage, self.site().getToken(sysop = sysop), sysop = sysop,
botflag=botflag, maxTries=maxTries)
File "c:\svn\pywikipedia\wikipedia.py", line 1682, in _putPage
solve = self.site().solveCaptcha(data)
File "c:\svn\pywikipedia\wikipedia.py", line 4851, in solveCaptcha
data = data['edit']
KeyError: 'edit'
>python version.py
Pywikipedia [http] trunk/pywikipedia (r7278, 2009/09/19, 13:00:22)
Python 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit
(Intel)]
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2009-09-20 02:31
Message:
My usual "interwiki.py -autonomous -start:XXX" run is now always terminated
with this error.
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2009-09-18 19:55
Message:
I don't know if it's relevant but this account is a Wikimedia global bot.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2861676&group_…
Feature Requests item #2903112, was opened at 2009-11-24 13:29
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2903112&group_…
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: interwiki
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki hints from file
Initial Comment:
Sadly enough, the request ID: 2284955 has been closed w/o resolution, maybe by mistake. I would like to revive it as it seems to be a helpful feature. Here it is:
It would be helpful if interwiki.py could read hints not only from console but also from a file, one per line, e.g. like this:
# [[:xx:page_without_interwiki]] [[:en:English_page_used_as_a_hint]]
please add this option. thanks
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2903112&group_…