[Pywikipedia-l] [ pywikipediabot-Patches-1870918 ] welcome.py fails without signature definition page.

SourceForge.net noreply at sourceforge.net
Wed Jan 16 11:46:59 UTC 2008


Patches item #1870918, was opened at 2008-01-14 09:51
Message generated for change (Comment added) made by wikipedian
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: Closed
>Resolution: Invalid
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: Daniel Herding (wikipedian)
Date: 2008-01-16 12:46

Message:
Logged In: YES 
user_id=880694
Originator: NO

I think we can close this report.

----------------------------------------------------------------------

Comment By: Nightshadow28 (nightshadow28)
Date: 2008-01-14 17:41

Message:
Logged In: YES 
user_id=1971526
Originator: YES

I understood it. It was a miss of code change by me. I tried again new
welcomer parameter as "{{subst:Welcome}} %s"... It was a success.

I am sorry and thank you for your comment.

----------------------------------------------------------------------

Comment By: Rotem Liss (rotemliss)
Date: 2008-01-14 12: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