Last modified: 2014-07-24 09:58:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57237, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55237 - mail permission token missing sometimes
mail permission token missing sometimes
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
compat-(1.0)
All All
: Normal normal
: ---
Assigned To: Amir Ladsgroup
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:49 UTC by Kunal Mehta (Legoktm)
Modified: 2014-07-24 09:58 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:49:03 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
Comment 1 Amir Ladsgroup 2014-07-24 09:58:00 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links