Bugs item #1821397, was opened at 2007-10-28 01:02
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1821397&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: Closed
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Wont load pages for name space move
Initial Comment:
Error when trying to run movepages.py means that CMD says pages are loading but then the process times out. Code is shown below.
newsmarkie(a)gmail.com
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\HP_Administrator\My Documents\PYbot\pywikipedia>c:\pyt
hon25\python movepages.py -file:moves.txt -prefix:Namespace
WARNING: Type of 'console_encoding' changed
Was: <type 'str'>
Now: <type 'unicode'>
Checked for running processes. 1 processes currently running, including the curr
ent process.
Getting 60 pages from wikinews:en...
'_default'
C:\Documents and Settings\HP_Administrator\My Documents\PYbot\pywikipedia>
C:\Documents and Settings\HP_Administrator\My Documents\PYbot\pywikipedia>versio
n.py
Pywikipedia nightly:pywikipedia (r4481, Oct 26 2007, 07:17:15)
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]
C:\Documents and Settings\HP_Administrator\My Documents\PYbot\pywikipedia>c:\pyt
'c:\pyt' is not recognized as an internal or external command,
operable program or batch file.
C:\Documents and Settings\HP_Administrator\My Documents\PYbot\pywikipedia>hon25\
python movepages.py -file:moves.txt -prefix:Commetns
The system cannot find the path specified.
C:\Documents and Settings\HP_Administrator\My Documents\PYbot\pywikipedia>c:\pyt
hon25\python movepages.py -file:moves.txt -prefix:Comments
WARNING: Type of 'console_encoding' changed
Was: <type 'str'>
Now: <type 'unicode'>
Checked for running processes. 1 processes currently running, including the curr
ent process.
Getting 60 pages from wikinews:en...
'_default'
C:\Documents and Settings\HP_Administrator\My Documents\PYbot\pywikipedia>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1821397&group_…
Bugs item #1751134, was opened at 2007-07-10 14:34
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1751134&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: Works For Me
Priority: 5
Private: No
Submitted By: Byrial Ole Jensen (byrial)
Assigned to: Nobody/Anonymous (nobody)
Summary: Suggest to remove correct iw to section
Initial Comment:
interwiki.py suggests to remove a correct iw link to a section ([[no:Andre personer i Tidshjulet-serien#Elayne Trakand]]) when no other existing pages are found. An iw to [[no:Elayne Trakand]] is also found, but that page does not exist:
$ ./interwiki.py -lang:sv
Checked for running processes. 2 processes currently running, including the current process.
Which page to check: Elayne Trakand
Getting 1 pages from wikipedia:sv...
[[Elayne Trakand]]: [[sv:Elayne Trakand]] gives new interwiki [[no:Andre personer i Tidshjulet-serien#Elayne_Trakand]]
[[Elayne Trakand]]: [[sv:Elayne Trakand]] gives new interwiki [[nl:Elayne Trakand]]
[[Elayne Trakand]]: [[sv:Elayne Trakand]] gives new interwiki [[en:Elayne Trakand]]
[[Elayne Trakand]]: [[sv:Elayne Trakand]] gives new interwiki [[fr:Elayne Trakand]]
Getting 1 pages from wikipedia:no...
Getting 1 pages from wikipedia:nl...
Getting 1 pages from wikipedia:en...
NOTE: [[Elayne Trakand]]: [[en:Elayne Trakand]] gives duplicate interwiki on same site [[no:Elayne Trakand]]
[[Elayne Trakand]]: [[en:Elayne Trakand]] gives new interwiki [[fi:Elayne Trakand]]
Getting 1 pages from wikipedia:fr...
Getting 1 pages from wikipedia:no...
NOTE: [[no:Elayne Trakand]] does not exist
Getting 1 pages from wikipedia:fi...
======Post-processing [[sv:Elayne Trakand]]======
Updating links on page [[sv:Elayne Trakand]].
Changes to be made: Lägger till: [[fi:Elayne Trakand]] Tar bort: [[no:Andre personer i Tidshjulet-serien#Elayne_Trakand]]
+ [[fi:Elayne Trakand]]
- [[no:Andre personer i Tidshjulet-serien#Elayne Trakand]]
ERROR: Found incorrect link to no in [[sv:Elayne Trakand]]
Submit? ([y]es, [n]o, [g]ive up)
----------------------------------------------------------------------
Comment By: Byrial Ole Jensen (byrial)
Date: 2007-07-23 20:13
Message:
Logged In: YES
user_id=23252
Originator: YES
I think it should be fixed by ignoring the link in the section header. The
link should certainly not be followed.
Here is another example of the same bug:
======Post-processing [[de:Fußball-Weltmeisterschaft
1938/Niederlande]]======
Updating links on page [[de:Fußball-Weltmeisterschaft
1938/Niederlande]].
Changes to be made: Entferne: [[en:1938 FIFA World Cup
squads#Netherlands]]
- [[en:1938 FIFA World Cup squads#Netherlands]]
-
ERROR: Found incorrect link to en in [[de:Fußball-Weltmeisterschaft
1938/Niederlande]]
Submit? ([y]es, [n]o, [g]ive up)
----------------------------------------------------------------------
Comment By: Andre Engels (a_engels)
Date: 2007-07-10 14:41
Message:
Logged In: YES
user_id=843018
Originator: NO
This is caused by the section title being given not by
=== Elayne Trakand ===
but by
=== [[Elayne Trakand]] ===
The bot does not notice that it should drop the [[]] from the section
title.
In this specific case, looking at the Norwegian page, it seems that the
logical thing to do would be to make the section title non-linking (there
is a list of "Karakterer med egne sider" ("characters with their own page")
at the top, and this one is specifically not in it. However, for the
general case I guess a change of the bot code might be in order - either by
allowing the link or by deciding to follow the link.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1751134&group_…
Bugs item #1924322, was opened at 2008-03-24 14:19
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1924322&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: Accepted
>Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki links on subpages in templates
Initial Comment:
In English and some other major wikipedias interwiki links are placed on /doc subpage (or whatever it's called) in templates. Interwiki bot should check if such a page exists and not place interwiki links on main template page but place/update links on that subpage. Otherwise, everytime a bot places interwiki on a template with this structure, the main template page needs to be cleaned and interwiki links moved to a subpage manually
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-12-10 12:58
Message:
Behaviour changed. Interwiki bot doesn't change templates with
{{document}}-templates inside. This also works for the corresponding
template on de: and cs:-wiki.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-08-23 22:07
Message:
On dewiki templates can contain {{Dokumentation}} which will include
interwikis listed on subpage /Meta
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-04-25 23:57
Message:
Logged In: NO
A few pages in the project namespace also use subpages for headers and
interwiki links. Subpages usually have <includeonly> around the iw and
category links, interwiki bots should leave that in place.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-04-17 22:13
Message:
Logged In: NO
Every like it about his problem.
If there is a page with subpages in templates. The interwiki links on the
subpages needs to places in inside the nowiki section. So if the last word
of the page is </nowiki> the interwiki link needs to be placed before the
</nowiki> tag.
I'm the operator of the CarsracBot with its home on the nl.wikipedia.org
And I have seen this behaviour on that articles where
en:list_of_asteroides/1101-1200 is a part of.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1924322&group_…
Bugs item #2164505, was opened at 2008-10-13 22:55
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2164505&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: Out of Date
Priority: 7
Private: No
Submitted By: Purodha B Blissenbach (purodha)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py deletes comment lines
Initial Comment:
interwiki.py removes comment lines which should remain where they are, see http://nn.wikipedia.org/w/index.php?title=Kategori%3AAfghanistan&diff=75132…
AndersL of the Nynorsk Wikipedia tells that, there were multiple such sinstances, see
http://ksh.wikipedia.org/w/index.php?title=Metmaacher_Klaaf%3APurodha&diff=…
The program version of the above sample was of that day, or the day before. I am updating the program for Purbo T daily from svn.
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-04-14 17:49
Message:
Purodha, have you seen that bug recently?
If not, given my failed test, I'll close this as Can't reproduce
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2008-10-20 05:41
Message:
I have tried to track the bug ; attached is my attempt to reproduce it, on
the exact same page.
Somehow I cannot reproduce it... Am I missing something here ?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2164505&group_…
Bugs item #2816205, was opened at 2009-07-03 11:02
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2816205&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: Pending
Resolution: None
Priority: 6
Private: No
Submitted By: JAn (jandudik)
Assigned to: Nobody/Anonymous (nobody)
Summary: -whenneeded does not work correctly
Initial Comment:
When I run bot
interwiki.py -whenneeded -force cs:New_York_(stát) -ignore:bcl:New_Mexico
it repair ONLY cs and en, not other languages with this bad (but ignored) link
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-12-10 12:22
Message:
I testet
iinterwiki.py -force -whenneeded -start:Waa -lang:nv
which you reported with #2821636. But it works for me.
Is this bug still valid?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2816205&group_…
Bugs item #2822460, was opened at 2009-07-16 14:59
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2822460&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: Works For Me
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: bot does not -continue
Initial Comment:
interwiki.py -lang:nv -continue
(bot loads first 60 articles )
NOTE: The first unfinished subject is [[nv:Azeedích'íí']]
NOTE: Number of pages queued is 60, trying to add 60 more.
Dump nv (wikipedia) saved
Traceback (most recent call last):
File "C:\Dokumenty\py\interwiki.py", line 2156, in <module>
bot.run()
File "C:\Dokumenty\py\interwiki.py", line 1865, in run
self.queryStep()
File "C:\Dokumenty\py\interwiki.py", line 1838, in queryStep
self.oneQuery()
File "C:\Dokumenty\py\interwiki.py", line 1806, in oneQuery
site = self.selectQuerySite()
File "C:\Dokumenty\py\interwiki.py", line 1780, in selectQuerySite
self.generateMore(globalvar.maxquerysize - mycount)
File "C:\Dokumenty\py\interwiki.py", line 1711, in generateMore
page = self.pageGenerator.next()
File "c:\Dokumenty\py\pagegenerators.py", line 753, in CombinedPageGenerator
for page in generator:
File "c:\Dokumenty\py\pagegenerators.py", line 254, in AllpagesPageGenerator
for page in site.allpages(start = start, namespace = namespace, includeredir
ects = includeredirects):
File "c:\Dokumenty\py\wikipedia.py", line 5644, in allpages
for p in data['query']['allpages']:
KeyError: 'query'
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2009-07-16 15:59
Message:
This is a duplicate of bug 2821636.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2822460&group_…
Bugs item #2770568, was opened at 2009-04-17 13:40
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2770568&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: Pending
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: TaBaZzz (tabazzz)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py Error messages & more
Initial Comment:
hello.
performing the following command on the hebrew wikipedia:
python interwiki.py -confirm תקשורת_נתונים
gives some error messages, and displaying lots of garbage (probably the coded contents of the article). here is the error message:
Getting 1 pages from wikipedia:he...
Traceback (most recent call last):
File "/home/tal/pywikipedia/pagegenerators.py", line 790, in __iter__
for loaded_page in self.preload(somePages):
File "/home/tal/pywikipedia/pagegenerators.py", line 809, in preload
wikipedia.getall(site, pagesThisSite)
File "/home/tal/pywikipedia/wikipedia.py", line 3141, in getall
_GetAll(site, pages, throttle, force).run()
File "/home/tal/pywikipedia/wikipedia.py", line 2952, in run
data = self.getData()
File "/home/tal/pywikipedia/wikipedia.py", line 3124, in getData
response, data = self.site.postForm(address, predata)
File "/home/tal/pywikipedia/wikipedia.py", line 4580, in postForm
cookies=self.cookies(sysop = sysop))
File "/home/tal/pywikipedia/wikipedia.py", line 4638, in postData
data = data.decode(self.encoding())
File "/usr/lib64/python2.5/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xd7 in position 3131: unexpected end of data
'utf8' codec can't decode byte 0xd7 in position 3131: unexpected end of data
version:
Pywikipedia nightly:pywikipedia (r6611, Apr 16 2009, 15:41:15)
Python 2.5.1 (r251:54863, Jun 15 2008, 18:24:56)
[GCC 4.3.0 20080428 (Red Hat 4.3.0-8)]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-12-10 11:32
Message:
actual revision is r7755
as getData has been changed since r6611, please confirm whether this bug
is still valid.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2770568&group_…
Bugs item #2846488, was opened at 2009-08-28 20:22
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2846488&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: Closed
Resolution: Rejected
Priority: 5
Private: No
Submitted By: Vincent Vinet (vvinet)
Assigned to: Nobody/Anonymous (nobody)
Summary: Import/Path errors
Initial Comment:
Pywikipedia (r-1 (unknown), 0 (unknown))
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
When modifying the path for performing imports, the config userData path should not be used, since the files are laid out in a static fashion. Instead, the __file__ path allows for the path to always contain the required files.
The included patch fixes the various import errors I found while trying to develop a bot that acted from outside de pywikipedia source folder.
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2009-12-09 02:21
Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-11-24 08:42
Message:
unknown bot release. Please actualize your bot to get actual release
informations
----------------------------------------------------------------------
Comment By: Vincent Vinet (vvinet)
Date: 2009-10-05 11:34
Message:
@siebrand: Please refer to the first three lines of the bug report.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 19:02
Message:
Required output of version.py is not included in report.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2846488&group_…
Bugs item #2825215, was opened at 2009-07-22 07:43
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2825215&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: Closed
Resolution: Works For Me
Priority: 5
Private: No
Submitted By: JAn (jandudik)
Assigned to: Nobody/Anonymous (nobody)
Summary: -start: never starts
Initial Comment:
interwiki.py -force -whenneeded -start:Waa -lang:nv
does not work for me with r7083
bot doesn't crash, but never load a list of pages
It happens in some else combination of languages and pages too
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2009-12-08 02:20
Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2009-07-29 17:18
Message:
I wonder if this is related to bug 2825996? As I wrote there, page
generation gets stuck after the last page of the wiki.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2825215&group_…
Bugs item #2901213, was opened at 2009-11-20 16:42
Message generated for change (Comment added) made by dungodung
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2901213&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: Closed
Resolution: Fixed
Priority: 8
Private: No
Submitted By: Mauro (mauro742)
Assigned to: Nobody/Anonymous (nobody)
Summary: login.py fails (again)
Initial Comment:
python login.py
Password for user *** on wikipedia:it:
Logging in to wikipedia:it as ***
Result: 411 Length Required
Traceback (most recent call last):
File "login.py", line 393, in <module>
main()
File "login.py", line 389, in main
loginMan.login()
File "login.py", line 278, in login
cookiedata = self.getCookie(api)
File "login.py", line 170, in getCookie
response, data = self.site.postData(address, self.site.urlEncode(predata), sysop=self.sysop)
File "/home/mauro742/MauroBot/wikipedia.py", line 5482, in postData
f = MyURLopener.open(request)
File "/usr/lib/python2.5/urllib2.py", line 387, in open
response = meth(req, response)
File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.5/urllib2.py", line 419, in error
result = self._call_chain(*args)
File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
File "/home/mauro742/MauroBot/wikipedia.py", line 8232, in http_error_302
self, req, fp, code, msg, headers)
File "/usr/lib/python2.5/urllib2.py", line 582, in http_error_302
return self.parent.open(new)
File "/usr/lib/python2.5/urllib2.py", line 387, in open
response = meth(req, response)
File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.5/urllib2.py", line 425, in error
return self._call_chain(*args)
File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
File "/usr/lib/python2.5/urllib2.py", line 506, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 411: Length Required
python version.py
Pywikipedia [http] trunk/pywikipedia (r7670, 2009/11/20, 15:20:25)
Python 2.5.2 (r252:60911, Jan 4 2009, 21:59:32)
[GCC 4.3.2]
----------------------------------------------------------------------
Comment By: Filip Maljkovic (dungodung)
Date: 2009-12-06 00:41
Message:
Still doesn't work for one of my bots.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-11-30 12:57
Message:
This has probably been fixed. Feel free to reopen if not (based on r7718)
----------------------------------------------------------------------
Comment By: Filip Maljkovic (dungodung)
Date: 2009-11-28 23:10
Message:
I'm getting the same error with my bot. What gives?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2901213&group_…