https://bugzilla.wikimedia.org/show_bug.cgi?id=55237
Web browser: --- Bug ID: 55237 Summary: mail permission token missing somtimes Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
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
https://bugzilla.wikimedia.org/show_bug.cgi?id=55237
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/bugs/1333
https://bugzilla.wikimedia.org/show_bug.cgi?id=55237
Nemo federicoleva@tiscali.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|mail permission token |mail permission token |missing somtimes |missing sometimes
https://bugzilla.wikimedia.org/show_bug.cgi?id=55237
Amir Ladsgroup ladsgroup@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Normal CC| |ladsgroup@gmail.com Version|unspecified |compat (1.0) Assignee|Pywikipedia-bugs@lists.wiki |ladsgroup@gmail.com |media.org |
--- Comment #1 from Amir Ladsgroup ladsgroup@gmail.com --- 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
pywikipedia-bugs@lists.wikimedia.org