On Jan 5, 2008 6:40 PM, Pietrodn (JIRA) <jira(a)ts.wikimedia.org> wrote:
> Support for protecting non-existent pages
> -----------------------------------------
>
> Key: PYWP-5
> URL: https://jira.ts.wikimedia.org/browse/PYWP-5
> Project: pywikipedia
> Issue Type: New Feature
> Components: Framework
> Reporter: Pietrodn
> Attachments: svn.diff
>
> The developer have recently added to MediaWiki a new feature: a sysop can protect a non-existent page.
> http://bugzilla.wikimedia.org/show_bug.cgi?id=2919
>
> I implemented this in pywikipedia, changing the Page.protect() function to support the "create" protection.
> The default is "sysop".
> There is a patch.
>
> Regards.
> Pietrodn
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators: https://jira.ts.wikimedia.org/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
> _______________________________________________
> Pywikipedia-l mailing list
> Pywikipedia-l(a)lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>
So how is the migration from SF to JIRA going? I imagine it is not a
good idea to use the both.
Bryan
Bugs item #1865284, was opened at 2008-01-06 12:13
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1865284&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py broken?
Initial Comment:
Hello,
What's up, replace.py doesn't seem to work....
(using latest python for windows)
C:\Program Files\Development\Python25\pywikipedia>replace.py -cat:"SFC_Stub" -regex "\{{SFC_ROM_OUTPUT" "{{SFC_Stub}}\r\n{{SFC_ROM_OUTPUT"
Checked for running processes. 1 processes currently running, including the curr
ent process.
Getting [[Category:SFC Stub]]...
Traceback (most recent call last):
File "C:\Program Files\Development\Python25\pywikipedia\replace.py", line 454,
in <module>
main()
File "C:\Program Files\Development\Python25\pywikipedia\replace.py", line 449,
in main
bot.run()
File "C:\Program Files\Development\Python25\pywikipedia\replace.py", line 198,
in run
for page in self.generator:
File "C:\Program Files\Development\Python25\pywikipedia\pagegenerators.py", li
ne 329, in PreloadingGenerator
for page in generator:
File "C:\Program Files\Development\Python25\pywikipedia\pagegenerators.py", li
ne 79, in CategorizedPageGenerator
for page in category.articles(recurse=recurse):
File "C:\Program Files\Development\Python25\pywikipedia\catlib.py", line 211,
in articles
for title in self.catlist(recurse)[0]:
File "C:\Program Files\Development\Python25\pywikipedia\catlib.py", line 71, i
n catlist
self._catlistT = self._make_catlist(recurse = recurse)
File "C:\Program Files\Development\Python25\pywikipedia\catlib.py", line 135,
in _make_catlist
ibegin = txt.index('"clear:both;"')
ValueError: substring not found
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-01-07 03:11
Message:
Logged In: NO
OP here, ignore last replace, it was just a user right problem
using latest svn fixed the problem
thanks again
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-01-06 23:53
Message:
Logged In: NO
Thanks for your advice, I updated but I still get the following error
C:\Program Files\Development\Python25\pywikipedia>replace.py -cat:"SFC
Stubs" -regex "\{{SFC_ROM_OUTPUT" "{{SFC_Stub}}\r\n{{SFC_ROM_OUTPUT"
Checked for running processes. 2 processes currently running, including
the curr
ent process.
Getting [[Category:SFC Stubs]]...
Getting 43 pages from niw:en...
Got incorrect export page. Sleeping for 15 seconds...
Got incorrect export page. Sleeping for 30 seconds...
Got incorrect export page. Sleeping for 45 seconds...
Got incorrect export page. Sleeping for 60 seconds...
Got incorrect export page. Sleeping for 75 seconds...
Got incorrect export page. Sleeping for 135 seconds...
and it's going on like this forever...
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2008-01-06 22:32
Message:
Logged In: YES
user_id=1327030
Originator: NO
>From the traceback, you seem to use a pretty old version (there are no
methods like _make_catlist anymore in catlib.py). Please consider upgrading
to the latest SVN version.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1865284&group_…
Bugs item #1865284, was opened at 2008-01-06 12:13
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1865284&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py broken?
Initial Comment:
Hello,
What's up, replace.py doesn't seem to work....
(using latest python for windows)
C:\Program Files\Development\Python25\pywikipedia>replace.py -cat:"SFC_Stub" -regex "\{{SFC_ROM_OUTPUT" "{{SFC_Stub}}\r\n{{SFC_ROM_OUTPUT"
Checked for running processes. 1 processes currently running, including the curr
ent process.
Getting [[Category:SFC Stub]]...
Traceback (most recent call last):
File "C:\Program Files\Development\Python25\pywikipedia\replace.py", line 454,
in <module>
main()
File "C:\Program Files\Development\Python25\pywikipedia\replace.py", line 449,
in main
bot.run()
File "C:\Program Files\Development\Python25\pywikipedia\replace.py", line 198,
in run
for page in self.generator:
File "C:\Program Files\Development\Python25\pywikipedia\pagegenerators.py", li
ne 329, in PreloadingGenerator
for page in generator:
File "C:\Program Files\Development\Python25\pywikipedia\pagegenerators.py", li
ne 79, in CategorizedPageGenerator
for page in category.articles(recurse=recurse):
File "C:\Program Files\Development\Python25\pywikipedia\catlib.py", line 211,
in articles
for title in self.catlist(recurse)[0]:
File "C:\Program Files\Development\Python25\pywikipedia\catlib.py", line 71, i
n catlist
self._catlistT = self._make_catlist(recurse = recurse)
File "C:\Program Files\Development\Python25\pywikipedia\catlib.py", line 135,
in _make_catlist
ibegin = txt.index('"clear:both;"')
ValueError: substring not found
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-01-06 23:53
Message:
Logged In: NO
Thanks for your advice, I updated but I still get the following error
C:\Program Files\Development\Python25\pywikipedia>replace.py -cat:"SFC
Stubs" -regex "\{{SFC_ROM_OUTPUT" "{{SFC_Stub}}\r\n{{SFC_ROM_OUTPUT"
Checked for running processes. 2 processes currently running, including
the curr
ent process.
Getting [[Category:SFC Stubs]]...
Getting 43 pages from niw:en...
Got incorrect export page. Sleeping for 15 seconds...
Got incorrect export page. Sleeping for 30 seconds...
Got incorrect export page. Sleeping for 45 seconds...
Got incorrect export page. Sleeping for 60 seconds...
Got incorrect export page. Sleeping for 75 seconds...
Got incorrect export page. Sleeping for 135 seconds...
and it's going on like this forever...
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2008-01-06 22:32
Message:
Logged In: YES
user_id=1327030
Originator: NO
>From the traceback, you seem to use a pretty old version (there are no
methods like _make_catlist anymore in catlib.py). Please consider upgrading
to the latest SVN version.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1865284&group_…
Bugs item #1864970, was opened at 2008-01-06 11:21
Message generated for change (Comment added) made by rotemliss
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1864970&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: Alex S.H. Lin (lin4h)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot detect page protected in zh-wikinews.
Initial Comment:
I tried to make interwiki in a protected page, it cannot use sysop account automatic.
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2008-01-07 09:15
Message:
Logged In: YES
user_id=1327030
Originator: NO
Which variant did you set in your bot account preferences, if at all?
Make sure your bot software is up-to-date, too (i.e. you use the latest
version obtained from SVN).
If you didn't set a variant and the software is up-to-date, the following
comment may be helpful: In my tests, I succeeded to get the edit page of
the page you mentioned, as an anonymous user, and to discover it contains
the "view source" message. Thus, first search the HTML code pywikipedia
printed for any mention of the words 查看源代码 (i.e., the message
MediaWiki:Viewsource). If it doesn't contain it, please search for the
words "ca-talk" and copy all the lines that start with <li in this block
and paste them here, while ensuring the "page is locked" message still
exists in the HTML source.
----------------------------------------------------------------------
Comment By: Alex S.H. Lin (lin4h)
Date: 2008-01-07 07:27
Message:
Logged In: YES
user_id=1902991
Originator: YES
I have written my sysop account into user-config.py and make login to get
token.
When the script get a protected page, it return "changing has
failed.Retrying." and get the token again (it didn't reseponse any info
about sysop account). when it changing again, It print out the page HTML
code (like "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">".......) to
screen.
Here is the message from interwiki.log.
======Post-processing [[zh:泰國One-Two-Go航空MD-80型飛機
墜毀普吉島]]======
Updating links on page [[zh:泰國One-Two-Go航空MD-80型飛機
墜毀普吉島]].
Changes to be made: 正在新增: de 修改: en, it, pl
+
+ [[de:Schweres Flugzeugunglück in Thailand]]
- [[en:At least 80 thought to be dead in Phuket, Thailand air crash]]
+ [[en:At least 89 dead in Phuket, Thailand air crash]]
- [[it:Aereo si schianta in Thailandia, 88 le vittime]]
+ [[it:Aereo si schianta in Thailandia, 91 le vittime]]
- [[pl:88 ofiar katastrofy samolotu pasażerskiego w Tajlandii]]
+ [[pl:Kilkadziesiąt ofiar katastrofy samolotu pasażerskiego w
Tajlandii]]
NOTE: Updating live wiki...
Changing page [[zh:泰國One-Two-Go航空MD-80型飛機 墜毀普吉島]]
Changing page has failed. Retrying.
Getting page to get a token.
Sleeping for 6.7 seconds, 2008-01-06 16:45:53
Changing page [[zh:泰國One-Two-Go航空MD-80型飛機 墜毀普吉島]]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh" lang="zh"
dir="ltr">
<head>
......... ALL HTML CODE.........
(I think It cannot use sysop account automatic because I found these
code)
<p>根據以下的原因,您並無權限去做以下的動作:
</p>
<div
class="permissions-errors">該頁面已被鎖定以防止編輯。</div>
<p>你可以檢視並複製本頁面的原始碼。
(Page is protected)
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2008-01-06 21:13
Message:
Logged In: YES
user_id=1327030
Originator: NO
Does it try to use the sysop account? If so, what happens when it tries?
Did you write the sysop account in sysopnames in user-config.py, and did
you login using this account?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1864970&group_…
Bugs item #1865605, was opened at 2008-01-07 04:53
Message generated for change (Comment added) made by rotemliss
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1865605&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: Purodha B Blissenbach (purodha)
Assigned to: Nobody/Anonymous (nobody)
Summary: "category.py move" fails on many pages.
Initial Comment:
In the Wikipedia of Ripuarian languages, we have tons of samples which do not work.
Here is another one:
python /home/purodha/pywikipedia/category.py move -putthrottle:51 -inplace -from:Geschichte_Nordrhein-Westfalens -to:Noodrhing-Wäßfaale
Checked for running processes. 1 processes currently running, including the current process.
Reading dump from category.dump.bz2
Getting [[Saachjrupp:Geschichte Nordrhein-Westfalens]]...
Getting 3 pages from wikipedia:ksh...
No changes in made in page [[Herzogtum Geldern]].
No changes in made in page [[Herzogtum Jülich]].
No changes in made in page [[Herzogtum Kleve]].
Dumping to category.dump.bz2, please wait...
This is very likely due to various localized ways to write the name space name "Category:" which possibly pywikipediabot does not know about.
See also bug # 1755347
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2008-01-07 08:48
Message:
Logged In: YES
user_id=1327030
Originator: NO
Added first and fourth aliases in r4825. Second and third aliases don't
seem to work, please check them again.
----------------------------------------------------------------------
Comment By: Purodha B Blissenbach (purodha)
Date: 2008-01-07 04:57
Message:
Logged In: YES
user_id=46450
Originator: YES
Following the idea that, possibly, not all ways to spell "Category" were
known, I created the attached patch which seemed to solve the problem for
me.
File Added: family.py.4823.diff.txt
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1865605&group_…
Bugs item #1865598, was opened at 2008-01-07 04:34
Message generated for change (Comment added) made by rotemliss
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1865598&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: Nobody/Anonymous (nobody)
Summary: Unable to use framework when IP is blocked
Initial Comment:
I am unable to log myself or my bot in when my IP is blocked. See traceback:
matt@oak:~/pywiki$ python login.py
Checked for running processes. 1 processes currently running, including the current process.
Password for user MonoBot on wikipedia:en:
Logging in to wikipedia:en as MonoBot
Traceback (most recent call last):
File "login.py", line 277, in ?
main()
File "login.py", line 273, in main
loginMan.login()
File "login.py", line 220, in login
if not self.botAllowed():
File "login.py", line 91, in botAllowed
for linkedPage in botListPage.linkedPages():
File "/home/matt/pywiki/wikipedia.py", line 1473, in linkedPages
thistxt = removeLanguageLinks(self.get(get_redirect=True),
File "/home/matt/pywiki/wikipedia.py", line 600, in get
self._contents = self._getEditPage(get_redirect = get_redirect, throttle = throttle, sysop = sysop, nofollow_redirects=nofollow_redirects)
File "/home/matt/pywiki/wikipedia.py", line 707, in _getEditPage
raise UserBlocked(self.site(), self.aslink(forceInterwiki = True))
wikipedia.UserBlocked: (wikipedia:en, u'[[en:Wikipedia:Registered bots]]')
matt@oak:~/pywiki$ python login.py
Checked for running processes. 1 processes currently running, including the current process.
Password for user Monobi on wikipedia:en:
Logging in to wikipedia:en as Monobi
Traceback (most recent call last):
File "login.py", line 277, in ?
main()
File "login.py", line 273, in main
loginMan.login()
File "login.py", line 220, in login
if not self.botAllowed():
File "login.py", line 91, in botAllowed
for linkedPage in botListPage.linkedPages():
File "/home/matt/pywiki/wikipedia.py", line 1473, in linkedPages
thistxt = removeLanguageLinks(self.get(get_redirect=True),
File "/home/matt/pywiki/wikipedia.py", line 600, in get
self._contents = self._getEditPage(get_redirect = get_redirect, throttle = throttle, sysop = sysop, nofollow_redirects=nofollow_redirects)
File "/home/matt/pywiki/wikipedia.py", line 707, in _getEditPage
raise UserBlocked(self.site(), self.aslink(forceInterwiki = True))
wikipedia.UserBlocked: (wikipedia:en, u'[[en:Wikipedia:Registered bots]]')
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2008-01-07 08:43
Message:
Logged In: YES
user_id=1327030
Originator: NO
However, you may mean only the IP address is blocked, not the user
account. In such case, you get an exception without being actually blocked.
To prevent that, I moved the check (if you are allowed to run the bot)
after the actual login in r4824, so you only get the exception if your
account is blocked.
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2008-01-07 08:36
Message:
Logged In: YES
user_id=1327030
Originator: NO
You shouldn't be able to use the bot at all while blocked - please ask a
sysop why are you blocked and ask for unblocking. It may, however, be
possible to enforce that only for actual edits, and only show a warning
when getting pages. (Note that some older MediaWiki versions don't allow
you to get the edit page while blocked, but this doesn't apply to Wikimedia
sites.)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1865598&group_…
Revision: 4824
Author: rotem
Date: 2008-01-07 06:41:05 +0000 (Mon, 07 Jan 2008)
Log Message:
-----------
(bug 1865598) Don't show a UserBlocked exception if the IP is only blocked - get the bots page after logging in.
Modified Paths:
--------------
trunk/pywikipedia/login.py
Modified: trunk/pywikipedia/login.py
===================================================================
--- trunk/pywikipedia/login.py 2008-01-06 18:50:34 UTC (rev 4823)
+++ trunk/pywikipedia/login.py 2008-01-07 06:41:05 UTC (rev 4824)
@@ -216,13 +216,13 @@
self.password = self.password.encode(self.site.encoding())
wikipedia.output(u"Logging in to %s as %s" % (self.site, self.username))
- # Ensure bot policy on the English Wikipedia
- if not self.botAllowed():
- wikipedia.output(u'*** Your username is not listed on [[%s]].\n*** Please make sure you are allowed to use the robot before actually using it!' % botList[self.site.family.name][self.site.lang])
cookiedata = self.getCookie()
if cookiedata:
self.storecookiedata(cookiedata)
wikipedia.output(u"Should be logged in now")
+ # Show a warning according to the local bot policy
+ if not self.botAllowed():
+ wikipedia.output(u'*** Your username is not listed on [[%s]].\n*** Please make sure you are allowed to use the robot before actually using it!' % botList[self.site.family.name][self.site.lang])
return True
else:
wikipedia.output(u"Login failed. Wrong password or CAPTCHA answer?")
Bugs item #1865598, was opened at 2008-01-07 04:34
Message generated for change (Comment added) made by rotemliss
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1865598&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: Nobody/Anonymous (nobody)
Summary: Unable to use framework when IP is blocked
Initial Comment:
I am unable to log myself or my bot in when my IP is blocked. See traceback:
matt@oak:~/pywiki$ python login.py
Checked for running processes. 1 processes currently running, including the current process.
Password for user MonoBot on wikipedia:en:
Logging in to wikipedia:en as MonoBot
Traceback (most recent call last):
File "login.py", line 277, in ?
main()
File "login.py", line 273, in main
loginMan.login()
File "login.py", line 220, in login
if not self.botAllowed():
File "login.py", line 91, in botAllowed
for linkedPage in botListPage.linkedPages():
File "/home/matt/pywiki/wikipedia.py", line 1473, in linkedPages
thistxt = removeLanguageLinks(self.get(get_redirect=True),
File "/home/matt/pywiki/wikipedia.py", line 600, in get
self._contents = self._getEditPage(get_redirect = get_redirect, throttle = throttle, sysop = sysop, nofollow_redirects=nofollow_redirects)
File "/home/matt/pywiki/wikipedia.py", line 707, in _getEditPage
raise UserBlocked(self.site(), self.aslink(forceInterwiki = True))
wikipedia.UserBlocked: (wikipedia:en, u'[[en:Wikipedia:Registered bots]]')
matt@oak:~/pywiki$ python login.py
Checked for running processes. 1 processes currently running, including the current process.
Password for user Monobi on wikipedia:en:
Logging in to wikipedia:en as Monobi
Traceback (most recent call last):
File "login.py", line 277, in ?
main()
File "login.py", line 273, in main
loginMan.login()
File "login.py", line 220, in login
if not self.botAllowed():
File "login.py", line 91, in botAllowed
for linkedPage in botListPage.linkedPages():
File "/home/matt/pywiki/wikipedia.py", line 1473, in linkedPages
thistxt = removeLanguageLinks(self.get(get_redirect=True),
File "/home/matt/pywiki/wikipedia.py", line 600, in get
self._contents = self._getEditPage(get_redirect = get_redirect, throttle = throttle, sysop = sysop, nofollow_redirects=nofollow_redirects)
File "/home/matt/pywiki/wikipedia.py", line 707, in _getEditPage
raise UserBlocked(self.site(), self.aslink(forceInterwiki = True))
wikipedia.UserBlocked: (wikipedia:en, u'[[en:Wikipedia:Registered bots]]')
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2008-01-07 08:36
Message:
Logged In: YES
user_id=1327030
Originator: NO
You shouldn't be able to use the bot at all while blocked - please ask a
sysop why are you blocked and ask for unblocking. It may, however, be
possible to enforce that only for actual edits, and only show a warning
when getting pages. (Note that some older MediaWiki versions don't allow
you to get the edit page while blocked, but this doesn't apply to Wikimedia
sites.)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1865598&group_…
Bugs item #1865284, was opened at 2008-01-06 22:13
Message generated for change (Comment added) made by rotemliss
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1865284&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py broken?
Initial Comment:
Hello,
What's up, replace.py doesn't seem to work....
(using latest python for windows)
C:\Program Files\Development\Python25\pywikipedia>replace.py -cat:"SFC_Stub" -regex "\{{SFC_ROM_OUTPUT" "{{SFC_Stub}}\r\n{{SFC_ROM_OUTPUT"
Checked for running processes. 1 processes currently running, including the curr
ent process.
Getting [[Category:SFC Stub]]...
Traceback (most recent call last):
File "C:\Program Files\Development\Python25\pywikipedia\replace.py", line 454,
in <module>
main()
File "C:\Program Files\Development\Python25\pywikipedia\replace.py", line 449,
in main
bot.run()
File "C:\Program Files\Development\Python25\pywikipedia\replace.py", line 198,
in run
for page in self.generator:
File "C:\Program Files\Development\Python25\pywikipedia\pagegenerators.py", li
ne 329, in PreloadingGenerator
for page in generator:
File "C:\Program Files\Development\Python25\pywikipedia\pagegenerators.py", li
ne 79, in CategorizedPageGenerator
for page in category.articles(recurse=recurse):
File "C:\Program Files\Development\Python25\pywikipedia\catlib.py", line 211,
in articles
for title in self.catlist(recurse)[0]:
File "C:\Program Files\Development\Python25\pywikipedia\catlib.py", line 71, i
n catlist
self._catlistT = self._make_catlist(recurse = recurse)
File "C:\Program Files\Development\Python25\pywikipedia\catlib.py", line 135,
in _make_catlist
ibegin = txt.index('"clear:both;"')
ValueError: substring not found
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2008-01-07 08:32
Message:
Logged In: YES
user_id=1327030
Originator: NO
>From the traceback, you seem to use a pretty old version (there are no
methods like _make_catlist anymore in catlib.py). Please consider upgrading
to the latest SVN version.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1865284&group_…