Page MenuHomePhabricator

OperationFailedException in ApiEdit.CheckForErrors attempting to login for the first time with 5.8.5.0
Closed, DuplicatePublic

Description

description: Just downloaded the new 5.8.5.0 and ran it. Attempting to login returned this.

workaround:

Exception:OperationFailedException
Message:`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 instead.</login></warnings><login result="NeedToken" token="95d9a33ad00cac1d10da7ed68090835856bd374f+\" cookieprefix="enwiki" sessionid="q87vc0j6u9ufgdnhjdrtcrtn6ke3hgut" /></api>'`
Call stack:<pre> at WikiFunctions.API.ApiEdit.CheckForErrors(String xml, String action)
at WikiFunctions.API.ApiEdit.Login(String username, String password, String domain)
at WikiFunctions.Profiles.AWBProfilesForm.PerformLogin(String username, String password)</pre>

OS: Microsoft Windows NT 6.2.9200.0
version: AutoWikiBrowser (5.8.5.0), WikiFunctions (5.8.5.0), revision 11864 (2016-01-28 19:15:03)
net: 2.0.50727.8670
duplicate:
site: https://en.wikipedia.org

Event Timeline

Markhurd raised the priority of this task from to Needs Triage.
Markhurd updated the task description. (Show Details)
Markhurd added a project: AutoWikiBrowser.
Markhurd subscribed.
Markhurd claimed this task.

Duplicate of https://phabricator.wikimedia.org/T126577
(How can I as task creator mark this as a duplicate?)

Markhurd added subscribers: Vladis13, Rjwilmsi, Poyekhali and 4 others.

Just mentioning I downloaded the 5.8.5.0 download provided by the emailed SourceForge notification. Obviously that link doesn't grab the latest build automatically :-(