Last modified: 2014-07-24 09:58:00 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1333/ Reported by: drtrigon Created on: 2011-08-25 10:35:37 Subject: mail permission token missing somtimes Original description: Python 2.7.1 \(r271:86832, Jan 4 2011, 13:57:14\) \[GCC 4.5.2\] config-settings: use\_api = True use\_api\_login = True unicode test: ok As already reported and discussed in the maillist at http://lists.wikimedia.org/pipermail/pywikipedia-l/2011-July/006885.html http://lists.wikimedia.org/pipermail/pywikipedia-l/2011-August/006919.html I think i would be a good thing to work out where and when 'site.getToken' is called and why this sometimes fails... Thanks and Greetings Dr. Trigon
In compat, the file userlib.py has site.getToken() to retrieve token for sending e-mail but the type hasn't determined (the type needs to be "email") so it retuns this error. In core since in page.py it's determined, it works okay