Bugs item #2869536, was opened at 2009-09-29 09:37
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2869536&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: v1.0 (example)
>Status: Closed
Resolution: Works For Me
Priority: 5
Private: No
Submitted By: dingar (dingar)
Assigned to: xqt (xqt)
Summary: generate_user_files.py needs new parameter
Initial Comment:
user-config.py needs a new parameter when we run generate_user_files.py to get a new config.
use_api = True
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-10-04 20:47
Message:
This is obsolete of cause in r7349 use_api is set to True in config.py
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2869536&group_…
Bugs item #2872239, was opened at 2009-10-03 16:26
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872239&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: Filnik (filnik)
Summary: welcome.py -timeoffset:X broken
Initial Comment:
bash-3.00$ date
Sat Oct 3 10:19:41 EDT 2009
bash-3.00$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7363, 2009/10/03, 12:19:39)
Python 2.4.4 (#1, Jan 10 2007, 01:25:01) [C]
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-09-30T14:19:53Z
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-10-04 20:47
Message:
Assigned to filnik.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872239&group_…
Bugs item #2869536, was opened at 2009-09-29 09:37
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2869536&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: v1.0 (example)
Status: Open
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: dingar (dingar)
>Assigned to: xqt (xqt)
Summary: generate_user_files.py needs new parameter
Initial Comment:
user-config.py needs a new parameter when we run generate_user_files.py to get a new config.
use_api = True
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-04 20:47
Message:
This is obsolete of cause in r7349 use_api is set to True in config.py
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2869536&group_…
Bugs item #2872580, was opened at 2009-10-04 17:02
Message generated for change (Settings changed) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872580&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: Duplicate
Priority: 4
Private: No
Submitted By: Nakor Wikipedia (nakor-wikipedia)
Assigned to: Nobody/Anonymous (nobody)
Summary: userlib._apiContributions returns too much
Initial Comment:
Try to run
contribs=user.contributions(1)
You get ALL user contirbutions, not just one
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-10-04 20:46
Message:
Duplicate of patch 2872584.
----------------------------------------------------------------------
Comment By: Nakor Wikipedia (nakor-wikipedia)
Date: 2009-10-04 17:08
Message:
Please patch #2872584
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2872580&group_…
Patches item #1986308, was opened at 2008-06-06 13:26
Message generated for change (Comment added) made by siebrand
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: 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 #2070033, was opened at 2008-08-23 20:37
Message generated for change (Settings changed) made by siebrand
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: Open
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: 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_…
Patches item #2872584, was opened at 2009-10-04 17:07
Message generated for change (Settings changed) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2872584&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: Nakor Wikipedia (nakor-wikipedia)
Assigned to: Nobody/Anonymous (nobody)
Summary: Getting correct number of contributions
Initial Comment:
When asking for user contributions, API always return "query-continue" even if the limit number of contributions has been returned (please see https://bugzilla.wikimedia.org/show_bug.cgi?id=20981 )
This patch solves the pb until the API is fixed. The patch is good for revision 7363.
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-10-04 20:43
Message:
r7367. Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2872584&group_…
Bugs item #2867956, was opened at 2009-09-27 10:17
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2867956&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: Duplicate
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: imagetransfer.py does not work
Initial Comment:
While giving a command
imagetransfer.py -lang:en -tolang:uk
does not upload an image. The next text gives in output
Traceback (most recent call last):
File "D:\pywikipedia\imagetransfer.py", line 310, in <mod
main()
File "D:\pywikipedia\imagetransfer.py", line 306, in main
bot.run()
File "D:\pywikipedia\imagetransfer.py", line 252, in run
self.transferImage(imagelist[todo], debug = False)
File "D:\pywikipedia\imagetransfer.py", line 179, in tran
targetFilename = bot.run()
File "D:\pywikipedia\upload.py", line 302, in run
return self.upload_image()
File "D:\pywikipedia\upload.py", line 257, in upload_imag
success_msg = self.targetSite.mediawiki_message('succes
File "D:\pywikipedia\wikipedia.py", line 5443, in mediawi
tree = XML(decode)
File "<string>", line 85, in XML
SyntaxError: undefined entity : line 656, column 165
Please help.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-04 20:37
Message:
fixed in r7267, r7349, 7354
duplicate to #2867449, #2865679, #2862265, #2860410
please actualize your bot
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2867956&group_…
Bugs item #2870574, was opened at 2009-09-30 10:30
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2870574&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: Duplicate
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py crashes with wikipedia.py (?)
Initial Comment:
An error occurs when my bot submit the new version of a page to the server, which has lasted for around two weeks. Due to this error, the bot will stop right after its first edit, but the page is correctly saved. The error message is as follows:
Traceback (most recent call last):
File "replace.py", line 711, in <module>
main()
File "replace.py", line 707, in main
bot.run()
File "replace.py", line 431, in run
page.put(new_text, self.editSummary)
File "c:\python26\pywikipedia\wikipedia.py", line 1448, in put
newPage, self.site().getToken(sysop = sysop), sysop = sysop, botflag=botflag
, maxTries=maxTries)
File "c:\python26\pywikipedia\wikipedia.py", line 1480, in _putPage
newPage, token, newToken, sysop, captcha, botflag, maxTries)
File "c:\python26\pywikipedia\wikipedia.py", line 1827, in _putPageOld
if self.site().has_mediawiki_message("spamprotectiontitle")\
File "c:\python26\pywikipedia\wikipedia.py", line 5478, in has_mediawiki_message
v = self.mediawiki_message(key)
File "c:\python26\pywikipedia\wikipedia.py", line 5443, in mediawiki_message
tree = XML(decode)
File "<string>", line 85, in XML
SyntaxError: undefined entity : line 637, column 117
Output of python version.py:
Pywikipedia [http] trunk/pywikipedia (r7338, 2009/09/29, 20:33:35)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-10-04 20:26
Message:
fixed in r7267, r7349, r7354
duplicate to #2867449, #2865679, #2862265, #2860410
actualize your bot
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-09-30 10:33
Message:
Please try again with the following in your user-config.py:
use_api = True
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2870574&group_…