Bugs item #1909918, was opened at 2008-03-08 00:51 Message generated for change (Comment added) made by nightshadow28 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1909918...
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: Nightshadow28 (nightshadow28) Assigned to: Filnik (filnik) Summary: welcome.py does not display "blocked" message correctly.
Initial Comment: welcome.py does not display "blocked" message correctly.
コーキシュクセイ has enough edits to be welcomed %E3%82%B3%E3%83%BC%E3%82%AD%E3%82%B7%E3%83%A5%E3%82%AF%E3%82%BB%E3%82%A4 has been blocked! Skipping... <-- !
----------------------------------------------------------------------
Comment By: Nightshadow28 (nightshadow28)
Date: 2008-03-08 17:21
Message: Logged In: YES user_id=1971526 Originator: YES
Thanks filnik, I tried it in r5111. But it aborts.
ディアマンテ has no contributions. おとり has no contributions. 海獺 = ベルクリ = ちゃたま (権限乱用) has enough edits to be welcomed Traceback (most recent call last): File "welcome.py", line 919, in ? for x in main(settingsBot): File "welcome.py", line 795, in main wikipedia.output(u'%s has been blocked! Skipping...' % username.titleWithoutNamespace()) AttributeError: 'str' object has no attribute 'titleWithoutNamespace'
---- # Check if the user has been already blocked. ki = blocked(wsite,username) username = str(username).encode(config.console_encoding) if ki == True: wikipedia.output(u'%s has been blocked! Skipping...' % username.titleWithoutNamespace()) <--! continue
If the line is as below, it runs: wikipedia.output(u'%s has been blocked! Skipping...' % usertalkpage.titleWithoutNamespace())
I attached the code. File Added: welcome.py.r5111_fixed
----------------------------------------------------------------------
Comment By: Filnik (filnik) Date: 2008-03-08 14:44
Message: Logged In: YES user_id=1834469 Originator: NO
should be fixed in rev 5109. Bug closed. Filnik
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1909918...