> so it might be interesting to check what yoursite._rights contains. It > might be the api returns incorrect values.
aaaaahhh... this sheds light on my problem... I did the changes you suggested and now we have to wait... ;) By the way, since it could be possible > site = pywikibot.getSite() to give other results between different calls (beacuse of the API), I used the same 'site' object later for the user object > usr = userlib.User(site, error_mail[0]) (just to be sure... ;) > of course, ._rights is internal and should not generally be used like > this. It's a helpful debugging tool, though. Since we are in debugging; EVERYTHING is allowed... ;) by the way, that is one of reasons why I like python that much; even if something SHOULD NOT generally be used like this, it CAN BE USED like this... ;)) > You could also run the script through pdb to do post-mortem debugging. > This would allow you to check out the problem more directly. This is a good hint! But since the bot runs for about 4 hrs (and on the toolserver) I'm not sure if this is applicable and how... May be with a 'screen' on TS to come back to after running the bot...? (I have to admit, I using 'pdb' not that often...) > The recent edits to the framework that could be related are: > http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/wikipedia.py?r1=9287&r2=9288& > <http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/wikipedia.py?r1=9287&r2=9288&>* > (jun > 5)* > *http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/wikipedia.py?r1=9036&r2=9037&pathrev=9159& > <http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/wikipedia.py?r1=9036&r2=9037&pathrev=9159&> > (mar > 20, does not really seem related)* Thanks for investigationg on this!! > 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! Thanks a lot and Greetings DrTrigon _______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
