| APerson added a comment. |
In addition, attempting to login with the username {} results in this:
ERROR: Traceback (most recent call last):
File "/home/daniel/Documents/GitHub/core/pywikibot/data/api.py", line 1953, in submit
body=body, headers=headers)
File "/home/daniel/Documents/GitHub/core/pywikibot/tools/__init__.py", line 1414, in wrapper
return obj(*__args, **__kw)
File "/home/daniel/Documents/GitHub/core/pywikibot/comms/http.py", line 279, in request
r = fetch(baseuri, method, body, headers, **kwargs)
File "/home/daniel/Documents/GitHub/core/pywikibot/comms/http.py", line 429, in fetch
request = _enqueue(uri, method, body, headers, **kwargs)
File "/home/daniel/Documents/GitHub/core/pywikibot/comms/http.py", line 407, in _enqueue
all_headers['user-agent'] = user_agent(None, user_agent_format_string)
File "/home/daniel/Documents/GitHub/core/pywikibot/comms/http.py", line 201, in user_agent
formatted = _USER_AGENT_FORMATTER.format(format_string, **values)
File "/usr/lib/python2.7/string.py", line 559, in format
return self.vformat(format_string, args, kwargs)
File "/usr/lib/python2.7/string.py", line 563, in vformat
result = self._vformat(format_string, args, kwargs, used_args, 2)
File "/usr/lib/python2.7/string.py", line 585, in _vformat
obj, arg_used = self.get_field(field_name, args, kwargs)
File "/usr/lib/python2.7/string.py", line 646, in get_field
obj = self.get_value(first, args, kwargs)
File "/home/daniel/Documents/GitHub/core/pywikibot/comms/http.py", line 121, in get_value
return super(_UserAgentFormatter, self).get_value(key, args, kwargs)
File "/usr/lib/python2.7/string.py", line 605, in get_value
return kwargs[key]
KeyError: u''TASK DETAIL
EMAIL PREFERENCES
To: APerson
Cc: APerson, Aklapper, pywikibot-bugs-list, Mdupont, jayvdb
Cc: APerson, Aklapper, pywikibot-bugs-list, Mdupont, jayvdb
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
