Patches item #2873022, was opened at 2009-10-05 19:05
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2873022&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: 9
Private: No
Submitted By: xqt (xqt)
>Assigned to: xqt (xqt)
Summary: catlib patch for KeyError
Initial Comment:
This patch solves the KeyError which occures in catlib (r7372) while loading more than 500 pages
File "C:\Programme\Python25\pywikipedia\catlib.py", line 404, in articles
for tag, page in gen(recurse=recurse, startFrom=startFrom):
File "C:\Programme\Python25\pywikipedia\catlib.py", line 162, in _getContentsNaive
for tag, page in self._parseCategory(startFrom=startFrom):
File "C:\Programme\Python25\pywikipedia\catlib.py", line 235, in _parseCategory
if 'query-continue' in data and count < params['cmlimilt']:
KeyError: 'cmlimilt'
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-07 17:55
Message:
r7383
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2873022&group_…
Bugs item #2874091, was opened at 2009-10-07 14:40
Message generated for change (Settings changed) made by mauro742
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2874091&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: 6
Private: No
Submitted By: Mauro (mauro742)
Assigned to: Nobody/Anonymous (nobody)
Summary: getVersionHistory bug with Tags (attached bugfix)
Initial Comment:
There is a bug in getVersionHistory: if a version contains a tag (Special:Tags) the regex doesn't work.
I've fixed the regex with the attached patch.
Mauro
Pywikipedia [http] trunk/pywikipedia (r7381, 2009/10/06, 19:52:12)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2874091&group_…
Bugs item #2874091, was opened at 2009-10-07 14:40
Message generated for change (Tracker Item Submitted) made by mauro742
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2874091&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: Mauro (mauro742)
Assigned to: Nobody/Anonymous (nobody)
Summary: getVersionHistory bug with Tags (attached bugfix)
Initial Comment:
There is a bug in getVersionHistory: if a version contains a tag (Special:Tags) the regex doesn't work.
I've fixed the regex with the attached patch.
Mauro
Pywikipedia [http] trunk/pywikipedia (r7381, 2009/10/06, 19:52:12)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2874091&group_…
Bugs item #2873605, was opened at 2009-10-06 17:58
Message generated for change (Tracker Item Submitted) made by dmitrynikitin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2873605&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: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dmitry Nikitin (dmitrynikitin)
Assigned to: Nobody/Anonymous (nobody)
Summary: upload.py uploads an image several minutes
Initial Comment:
upload.py uploads image to site (MediaWiki version 1.15.1 = latest official release) very long ... several minutes
I thinks that the reason is the latest changes in mediawiki and hence in pywikipedia. But 1.16 is not released and 1.15.1 remains latest official release of MediaWiki. Now the latest pywikipedia version doesn't work properly with the latest official release of MediaWiki.
python /export/wiki/pywikipedia/upload.py "Dubno_set070_k0.jpg" -keep -noverify "{{Cc|Александр}} [[Категория:Без Клейма]] [[Категория:Ровенская cерия]]"
Reading file Dubno_set070_k0.jpg
The suggested description is:
{{Cc|Александр}}
[[Category:Без Клейма]]
[[Category:Ровенская серия]]
Uploading file to ...wiki:ru...
Error downloading data: Expecting , delimiter: line 1 column 199666 (char 199666)
Request ru:/gw/api.php?action=query&meta=allmessages&format=json
Retrying in 1 minutes...
Error downloading data: Invalid \uXXXX escape: line 1 column 376301 (char 376301)
Request ru:/gw/api.php?action=query&meta=allmessages&format=json
Retrying in 2 minutes...
Error downloading data: Invalid \uXXXX escape: line 1 column 276942 (char 276942)
Request ru:/gw/api.php?action=query&meta=allmessages&format=json
Retrying in 4 minutes...
Upload successful.
== python version.py ==
Pywikipedia [http] trunk/pywikipedia (r7379, 2009/10/06, 06:39:04)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
MediaWiki version: 1.15.1
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2873605&group_…
Bugs item #2822195, was opened at 2009-07-16 00:42
Message generated for change (Settings changed) made by malafaya
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2822195&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: Works For Me
Priority: 5
Private: No
Submitted By: André Malafaya Baptista (malafaya)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py -help throws exception
Initial Comment:
replace.py -help throws following exception after common bot help (the replace.py specific help is not shown):
Traceback (most recent call last):
File "D:\Work\pywikipedia\replace.py", line 705, in <module>
main()
File "D:\Work\pywikipedia\replace.py", line 510, in main
for arg in wikipedia.handleArgs(*args):
File "D:\Work\pywikipedia\wikipedia.py", line 6535, in handleArgs
showHelp(moduleName)
File "D:\Work\pywikipedia\wikipedia.py", line 7005, in showHelp
helpText = helpText.replace(key, value.strip('\n\r'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 852: ordinal not in range(128)
Thanks.
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2009-10-06 11:56
Message:
I confirm the problem no longer exists. Thanks.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 20:17
Message:
Please update your bot and try again. Works for me.
----------------------------------------------------------------------
Comment By: MGA73 (mga73)
Date: 2009-07-30 10:35
Message:
I thought it was just me that had messed up by bot so I'm "happy" to see
that others have the same error. My error have almost the same values: line
705, 510. 6573, 7043 and 852. Sadly I have had other problems also. /MGA73
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2822195&group_…
Bugs item #2822195, was opened at 2009-07-16 00:42
Message generated for change (Settings changed) made by malafaya
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2822195&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: Works For Me
Priority: 5
Private: No
Submitted By: André Malafaya Baptista (malafaya)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py -help throws exception
Initial Comment:
replace.py -help throws following exception after common bot help (the replace.py specific help is not shown):
Traceback (most recent call last):
File "D:\Work\pywikipedia\replace.py", line 705, in <module>
main()
File "D:\Work\pywikipedia\replace.py", line 510, in main
for arg in wikipedia.handleArgs(*args):
File "D:\Work\pywikipedia\wikipedia.py", line 6535, in handleArgs
showHelp(moduleName)
File "D:\Work\pywikipedia\wikipedia.py", line 7005, in showHelp
helpText = helpText.replace(key, value.strip('\n\r'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 852: ordinal not in range(128)
Thanks.
----------------------------------------------------------------------
>Comment By: André Malafaya Baptista (malafaya)
Date: 2009-10-06 11:56
Message:
I confirm the problem no longer exists. Thanks.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 20:17
Message:
Please update your bot and try again. Works for me.
----------------------------------------------------------------------
Comment By: MGA73 (mga73)
Date: 2009-07-30 10:35
Message:
I thought it was just me that had messed up by bot so I'm "happy" to see
that others have the same error. My error have almost the same values: line
705, 510. 6573, 7043 and 852. Sadly I have had other problems also. /MGA73
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2822195&group_…
Patches item #1912104, was opened at 2008-03-11 19:36
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1912104&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: AndreasJS (andreasjs)
Assigned to: Leonardo Gregianin (leogregianin)
Summary: interwiki: add "all" to namespace question
Initial Comment:
In Wikisource, authors are sometimes in namespace 102, but sometimes in the same namespace as the articles. The question:
WARNING: %s is in namespace %i, but %s is in namespace %i. Follow it anyway?'
appears everytime an author is encountered.
This patch adds the answer 'all' so that the question is not asked again for the same pair of language/namespace combinations.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-06 09:21
Message:
You should always build a crossnamespace dict. Otherwise bots in
autonoumous mode would revert those edits.
----------------------------------------------------------------------
Comment By: Leonardo Gregianin (leogregianin)
Date: 2008-07-19 20:28
Message:
Logged In: YES
user_id=1136737
Originator: NO
I revert the last change, but is "always" allowed to do interwiki-links to
other namespaces, that question would not be necessary:
choice = wikipedia.inputChoice('WARNING: %s is in namespace %i, but %s is
in namespace %i. Follow it anyway?' % (self.originPage.aslink(True),
self.originPage.namespace(), linkedPage.aslink(True),
linkedPage.namespace()), ['Yes', 'No'], ['y', 'n'])
----------------------------------------------------------------------
Comment By: Stig Meireles Johansen (stigmj)
Date: 2008-07-19 12:39
Message:
Logged In: YES
user_id=2116333
Originator: NO
If there are certain namespaces (f.ex. 102) in some wikisource-sites which
is "always" allowed to do interwiki-links to other namespaces (f.ex. 0) in
other wikisource-sites, you should build a corresponding
crossnamespace-dictionary for this. See
http://svn.wikimedia.org/viewvc/pywikipedia?view=rev&revision=5614 for more
information.
----------------------------------------------------------------------
Comment By: Leonardo Gregianin (leogregianin)
Date: 2008-07-19 04:35
Message:
Logged In: YES
user_id=1136737
Originator: NO
add in r5733
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1912104&group_…
Patches item #1986308, was opened at 2008-06-06 13:26
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1986308&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: Melancholie (melancholie)
>Assigned to: xqt (xqt)
Summary: good.py
Initial Comment:
I have forked featured.py (my updated version, see #1985288).
The script good.py will do the very same like featured.py,
but for "good articles" (not for featured ones)!
Script source:
http://als.wikipedia.org/w/index.php?title=Benutzer:MelancholieBot/good.py&…
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-10-05 19:11
Message:
I already merged this stuff into featured.py. I am just testing but it
looks fine (after patching catlib.py ;) )
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-10-05 16:57
Message:
I could integrate a -good option to featured.py
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 20:45
Message:
Anything we can do about getting this issue processed?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-06-24 14:48
Message:
Logged In: NO
I think it is hard to integrate it, is a different concept.
----------------------------------------------------------------------
Comment By: Leonardo Gregianin (leogregianin)
Date: 2008-06-23 02:34
Message:
Logged In: YES
user_id=1136737
Originator: NO
Could you integrate the good.py within featured.py? Because the good.py is
basically the same script, the change is minimal. Regards, leonardo.
----------------------------------------------------------------------
Comment By: John (compwhizii)
Date: 2008-06-15 18:02
Message:
Logged In: YES
user_id=1924813
Originator: NO
Excuse my last comment.....
----------------------------------------------------------------------
Comment By: John (compwhizii)
Date: 2008-06-15 18:01
Message:
Logged In: YES
user_id=1924813
Originator: NO
C:\Documents and Settings\john2\My Documents\fixrd.patch
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1986308&group_…
Patches item #1986308, was opened at 2008-06-06 13:26
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1986308&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: Melancholie (melancholie)
Assigned to: Nobody/Anonymous (nobody)
Summary: good.py
Initial Comment:
I have forked featured.py (my updated version, see #1985288).
The script good.py will do the very same like featured.py,
but for "good articles" (not for featured ones)!
Script source:
http://als.wikipedia.org/w/index.php?title=Benutzer:MelancholieBot/good.py&…
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-05 19:11
Message:
I already merged this stuff into featured.py. I am just testing but it
looks fine (after patching catlib.py ;) )
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-10-05 16:57
Message:
I could integrate a -good option to featured.py
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 20:45
Message:
Anything we can do about getting this issue processed?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-06-24 14:48
Message:
Logged In: NO
I think it is hard to integrate it, is a different concept.
----------------------------------------------------------------------
Comment By: Leonardo Gregianin (leogregianin)
Date: 2008-06-23 02:34
Message:
Logged In: YES
user_id=1136737
Originator: NO
Could you integrate the good.py within featured.py? Because the good.py is
basically the same script, the change is minimal. Regards, leonardo.
----------------------------------------------------------------------
Comment By: John (compwhizii)
Date: 2008-06-15 18:02
Message:
Logged In: YES
user_id=1924813
Originator: NO
Excuse my last comment.....
----------------------------------------------------------------------
Comment By: John (compwhizii)
Date: 2008-06-15 18:01
Message:
Logged In: YES
user_id=1924813
Originator: NO
C:\Documents and Settings\john2\My Documents\fixrd.patch
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1986308&group_…
Patches item #2873022, was opened at 2009-10-05 19:05
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2873022&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: 9
Private: No
Submitted By: xqt (xqt)
Assigned to: siebrand (siebrand)
Summary: catlib patch for KeyError
Initial Comment:
This patch solves the KeyError which occures in catlib (r7372) while loading more than 500 pages
File "C:\Programme\Python25\pywikipedia\catlib.py", line 404, in articles
for tag, page in gen(recurse=recurse, startFrom=startFrom):
File "C:\Programme\Python25\pywikipedia\catlib.py", line 162, in _getContentsNaive
for tag, page in self._parseCategory(startFrom=startFrom):
File "C:\Programme\Python25\pywikipedia\catlib.py", line 235, in _parseCategory
if 'query-continue' in data and count < params['cmlimilt']:
KeyError: 'cmlimilt'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2873022&group_…