Bugs item #2693183, was opened at 2009-03-19 01:26
Message generated for change (Comment added) made by purodha
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2693183&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: Works For Me
Priority: 6
Private: No
Submitted By: Purodha B Blissenbach (purodha)
Assigned to: Nobody/Anonymous (nobody)
Summary: pnt Wikipedia data seems incomplete.
Initial Comment:
I seems, I cannot access the newly added pnt Wikipedia.
Here is a sample of several very similar ones:
Thu Mar 19 01:16:46 UTC 2009
python /home/purodha/pywikipedia/interwiki.py -v -putthrottle:1 -initialredirect -hintnobracket -lang:pnt -start:! -ns:0 -number:4
Checked for running processes. 1 processes currently running, including the current process.
Pywikipediabot (r6439 (wikipedia.py), Feb 24 2009, 21:48:26)
Python 2.5.2 (r252:60911, Jan 4 2009, 21:59:32)
[GCC 4.3.2]
Retrieving mediawiki messages from Special:Allmessages
WARNING: No character set found.
NOTE: Number of pages queued is 0, trying to add 60 more.
Dump pnt (wikipedia) saved
Traceback (most recent call last):
File "/home/.../interwiki.py", line 1877, in <module>
bot.run()
File "/home/.../interwiki.py", line 1584, in run
self.queryStep()
File "/home/.../interwiki.py", line 1558, in queryStep
self.oneQuery()
File "/home/.../interwiki.py", line 1526, in oneQuery
site = self.selectQuerySite()
File "/home/.../interwiki.py", line 1500, in selectQuerySite
self.generateMore(globalvar.maxquerysize - mycount)
File "/home/.../interwiki.py", line 1432, in generateMore
page = self.pageGenerator.next()
File "/home/.../pagegenerators.py", line 709, in DuplicateFilterPageGenerator
for page in generator:
File "/home/.../pagegenerators.py", line 248, in AllpagesPageGenerator
for page in site.allpages(start = start, namespace = namespace, includeredirects = includeredirects):
File "/home/.../wikipedia.py", line 5502, in allpages
for p in soup.api.query.allpages:
AttributeError: 'NoneType' object has no attribute 'allpages'
~$
----------------------------------------------------------------------
>Comment By: Purodha B Blissenbach (purodha)
Date: 2009-03-27 11:28
Message:
Still not working. Same problem.
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-03-24 02:25
Message:
It works for me. Are you still able to reproduce this?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2693183&group_…
Bugs item #2716315, was opened at 2009-03-27 06:38
Message generated for change (Tracker Item Submitted) made by nicdumz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2716315&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: NicDumZ — Nicolas Dumazet (nicdumz)
Assigned to: Russell Blau (russblau)
Summary: gcmlimit may not be over 500 (set to 5000)
Initial Comment:
I have a script which runs everyday on the toolserver to update French maintenance pages related to WP1.0 evaluation ( http://fr.wikipedia.org/wiki/Projet:Am%C3%A9rique_pr%C3%A9colombienne/%C3%8… ).
The main action is to retrieve list of articles from categories. I have included a very simplified version of the script if anyone needs to know what the bot was doing.
And once every month or so (remember, it's a daily task), I get an ApiError about limit:
Traceback (most recent call last):
File "/home/nicdumz/pywikipedia/statistiques.py", line 79, in <module>
for p in pwsite.categorymembers(cat, namespaces=[1]):
File "/home/nicdumz/pywikipedia/pywikibot/data/api.py", line 428, in __iter__
self.data = self.request.submit()
File "/home/nicdumz/pywikipedia/pywikibot/data/api.py", line 260, in submit
raise APIError(code, info, **result["error"])
pywikibot.data.api.APIError: gcmlimit: gcmlimit may not be over 500 (set to 5000) for users
It looks like a session issue, the bot getting logged out in the middle of his task: today, the bot had already retrieved the contents of ~500 categories before crashing
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2716315&group_…
Bugs item #2709588, was opened at 2009-03-24 15:07
Message generated for change (Comment added) made by nicdumz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2709588&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: Invalid
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: ARZ not recognized
Initial Comment:
interwiki.py doesn't recognize the language ARZ, and moves its interwiki links away from the interwiki list.
Pywikipedia [http] trunk/pywikipedia (r5788, Aug 06 2008, 16:29:47)
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: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-03-26 15:53
Message:
closing
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-03-26 15:37
Message:
SVN didn't work. Its version is too new for my computer.
Anyway, I deleted the bot's directory, and installed it again.
Problem is solved.
Please change the status accordingly.
Thank you!
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-03-24 19:43
Message:
strange...
I'm updating every 2-3 days from this site:
http://toolserver.org/~valhallasw/pywiki/
it claims to have r6537 from march 23rd.
I've updated again, just to make sure, and still, the output of "python
version.py" is the same as the above text.
I'll try the SVN ...
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2009-03-24 18:17
Message:
You seem to be using an ancient version of pywikipedia. The current version
is r6554. Please check out the latest version and update it from the
Subversion repository every day:
http://meta.wikimedia.org/wiki/Using_the_python_wikipediabot#Download_with_…
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2709588&group_…
Bugs item #2709588, was opened at 2009-03-24 14:07
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2709588&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: ARZ not recognized
Initial Comment:
interwiki.py doesn't recognize the language ARZ, and moves its interwiki links away from the interwiki list.
Pywikipedia [http] trunk/pywikipedia (r5788, Aug 06 2008, 16:29:47)
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: Nobody/Anonymous (nobody)
Date: 2009-03-26 14:37
Message:
SVN didn't work. Its version is too new for my computer.
Anyway, I deleted the bot's directory, and installed it again.
Problem is solved.
Please change the status accordingly.
Thank you!
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-03-24 18:43
Message:
strange...
I'm updating every 2-3 days from this site:
http://toolserver.org/~valhallasw/pywiki/
it claims to have r6537 from march 23rd.
I've updated again, just to make sure, and still, the output of "python
version.py" is the same as the above text.
I'll try the SVN ...
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2009-03-24 17:17
Message:
You seem to be using an ancient version of pywikipedia. The current version
is r6554. Please check out the latest version and update it from the
Subversion repository every day:
http://meta.wikimedia.org/wiki/Using_the_python_wikipediabot#Download_with_…
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2709588&group_…
Bugs item #2714252, was opened at 2009-03-26 12:39
Message generated for change (Comment added) made by nicdumz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2714252&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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: MGA73 (mga73)
Assigned to: Nobody/Anonymous (nobody)
Summary: The category_redirect.py needs update to work on da-wiki
Initial Comment:
The category_redirect.py needs update to work on da-wiki. Here I write the English text and the Danish text to be added
'en': "Category:Wikipedia category redirects",
-> 'da': "Kategori:Omdirigeringskategorier",
'en': ("Category redirect", ….. ,),
- > 'da': ("Kategoriomdirigering",),
'en': u"Robot: moving pages out of redirected category",
- > 'da': u"Robot: flytter sider ud af omdirigeringskategorien",
'en': u"Robot: adding category redirect template for maintenance",
- > 'da': u"Robot: tilføjer omdirigeringsskabelon for vedligeholdelse",
'en': u"Robot: fixing double-redirect",
- > 'da': u"Robot: retter dobbelt omdirigering",
'en': u"Category redirect maintenance bot",
- > 'da': u"Bot til vedligeholdelse af kategoriomdirigeringer",
If I forgot somthing just ask or add the english text.
----------------------------------------------------------------------
>Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-03-26 14:31
Message:
Updated in r6560.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2714252&group_…
Bugs item #2714252, was opened at 2009-03-26 12:39
Message generated for change (Tracker Item Submitted) made by mga73
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2714252&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: The category_redirect.py needs update to work on da-wiki
Initial Comment:
The category_redirect.py needs update to work on da-wiki. Here I write the English text and the Danish text to be added
'en': "Category:Wikipedia category redirects",
-> 'da': "Kategori:Omdirigeringskategorier",
'en': ("Category redirect", ….. ,),
- > 'da': ("Kategoriomdirigering",),
'en': u"Robot: moving pages out of redirected category",
- > 'da': u"Robot: flytter sider ud af omdirigeringskategorien",
'en': u"Robot: adding category redirect template for maintenance",
- > 'da': u"Robot: tilføjer omdirigeringsskabelon for vedligeholdelse",
'en': u"Robot: fixing double-redirect",
- > 'da': u"Robot: retter dobbelt omdirigering",
'en': u"Category redirect maintenance bot",
- > 'da': u"Bot til vedligeholdelse af kategoriomdirigeringer",
If I forgot somthing just ask or add the english text.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2714252&group_…
Feature Requests item #2712760, was opened at 2009-03-25 22:01
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2712760&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
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: regexp functionality for -hint option
Initial Comment:
it would be great if -hint option in interwiki.py bot could accept regular expressions. this can be helpful, e.g. if in one wiki the article is entitled "XXX, YYY" and the corresponding article in another wiki is "XXX (YYY)", or if titles differ in some letters and these differences are regular between languages.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-03-26 07:10
Message:
The syntax might be similar to that used in replace.py. For example, to use
English hint (Abbeville, Alabama) for the French article "Abbeville
(Alabama)", the command might look something like: python interwiki.py
-lang:fr -hint:en -regex ".+ \(.+\)" "\1, \2"
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-03-26 00:18
Message:
Interesting suggestion (but I haven't looked at how to implement this --
yet)
Do you have any actual application for this? Any such regular patterns
between two different wikis that you already know?
That would be quite useful to provide some concrete examples here, to help
potential devs =)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2712760&group_…
Bugs item #2672346, was opened at 2009-03-08 13:56
Message generated for change (Comment added) made by nicdumz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2672346&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: Fixed
Priority: 7
Private: No
Submitted By: Mikko Silvonen (silvonen)
Assigned to: Nobody/Anonymous (nobody)
Summary: selflink.py contains invalid characters and does not start
Initial Comment:
The script selflink.py seems to contain some invalid characters used instead of proper whitespace on a few lines. They were introduced in r6224.
>python selflink.py
File "selflink.py", line 75
            if mysite.nocapitalize:
^
IndentationError: expected an indented block
>python version.py
Pywikipedia [http] trunk/pywikipedia (r6497, Mar 08 2009, 01:02:45)
Python 2.5.1 (r251:54863, May 1 2007, 17:47:05) [MSC v.1310 32 bit (Intel)]
----------------------------------------------------------------------
>Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-03-26 07:01
Message:
thanks for bringing this up Mikko =)
I simply missed the issue I guess.
Fixed in r6559 :)
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2009-03-26 06:37
Message:
Giving this a bit more priority, because the script does not work at all
and because it would be so easy to fix.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2672346&group_…