Patches item #2070033, was opened at 2008-08-23 20:37
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2070033&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: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: xqt (xqt)
Summary: create library for diffs, expand userlib
Initial Comment:
Add a new library, editlib, for parsing diffs. It will parse the diff html page, extracting info like editor, time, edit summary, etc, and creating lists of the lines and words marked as added and deleted. More details can be found in the docstrings.
For use with editlib, some new functions are also added to userlib. These will get the user's registration date, the number of edits the user has made, and the number of vandalism warnings on the user's talk page.
Only Wikipedia:en is supported - some of the regular expressions rely on English text. Within that scope, I've done reasonably thorough testing on the editlib functions, and somewhat less thorough testing on the new functions for userlib.
All of this is designed for use with automated vandalism detection. I am working on a bot to do just that - User:Kalbot - but it's still in an early experimental stage. I am User:DKalkin on the English Wikipedia, and can be reached at dkalkin(a)gmail.com.
This is the first time I've submitted a patch to any sourceforge project. Apologies if I've screwed anything up.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-05 09:12
Message:
I couldn't download this patch from toolserver but an error "Object not
found". Anybody here who got it?
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 20:44
Message:
Can you take a look at this, xqt? Thanks.
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-08-21 17:05
Message:
https://jira.toolserver.org/browse/PYWP-9
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-08-21 06:48
Message:
no patchfile found
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2008-08-24 13:01
Message:
Logged In: YES
user_id=181280
Originator: NO
Currently SF attachment doesn't work, you can use an alternative bug
tracker hosted by Toolserver: https://jira.toolserver.org/browse/PYWP
Thanks.
----------------------------------------------------------------------
Comment By: Kalkin (dkalkin)
Date: 2008-08-23 20:45
Message:
Logged In: YES
user_id=1525955
Originator: NO
File didn't submit. Trying to figure out what went wrong...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2070033&group_…
Bugs item #2872725, was opened at 2009-10-04 19:51
Message generated for change (Settings changed) made by mu301
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872725&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: Closed
>Resolution: Duplicate
Priority: 5
Private: No
Submitted By: mikeu (mu301)
Assigned to: Nobody/Anonymous (nobody)
Summary: welcome.py TypeError creeps back in
Initial Comment:
The -timeoffset:X in welcome.py worked in r7328. It is broken in r7363 and r7373.
bash-3.00$ python welcome.py -random -limit:2000 -break -timeoffset:4320
Loading signature list...
Traceback (most recent call last):
File "welcome.py", line 982, in ?
bot.run()
File "welcome.py", line 786, in run
for users in self.parseNewUserLog():
File "welcome.py", line 676, in parseNewUserLog
params['lestart'] = int(now.strftime("%Y-%m-%dT%H:%M:%SZ"))
ValueError: invalid literal for int(): 2009-10-01T23:37:45Z
bash-3.00$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7373, 2009/10/04, 19:46:54)
Python 2.4.4 (#1, Jan 10 2007, 01:25:01) [C]
The same error as appears above is seen with r7363.
RE: comment in closed bug ID: 2865343
I confirm that r7328 works:
bash-3.00$ python welcome.py -random -limit:2000 -break -timeoffset:4320
Loading signature list...
Querying new user log from API....
[Skip]... <!-- snip output showing correct behaviour... -->
bash-3.00$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7328, 2009/09/29, 07:27:56)
Python 2.4.4 (#1, Jan 10 2007, 01:25:01) [C]
----------------------------------------------------------------------
>Comment By: mikeu (mu301)
Date: 2009-10-04 20:22
Message:
See ID: 2872239
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872725&group_…
Bugs item #2872725, was opened at 2009-10-04 19:51
Message generated for change (Tracker Item Submitted) made by mu301
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872725&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: mikeu (mu301)
Assigned to: Nobody/Anonymous (nobody)
Summary: welcome.py TypeError creeps back in
Initial Comment:
The -timeoffset:X in welcome.py worked in r7328. It is broken in r7363 and r7373.
bash-3.00$ python welcome.py -random -limit:2000 -break -timeoffset:4320
Loading signature list...
Traceback (most recent call last):
File "welcome.py", line 982, in ?
bot.run()
File "welcome.py", line 786, in run
for users in self.parseNewUserLog():
File "welcome.py", line 676, in parseNewUserLog
params['lestart'] = int(now.strftime("%Y-%m-%dT%H:%M:%SZ"))
ValueError: invalid literal for int(): 2009-10-01T23:37:45Z
bash-3.00$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7373, 2009/10/04, 19:46:54)
Python 2.4.4 (#1, Jan 10 2007, 01:25:01) [C]
The same error as appears above is seen with r7363.
RE: comment in closed bug ID: 2865343
I confirm that r7328 works:
bash-3.00$ python welcome.py -random -limit:2000 -break -timeoffset:4320
Loading signature list...
Querying new user log from API....
[Skip]... <!-- snip output showing correct behaviour... -->
bash-3.00$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7328, 2009/09/29, 07:27:56)
Python 2.4.4 (#1, Jan 10 2007, 01:25:01) [C]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872725&group_…
Bugs item #2847407, was opened at 2009-08-30 21:49
Message generated for change (Comment added) made by mga73
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2847407&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: MGA73 (mga73)
Assigned to: Nobody/Anonymous (nobody)
Summary: category_redirect.py not working
Initial Comment:
I get this error on da-wiki:
File "C:\pywikipedia\category_redirect.py", line 314
response, result = query.GetData(predata, self,site back_response = True)
^
SyntaxError: invalid syntax
(The ^ stands under the last e in back_response)
Is it just me that has this problem? mga73
----------------------------------------------------------------------
>Comment By: MGA73 (mga73)
Date: 2009-10-04 22:08
Message:
Forgot :-) :
C:\pywikipedia>category_redirect
Traceback (most recent call last):
File "C:\pywikipedia\category_redirect.py", line 674, in <module>
main()
File "C:\pywikipedia\category_redirect.py", line 668, in main
bot.run()
File "C:\pywikipedia\category_redirect.py", line 456, in run
aplimit='max'):
File "C:\pywikipedia\category_redirect.py", line 313, in query_results
response, result = query.GetData(predata, self.site, back_response =
True)
NameError: global name 'predata' is not defined
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-10-04 21:01
Message:
You have not included the output of version.py, as is required. I just ran
it, and got a different error:
C:\py\interwiki>category_redirect.py -lang:da
WARNING: Configuration variable 'language' is defined but unknown.
Misspelled?
Traceback (most recent call last):
File "C:\py\interwiki\category_redirect.py", line 674, in <module>
main()
File "C:\py\interwiki\category_redirect.py", line 668, in main
bot.run()
File "C:\py\interwiki\category_redirect.py", line 456, in run
aplimit='max'):
File "C:\py\interwiki\category_redirect.py", line 313, in query_results
response, result = query.GetData(predata, self.site, back_response =
True)
NameError: global name 'predata' is not defined
C:\py\interwiki>version.py
Pywikipedia [http] trunk/pywikipedia (r7355, 2009/10/02, 09:46:09)
Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2847407&group_…
Support Requests item #2823916, was opened at 2009-07-19 18:40
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=2823916&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
Priority: 7
Private: No
Submitted By: Alex S.H. Lin (lin4h)
Assigned to: Nobody/Anonymous (nobody)
Summary: Edit Pages through API
Initial Comment:
I had completed to make wikipedia.py.page()._putPage() can put pages through API,(in the patch file) but It's too big. I need someone to help debug it.
Some error code cannot handle like server database lag... etc
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-10-04 21:33
Message:
What is needed to get this issue closed? Please respond, or it will be
closed in two weeks.
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2009-07-21 20:41
Message:
Yes, that is the plan. The major obstacle at this point is that the API
does not yet support querying most special pages (like
Special:DoubleRedirects) so that bots that rely on these pages cannot be
ported to the rewrite framework.
----------------------------------------------------------------------
Comment By: Philip Tzou (cngxzl)
Date: 2009-07-21 13:59
Message:
@russblau: Does the new rewrite branch will replace current trunk in the
future?
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2009-07-19 23:04
Message:
Alex: Are you reading pywikipedia-l? I will not review this patch, because
you are wasting your time by adding API capabilities to the trunk instead
of working on the rewrite branch that already uses the API.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=2823916&group_…
Support Requests item #2801015, was opened at 2009-06-04 12:39
Message generated for change (Settings changed) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=2801015&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
Priority: 5
Private: No
Submitted By: Ronga (ronga)
Assigned to: Nobody/Anonymous (nobody)
Summary: Multiple Logins on Windows XP
Initial Comment:
I have read: http://meta.wikimedia.org/wiki/Using_the_python_wikipediabot#Multiple_accou…
But the description isn't clear. I did it by trial and error but failed.
I need some serious help.
- Where should I suppose to put the junction.exe ?
- Am I supposed to run cmd.exe. Go to the root of pywikipedia folder. Then type "junction families C:\pywikipedia\families" and "junction userinterfaces C:\pywikipedia\userinterfaces"?
- The instruction then says "The rest of the method is the same as above." In fact the codes and steps are somehow different but I don't know how to correct it.
Would anyone supply a step-by-step guide for Windows XP, instead of just saying "the method is the same"?
Thanks a lot.
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-10-04 21:32
Message:
Do not do it the hard way. Just install separate instances.
http://meta.wikimedia.org/wiki/Using_the_python_wikipediabot#Separate_pywik…
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=2801015&group_…
Bugs item #2822195, was opened at 2009-07-16 01:42
Message generated for change (Settings changed) made by siebrand
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: siebrand (siebrand)
Date: 2009-10-04 21:17
Message:
Please update your bot and try again. Works for me.
----------------------------------------------------------------------
Comment By: MGA73 (mga73)
Date: 2009-07-30 11: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 #2826936, was opened at 2009-07-25 10:59
Message generated for change (Settings changed) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2826936&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: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Purodha B Blissenbach (purodha)
Assigned to: Nobody/Anonymous (nobody)
Summary: archivebot does not accept -v parameter
Initial Comment:
Archivebot.py in its help display says:
-verbose Have the bot provide additional output that may be useful in
-v debugging.
Here is the output it generates when you use it:
python archivebot.py -v -log -p:talk:Main_page
Usage: archivebot.py [options] [LINKPAGE(s)]
archivebot.py: error: no such option: -v
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-10-04 21:16
Message:
Don't see option "-v" in "archivebot.py -h"
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2826936&group_…
Bugs item #2827024, was opened at 2009-07-25 16:16
Message generated for change (Settings changed) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2827024&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: Bug in solveCaptcha (wikipedia.py)
Initial Comment:
There's a bug in solveCaptcha function (wikipedia.py). Some scripts crash with this errors:
File "mypath/wikipedia.py", line 1439, in put
newPage, self.site().getToken(sysop = sysop), sysop = sysop, botflag=botflag, maxTries=maxTries)
File "mypath/wikipedia.py", line 1683, in _putPage
solve = self.site().solveCaptcha(data)
File "mypath/wikipedia.py", line 4602, in solveCaptcha
if type(data) == dict: # API Mode result
UnboundLocalError: local variable 'type' referenced before assignment
Pywikipedia [http] trunk/pywikipedia (r7093, 2009/07/25, 09:39:25)
Python 2.5.1 (r251:54863, May 18 2007, 16:56:43)
[GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)]
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-10-04 21:12
Message:
Fixed in r7255 or r7283. Please update your bot.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2827024&group_…
Bugs item #2831932, was opened at 2009-08-04 12:21
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2831932&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: 5
Private: No
Submitted By: David Crochet (crochet_david)
Assigned to: Nobody/Anonymous (nobody)
Summary: -prefixindex reach the end of the list but want to continue
Initial Comment:
dcrochet@linux-fxgk:~/pywikipedia> svn up
Récupération de la référence externe vers 'spelling'
Référence externe à la révision 7107.
À la révision 7107.
dcrochet@linux-fxgk:~/pywikipedia> python version.py
Pywikipedia (r7101 (wikipedia.py), 2009/07/27, 15:54:13)
Python 2.4.2 (#1, Jan 10 2008, 17:45:02)
[GCC 4.1.2 20070115 (prerelease) (SUSE Linux)]
dcrochet@linux-fxgk:~/pywikipedia>
I use this script :
for isolang in cs de el en es fi fr it ja pt ; do
for namespace in User Wikiversity Template Help Category ; do
python interwiki.py -start:"${namespace}:" -lang:$isolang
done
done
with wikiversity as family.
The script can't finish any condition because the interwiki.py tell to take the 60th next page, but if they are less than 60 to take, he freeze (tha''s what i think)
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-10-04 21:10
Message:
Assuming this issue has been resolved by now. Please reopen if not.
----------------------------------------------------------------------
Comment By: David Crochet (crochet_david)
Date: 2009-08-04 12:23
Message:
Is it normal, that after a svn up, the version.py return r7101 but the svn
return r7107 ?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2831932&group_…