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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1834469
Originator: NO
should be fixed in rev 5109. Bug closed. Filnik
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
Logged In: YES
user_id=1327030
Originator: NO
Fixed again in r5114.