Page MenuHomePhabricator

AWB Operation 'login' ended with result 'NeedToken'
Closed, DuplicatePublic

Description

After running successfully for some weeks on my Windows 10 machine AWB has now stopped with an error message of "Operation 'login' ended with result 'NeedToken'.
Xml: '<?xml version="1.0"?><api><warnings><login xml:space="preserve">Fetching a token via action=login is deprecated. Use action=query&amp;meta=tokens&amp;type=login"

Frankly to me this message is as meaningless as a hexdump

Extensive end user efforts ie "switching it on and off again" and even "swearing at the machine" have not fixed the problem.

Event Timeline

jayvdb renamed this task from AWB to AWB Operation 'login' ended with result 'NeedToken'.Mar 1 2016, 10:56 AM
jayvdb added a project: MediaWiki-Action-API.
jayvdb subscribed.

Looks like this was broken by a recent backwards incompatible change in the MediaWiki API

Have you made sure you have the most update version installed?

A quick google suggests 5.8.5.1 is current stable

Looks like this was broken by a recent backwards incompatible change in the MediaWiki API

Not really. The problem seems to have been that AWB was choking on the module returning a warning, which has always been a possibility in the API. See https://sourceforge.net/p/autowikibrowser/code/11887/.

Looks like this was broken by a recent backwards incompatible change in the MediaWiki API

Not really. The problem seems to have been that AWB was choking on the module returning a warning, which has always been a possibility in the API. See https://sourceforge.net/p/autowikibrowser/code/11887/.

It's crappy XML and crappy XML parsing, as it mentions something about the token in the warning. Anyway, it's fixed, which is the main thing

I've downloaded the current AWB and things are running now. thanks everyone