Bugs item #1851933, was opened at 2007-12-16 14:49
Message generated for change (Settings changed) made by leogregianin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1851933&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: Bernhard Mayr (falk_steinhauer)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bug in catlib.py (Problems with caching-mechanism)
Initial Comment:
I detected a bug in catlib.py that is due to the caching-functionality.
Line 132 (if not page in cache:) causes problems.
If an article is part of [[Category:A]] and [[Category:B]] and a script iterates over both categories, the article is not yielded by catB.articles() because it was cached during an earlier call of catA.articles().
It would be better if the call of catB.articles() really yields all articles in this category, because sometimes the plain names of the articles are of interest.
I did not fix the bug by myself, because I do not understand the caching-mechanism by now.
My view of the sources is on revision 4720 (updated today).
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2007-12-17 10:36
Message:
Logged In: YES
user_id=855050
Originator: NO
Fixed in r4722
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2007-12-16 15:23
Message:
Logged In: YES
user_id=1327030
Originator: NO
Python seems to have some weird feature (or bug?) about default unused
parameters: it keeps them for the next run. Will fix that soon.
----------------------------------------------------------------------
Comment By: Bernhard Mayr (falk_steinhauer)
Date: 2007-12-16 15:08
Message:
Logged In: YES
user_id=1810075
Originator: YES
To solve my problem I put line 134 of catlib.py (yield ARTICLE, page) out
of the if-block of line 132 (if not page in cache:).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1851933&group_…
Bugs item #1852163, was opened at 2007-12-17 05:15
Message generated for change (Settings changed) made by leogregianin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1852163&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: 7
Private: No
Submitted By: John Vandenberg (zeroj)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace -except[text|title] syntax
Initial Comment:
The syntax in replace.py is broken in the latest revision.
Calling with -excepttext results in:
Traceback (most recent call last):
File "replace.py", line 602, in ?
main()
File "replace.py", line 598, in main
bot.run()
File "replace.py", line 329, in run
if self.isTextExcepted(original_text):
File "replace.py", line 288, in isTextExcepted
if exc.find(original_text) > -1:
AttributeError: find
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2007-12-17 17:29
Message:
Logged In: YES
user_id=1327030
Originator: NO
Fixed in r4727.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1852163&group_…
Bugs item #1852173, was opened at 2007-12-17 05:57
Message generated for change (Settings changed) made by leogregianin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1852173&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: 5
Private: No
Submitted By: Purodha B Blissenbach (purodha)
Assigned to: Nobody/Anonymous (nobody)
Summary: utf-8 coding problem, kills weblinkchecker
Initial Comment:
Weblinkchecker chokes on many instances when reading the Special:Allpages of the ksh Wikipedia. It claims to see non-unicode data, which is unlikely to be so. I did not dig the code in detail atm, and I cannot tell the offending byte sequences atm.
Here is a copy of a linux command line, and the output generated by it:
$~> python weblinkchecker.py -putthrottle:300 -start:00er -v -family:wikipedia -lang:ksh
Checked for running processes. 1 processes currently running, including the current process.
Pywikipediabot (r4720 (wikipedia.py), Dec 15 2007, 18:57:27)
Python 2.4.4 (#2, Aug 16 2007, 00:34:54)
[GCC 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)]
Retrieving Allpages special page for wikipedia:ksh from 00er, namespace 0
Retrieving Allpages special page for wikipedia:ksh from 00er%20Joare%20%28Watt%20%C4%97%C3%9F%C3%9F%20datt%3F%29%21, namespace 0
Retrieving Allpages special page for wikipedia:ksh from 00er%2520Joare%2520%2528Watt%2520%25C4%2597%25C3%259F%25C3%259F%2520datt%253F%2529%2521, namespace 0
DBG> BUG: Non-unicode passed to wikipedia.output without decoder!
File "threading.py", line 442, in __bootstrap
self.run()
File "/home/purodha/pywikipedia/pagegenerators.py", line 632, in run
wikipedia.output(str(e))
File "/home/purodha/pywikipedia/wikipedia.py", line 5351, in output
print traceback.print_stack()
None
DBG> Attempting to recover, but please report this problem
Couldn't extract allpages special page. Make sure you're using MonoBook skin.
Saving history...
I had made sure, the user [[:ksh:User:Weblinkchcker]] was logged in, using the monobook skin, and the English interface language.
I could not make sure that weblinkchecker does use his user account while reading only. A test revealed that there is no apparent difference in behaviour when I rename login-data/wikipedia-ksh-Weblinkchecker-login.data to something else.
If there are questions, I am prepared to provide more info, once I know where to look.
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2007-12-18 15:13
Message:
Logged In: YES
user_id=1327030
Originator: NO
The problem was that you found a very special case in Allpages, in which
you didn't get one single page of the kind you requested
(redirect/non-redirect), so you didn't get the next page but double-encoded
the current one. Fixed this in r4734. Note that the UTF-8 problem isn't
related to this bug (the "Couldn't extract allpages special page. Make sure
you're using MonoBook skin." message is related, and the problem was it was
a string, not a unicode, passed to wikipedia.output), but was fixed in
r4733.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1852173&group_…
Bugs item #1852276, was opened at 2007-12-17 09:50
Message generated for change (Settings changed) made by leogregianin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1852276&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: Purodha B Blissenbach (purodha)
Assigned to: Nobody/Anonymous (nobody)
Summary: Endless loop in weblinkchecker.py
Initial Comment:
$ python weblinkchecker.py -start:00f -family:wikipedia -lang:ksh -v
Checked for running processes. 1 processes currently running, including the current process.
Pywikipediabot (r4720 (wikipedia.py), Dec 15 2007, 18:57:27)
Python 2.4.4 (#2, Aug 16 2007, 00:34:54)
[GCC 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)]
Retrieving Allpages special page for wikipedia:ksh from 00f, namespace 0
Retrieving Allpages special page for wikipedia:ksh from 00f, namespace 0
Retrieving Allpages special page for wikipedia:ksh from 00f, namespace 0
... ad infinitum ...
This may be related to bug #1852173 in this tracker.
Note, a page "00f" does not exist. I was expecting to start at the next available page, which, as a matter of fact, does exists.
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2007-12-18 15:18
Message:
Logged In: YES
user_id=1327030
Originator: NO
It was indeed the same problem as bug #1852173, and was fixed with it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1852276&group_…
Bugs item #1853805, was opened at 2007-12-19 06:37
Message generated for change (Settings changed) made by leogregianin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1853805&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: 5
Private: No
Submitted By: Nicolas Dumazet (nicdumz)
Assigned to: Nobody/Anonymous (nobody)
Summary: redirect.py -namespace:X crashes
Initial Comment:
Hi !
Title is quite self explanatory.
It was a simple typo + a wrong initialization.
Patch is included :)
Thanks,
Nicolas.
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2007-12-19 10:57
Message:
Logged In: YES
user_id=855050
Originator: NO
Fixed in r4735; thanks for the patch!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1853805&group_…
Feature Requests item #1851214, was opened at 2007-12-15 04:18
Message generated for change (Settings changed) made by leogregianin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1851214&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Using Welcome bot in other Arabic Wikipedia projects
Initial Comment:
Hello!
We hope use welcome.py in other Arabic Wikimedia projects. We need to replace ":ويكيبيديا" which is meaning "Wikipedia:" to "Project:" in two lines:
" 'ar': u'ويكيبيديا:سجل الترحيب/توقيعات',"
and
" 'ar':u'ويكيبيديا:سجل الترحيب/قائمةبيضاء',"
Thanks!
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2007-12-15 09:50
Message:
Logged In: YES
user_id=1327030
Originator: NO
Done in r4712.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1851214&group_…
Support Requests item #1849528, was opened at 2007-12-12 15:33
Message generated for change (Settings changed) made by leogregianin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=1849528&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
>Summary: \"movepage.py -filename:\", how to use it?
Initial Comment:
Hello!
I have added some articles using bot, but their title included typos in the same word. How to use "movepage.py -filename:" (or other function) to fix this problem? in other words, what should file include?
Thanks!
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-12-16 16:37
Message:
Logged In: NO
So, It will me more helpful if it changed, adding both old and new name it
too easier, I'll ask in "feature requests". Thanks all!
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-12-15 09:34
Message:
Logged In: NO
no, put [[Wikipedia]] only. The bot ask you what new name of article.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-12-15 04:14
Message:
Logged In: NO
Nice, for example for moving "Wikipedia" article to "Wikipediaa" file will
be:
[[Wikipedia]]
[[Wikipediaa]]
Is this right?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-12-13 11:06
Message:
Logged In: NO
[[page 1]]
[[page 2]]
[[page 3]]
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-12-12 15:50
Message:
Logged In: NO
I know, but what's the body of this file? for example, I have tried this
way:
'page 1' 'page 2'
put it didn't work..
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-12-12 15:46
Message:
Logged In: NO
movepages.py -filename:myfile.txt
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=1849528&group_…
Bugs item #1853748, was opened at 2007-12-19 09:16
Message generated for change (Comment added) made by pixelfire
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1853748&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: pixelFire (pixelfire)
Assigned to: Nobody/Anonymous (nobody)
Summary: Login to hy.wikipedia impossible
Initial Comment:
It's impossible to log on to hy.wikipedia with the Bot.
Password for user XYBot on wikipedia:hy:
Logging in to wikipedia:hy as XYBot
Login failed. Wrong password or CAPTCHA answer?
Username and Password are correct of course.
----------------------------------------------------------------------
>Comment By: pixelFire (pixelfire)
Date: 2007-12-19 17:19
Message:
Logged In: YES
user_id=597825
Originator: YES
Ok. I'm Sorry. It seems that I had an older version of the bot. I've
updated it
svn co http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia
pywikipedia
an now it works.
Thanks.
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2007-12-19 15:08
Message:
Logged In: YES
user_id=855050
Originator: NO
Works for me:
C:\Projects\pywikipedia>login.py -lang:hy
Checked for running processes. 1 processes currently running, including
the current process.
Password for user RnBtest on wikipedia:hy:
Logging in to wikipedia:hy as RnBtest
Should be logged in now
Is your account set to use the standard Monobook skin? If not, you won't
be able to log in.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1853748&group_…
Bugs item #1853748, was opened at 2007-12-19 03:16
Message generated for change (Comment added) made by russblau
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1853748&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: pixelFire (pixelfire)
Assigned to: Nobody/Anonymous (nobody)
Summary: Login to hy.wikipedia impossible
Initial Comment:
It's impossible to log on to hy.wikipedia with the Bot.
Password for user XYBot on wikipedia:hy:
Logging in to wikipedia:hy as XYBot
Login failed. Wrong password or CAPTCHA answer?
Username and Password are correct of course.
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2007-12-19 09:08
Message:
Logged In: YES
user_id=855050
Originator: NO
Works for me:
C:\Projects\pywikipedia>login.py -lang:hy
Checked for running processes. 1 processes currently running, including
the current process.
Password for user RnBtest on wikipedia:hy:
Logging in to wikipedia:hy as RnBtest
Should be logged in now
Is your account set to use the standard Monobook skin? If not, you won't
be able to log in.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1853748&group_…