Patches item #1907586, was opened at 2008-03-05 01:14
Message generated for change (Settings changed) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1907586&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: None
Priority: 8
Private: No
Submitted By: Purodha B Blissenbach (purodha)
Assigned to: Nobody/Anonymous (nobody)
Summary: Make edit tokens dynamic in wikipedia.py
Initial Comment:
Edit tokens in wikpedia.py were effectively constants up to this patch. When a token was outdated, a new one was not obtained, and edit access to the site never functioned again until the program was restarted.
The problem is described in more detail in:
https://sourceforge.net/tracker/index.php?func=detail&aid=1903113&group_id=…
The attached patch makes tokens a bit more dynamic, it allows loading of new ones when an edit page requires.
I have tested the code, with interwiki-py only, for about 20 hours in manually assisted mode in 3, sometimes 4, parallel sessions in verbose mode. The altered branch was executed several dozen times, no problems seen.
Nevertheless, I recommend a review. I am not knowledgeable enough to be sure that there are no sideffects. I am not a python expert, so maybe, I made it too complicated. Also, though I did run few other pywikipediabot programs which were using the altered wikipdia.py without apaprent problems, that cannot be called a valid test.
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2009-09-27 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: NicDumZ Nicolas Dumazet (nicdumz)
Date: 2009-03-23 11:06
Message:
mmm sorry to take so long to review this... (whooa one year :/ ). No
excuses.
It seems that something is missing.
When entering _putpage the first time, newToken=0.
* Inside _putpage, newToken is never assigned a value.
* if newToken < 0, then a recursive call is made with newToken = newToken
+ 1 . That's the only possible call where newToken is changed.
If I get it right, whatever the workflow is, newToken will always be 0
Correct, or is it me?
If you're still motivated to code something Purodha, please update your
patch, I'll make sure to review it faster ;)
----------------------------------------------------------------------
Comment By: Purodha B Blissenbach (purodha)
Date: 2008-03-08 04:17
Message:
Logged In: YES
user_id=46450
Originator: YES
File Added: wikipedia.py-5107-diff.txt
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1907586&group_…
Bugs item #2865996, was opened at 2009-09-24 19:57
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2865996&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: rewrite
Group: None
Status: Pending
Resolution: Invalid
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Russell Blau (russblau)
Summary: No output in replace.py
Initial Comment:
>python Myreplace.py -fix:comunes -start:! -always -debug
No handlers could be found for logger "pywiki"
Very similar error as reported on:
output() is broken - ID: 2618865
http://sourceforge.net/tracker/?func=detail&atid=603138&aid=2618865&group_i…
##########TRANSCRIPT############
$python pywikibot/pagegenerators.py -cat:1918
No handlers could be found for logger "wiki.config2"
Found 1 wikipedia:fr processes running, including this one.
$
Nothing is ever printed =)
Turning on the debug parameters however prints correctly the page names:
$python pywikibot/pagegenerators.py -cat:1918 -debug
No handlers could be found for logger "wiki.config2"
Found 1 wikipedia:fr processes running, including this one.
Grippe de 1918
1918 en bande dessinée
Armistice de Moudros
Déclaration d'indépendance de la Lituanie
Guerre d'indépendance lettone
1918
[and so on...]
=)
##########################################
Using "-debug" in this case doesn't show anything more.
Using latest python version python 2.6.2 and r7292.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-09-27 02:14
Message:
The error I was getting was:
No handlers could be found for logger "pywiki"
No handlers could be found for logger "wiki.config2" was just something
similar I found. I don't seem to have the problem anymore (did a complete
delete and started over again). Everything is working now, thanks anyway !
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2009-09-25 14:56
Message:
I cannot replicate this bug. Are you sure you have updated _all_ of the
files in the rewrite branch to their latest SVN versions? In particular, I
do not see how the error:
No handlers could be found for logger "wiki.config2"
could ever occur, since no such logger is referenced anywhere in the SVN
code. If you have modified the code, please post the actual program that
you are running to allow diagnosis.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2865996&group_…
Bugs item #2867449, was opened at 2009-09-26 16:08
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2867449&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: Duplicate
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki does not work
Initial Comment:
Interwiki.py does not work. The command "interwiki.py" gives the next text is in an output:
Traceback (most recent call last):
File "D:\bot3\interwiki.py", line 2122, in <module>
mainpagename = site.mediawiki_message('mainpage')
File "D:\bot3\wikipedia.py", line 5418, in mediawiki_mess
tree = XML(decode)
File "<string>", line 85, in XML
SyntaxError: undefined entity : line 656, column 165
Please help.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-09-26 19:54
Message:
fixed in r7267
Please set
use_api = True
in your user_config.py
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2867449&group_…
Patches item #2848560, was opened at 2009-09-01 18:37
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2848560&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: robertm (matekrm)
Assigned to: Nobody/Anonymous (nobody)
Summary: wikipedia.Page.previousRevision throw exception
Initial Comment:
The IndexError exception is thrown when trying to call wikipedia.Page.previousRevision () method. The problem occur on latest pywikipedia version. Attached patch fix the problem.
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-09-26 19:27
Message:
Reverted.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-09-26 14:30
Message:
This bugfix is wrong of cause it doesn't get the prevous version but the
last one.
The index error should be handled with an error exception. It indicates
that there is no version history.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-09-25 01:58
Message:
r7306. Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2848560&group_…
Bugs item #2867449, was opened at 2009-09-26 14:08
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2867449&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki does not work
Initial Comment:
Interwiki.py does not work. The command "interwiki.py" gives the next text is in an output:
Traceback (most recent call last):
File "D:\bot3\interwiki.py", line 2122, in <module>
mainpagename = site.mediawiki_message('mainpage')
File "D:\bot3\wikipedia.py", line 5418, in mediawiki_mess
tree = XML(decode)
File "<string>", line 85, in XML
SyntaxError: undefined entity : line 656, column 165
Please help.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2867449&group_…
Patches item #2848560, was opened at 2009-09-01 18:37
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2848560&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: 5
Private: No
Submitted By: robertm (matekrm)
Assigned to: Nobody/Anonymous (nobody)
Summary: wikipedia.Page.previousRevision throw exception
Initial Comment:
The IndexError exception is thrown when trying to call wikipedia.Page.previousRevision () method. The problem occur on latest pywikipedia version. Attached patch fix the problem.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-09-26 14:30
Message:
This bugfix is wrong of cause it doesn't get the prevous version but the
last one.
The index error should be handled with an error exception. It indicates
that there is no version history.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-09-25 01:58
Message:
r7306. Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2848560&group_…
Patches item #2866754, was opened at 2009-09-25 17:24
Message generated for change (Comment added) made by filnik
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2866754&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: 5
Private: No
Submitted By: mikeu (mu301)
>Assigned to: Filnik (filnik)
Summary: update welcome.py for crosswiki use
Initial Comment:
Please change line 391 to use projectspace instead of userspace.
from:
'en': u'User:Filnik/Sign',
to:
'en': u'Project:Welcome log/Sign',
Also add:
'en': u'{{subst:Welcome}}\n\n{{subst:Talktome}} %s',
to the section starting at line 283:
'wikiversity':{
'it': u'{{subst:Benvenuto}} %s',
},
----------------------------------------------------------------------
>Comment By: Filnik (filnik)
Date: 2009-09-26 09:06
Message:
Fixed in rev: 7319 by Filnik.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2866754&group_…
Patches item #2866754, was opened at 2009-09-25 13:24
Message generated for change (Tracker Item Submitted) made by mu301
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2866754&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: mikeu (mu301)
Assigned to: Nobody/Anonymous (nobody)
Summary: update welcome.py for crosswiki use
Initial Comment:
Please change line 391 to use projectspace instead of userspace.
from:
'en': u'User:Filnik/Sign',
to:
'en': u'Project:Welcome log/Sign',
Also add:
'en': u'{{subst:Welcome}}\n\n{{subst:Talktome}} %s',
to the section starting at line 283:
'wikiversity':{
'it': u'{{subst:Benvenuto}} %s',
},
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2866754&group_…
Bugs item #2865996, was opened at 2009-09-24 15:57
Message generated for change (Comment added) made by russblau
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2865996&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: rewrite
Group: None
>Status: Pending
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Russell Blau (russblau)
Summary: No output in replace.py
Initial Comment:
>python Myreplace.py -fix:comunes -start:! -always -debug
No handlers could be found for logger "pywiki"
Very similar error as reported on:
output() is broken - ID: 2618865
http://sourceforge.net/tracker/?func=detail&atid=603138&aid=2618865&group_i…
##########TRANSCRIPT############
$python pywikibot/pagegenerators.py -cat:1918
No handlers could be found for logger "wiki.config2"
Found 1 wikipedia:fr processes running, including this one.
$
Nothing is ever printed =)
Turning on the debug parameters however prints correctly the page names:
$python pywikibot/pagegenerators.py -cat:1918 -debug
No handlers could be found for logger "wiki.config2"
Found 1 wikipedia:fr processes running, including this one.
Grippe de 1918
1918 en bande dessinée
Armistice de Moudros
Déclaration d'indépendance de la Lituanie
Guerre d'indépendance lettone
1918
[and so on...]
=)
##########################################
Using "-debug" in this case doesn't show anything more.
Using latest python version python 2.6.2 and r7292.
----------------------------------------------------------------------
>Comment By: Russell Blau (russblau)
Date: 2009-09-25 10:56
Message:
I cannot replicate this bug. Are you sure you have updated _all_ of the
files in the rewrite branch to their latest SVN versions? In particular, I
do not see how the error:
No handlers could be found for logger "wiki.config2"
could ever occur, since no such logger is referenced anywhere in the SVN
code. If you have modified the code, please post the actual program that
you are running to allow diagnosis.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2865996&group_…
Patches item #1808183, was opened at 2007-10-05 18:15
Message generated for change (Settings changed) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1808183&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: Wont Fix
Priority: 5
Private: No
Submitted By: Leszek Krupiński (leszek_k)
Assigned to: Nobody/Anonymous (nobody)
Summary: Users generator
Initial Comment:
Attached patch will add "users" generator - can be used to perform certain actions on all users.
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2008-06-23 19:42
Message:
Logged In: YES
user_id=1327030
Originator: NO
-prefixindex will also return subpages.
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2008-06-23 19:29
Message:
Logged In: YES
user_id=181280
Originator: NO
-prefixindex doesn't work with all registreted users.
----------------------------------------------------------------------
Comment By: AndreasJS (andreasjs)
Date: 2008-01-29 16:00
Message:
Logged In: YES
user_id=1738850
Originator: NO
Already exists: most scripts will retrieve all users by using the
parameter :
-prefixindex:User:
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1808183&group_…