Page MenuHomePhabricator

mail permission token missing sometimes
Closed, DeclinedPublic

Description

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


Version: compat-(1.0)
Severity: normal
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/1333

Details

Reference
bz55237

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:28 AM
bzimport set Reference to bz55237.

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

Ladsgroup set Security to None.

I won't work on compat anymore.
Even critical changes.

Aklapper lowered the priority of this task from Medium to Lowest.Jun 5 2015, 1:41 PM
Aklapper subscribed.

Pywikibot has two versions: Compat and Core. This task was filed about the older version, called Pywikibot-compat, which is not under active development anymore. Hence I'm lowering the priority of this task to reflect the reality. Unfortunately, the Pywikibot team does not have the manpower to retest every single bug report / feature request against the (maintained) Pywikibot code base. Furthermore, the code base of Pywikibot-Compat has changed a lot compared to the code base of Pywikibot-Core so there is a chance that the problem described in this task might not exist anymore. Please help: Unfortunately manpower is limited and does not allow testing every single reported task again. If you have time and interest in Pywikibot, please upgrade to Pywikibot-Core and add a comment to this task if the problem in this task still happens in Pywikibot-Core (or directly edit the task by removing the Pywikibot-compat project and adding the Pywikibot project to this task). To learn more about Pywikibot and to get involved in its development, please check out https://www.mediawiki.org/wiki/Manual:Pywikibot/Development Thank you for your understanding.

jayvdb claimed this task.