[Pywikipedia-l] [ pywikipediabot-Patches-1870918 ] welcome.py fails without signature definition page.
SourceForge.net
noreply at sourceforge.net
Mon Jan 14 11:41:53 UTC 2008
Patches item #1870918, was opened at 2008-01-14 10:51
Message generated for change (Comment added) made by rotemliss
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1870918&group_id=93107
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: Nightshadow28 (nightshadow28)
Assigned to: Nobody/Anonymous (nobody)
Summary: welcome.py fails without signature definition page.
Initial Comment:
from Japanese Wikipedia:
If welcome.py is used without signature definition page, an exception is thrown.
Traceback (most recent call last):
File "welcome.py", line 889, in ?
for x in main(settingsBot):
File "welcome.py", line 754, in main
welcom = welcomer % sign
TypeError: not all arguments converted during string formatting
I tried to watch "welcomer" and "sign", it is:
welcomer: {{subst:Welcome}}
sign: --~~~~
Temporary measure is as follows:
welcom = welcomer + sign
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2008-01-14 13:41
Message:
Logged In: YES
user_id=1327030
Originator: NO
The current code works for me (welcomer should contain %s). Which
parameters did you use? Did you change the bot's code, and how?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1870918&group_id=93107
More information about the Pywikipedia-l
mailing list