>> So I would suggest: 1) see what site._rights contains, and if this does
>> not give any useful results, 2) try to see if the problem is introduced
>> in r9288 (see if r9287 works).
> 
> So I did the changes mentioned in 1) to get more output. Depending on
> those results I will either consider 2) or have to come back to you...
> (should NOT be a threat... ;))
> Anyway thanks a lot so far for your help, hints and time!

Today was an intressting day, because of other issues, I runned the bot
twice, with the same code regarding the mail stuff, here what I got the
first run:

2011/08/06 04:45:45:: Sending mail "Bot ERROR" to "DrTrigon" as
notification!
2011/08/06 04:45:45:: !!! Allowed to send email: True
2011/08/06 04:45:45:: !!! Permissions: [[u'move', u'autoreview',
u'move-rootuserpages', u'createtalk', u'minoredit', u'movestable',
u'skipcaptcha', u'nominornewtalk', u'noratelimit', u'*',
u'collectionsaveasuserpage', u'abusefilter-view',
u'abusefilter-log-detail', u'createpage', u'writeapi', u'createaccount',
u'centralauth-merge', u'read', u'autopatrol', u'abusefilter-log',
u'suppressredirect', u'user', u'collectionsaveascommunitypage',
u'reupload-own', u'apihighlimits', u'autoconfirmed', u'edit',
u'sendemail', u'bot', u'upload', u'purge', u'reupload'], None]
2011/08/06 04:45:45:: Email sent.

and here the second run:

2011/08/06 18:28:37:: Sending mail "Bot ERROR" to "DrTrigon" as
notification!
2011/08/06 18:28:37:: !!! Allowed to send email: False
2011/08/06 18:28:37:: !!! Permissions: [['user', 'bot', 'autoconfirmed',
'read', 'createaccount', 'edit', 'upload', 'createpage', 'createtalk',
'move', 'upload', 'apihighlimits'], None]
2011/08/06 18:28:37:: !!! (<class 'userlib.UserActionRefuse'>,
UserActionRefuse("You don't have permission to send mail",), <traceback
object at 0x8a20cd4>)
2011/08/06 18:28:37:: !!! WARNING: mail could not be sent!

as you can see the first worked and the second not. In the first
the bot got a long list of rights and in the second and short...

The point mentioned in 2) regarding revisions r9288 and r9287 does
not apply here as I can see because I using the rather old r8990
anyway...

Any idea where those differences come from?

Thanks a lot (so far) and Greetings
Dr.Trigon

Link to log file: http://toolserver.org/~drtrigon/DrTrigonBot/20110806.log

_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to