| Dalba added a project: Repository-Admins. Dalba added a comment. |
The results of the above patch:
https://travis-ci.org/wikimedia/pywikibot-core/jobs/266461986#L1059
$ python -c "from __future__ import print_function;from pywikibot import config as c; a=c.authenticate; [(print('authenticate_key:', i), print('authenticate_value_type:', type(a[i])), print('authenticate_value_length:', len(a[i]))) for i in a]" authenticate_key: en.wikipedia.beta.wmflabs.org authenticate_value_type: <type 'unicode'> authenticate_value_length: 150 authenticate_key: wiki.musicbrainz.org authenticate_value_type: <type 'tuple'> authenticate_value_length: 2
https://travis-ci.org/wikimedia/pywikibot-core/jobs/266461987
$ python -c "from __future__ import print_function;from pywikibot import config as c; a=c.authenticate; [(print('authenticate_key:', i), print('authenticate_value_type:', type(a[i])), print('authenticate_value_length:', len(a[i]))) for i in a]" authenticate_key: wiki.musicbrainz.org authenticate_value_type: <class 'tuple'> authenticate_value_length: 2 authenticate_key: zh.wikipedia.beta.wmflabs.org authenticate_value_type: <class 'str'> authenticate_value_length: 150This is immediately after creation of the config file.
Therefore I think the value of has been changed OAUTH_TOKENS_WIKIPEDIA_TEST.
I don't know who has access to travis enviroment. I'm going to add #Repository-Admins, I hope they can help us by checking pywikibot's enviroment variables on travis-ci.
Specifically the values of the following variable needs to be checked:
- OAUTH_TOKENS_WIKIPEDIA_TEST
- OAUTH_TOKENS_WPBETA_EN
- OAUTH_TOKENS_WPBETA_ZH
AFAIU the code, the expected format for them is something like this:
consumer_token\',\'consumer_secret\',\'access_token\',\'access_secret
TASK DETAIL
EMAIL PREFERENCES
To: Dalba
Cc: Xqt, gerritbot, Framawiki, Aklapper, pywikibot-bugs-list, Dalba, Lordiis, Adik2382, Gentlejack35, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, Luke081515, jayvdb, Masti, Florian, Alchimista, Rxy, Krenair
Cc: Xqt, gerritbot, Framawiki, Aklapper, pywikibot-bugs-list, Dalba, Lordiis, Adik2382, Gentlejack35, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, Luke081515, jayvdb, Masti, Florian, Alchimista, Rxy, Krenair
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
