Page MenuHomePhabricator

AWB: OperationFailedException in ApiEdit.CheckForErrors
Closed, DuplicatePublic

Description

description:

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="132acbb3c291d85fc0b60389ceb44cb156df84f7+\" cookieprefix="enwiki" sessionid="0sd7gbc8ii9j5ofh8t6f5m69ar9qb9en" /></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.1.7601 Service Pack 1
version: AutoWikiBrowser (5.8.5.1), WikiFunctions (5.8.5.1), revision 11887 (2016-02-11 12:39:55)
net: 2.0.50727.5485
duplicate:
site: https://en.wikipedia.org

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 9 2016, 2:11 AM

@Checkingfax: For future reference, please associate a project/tag with a task, to allow others to find this task when searching in the corresponding project(s). Thanks!

Josve05a reopened this task as Open.Mar 9 2016, 11:17 AM
Josve05a added subscribers: Rjwilmsi, Josve05a.

rev 11887 fixes

This crash was on 11887.

Aklapper said:

@Checkingfax: For future reference, please associate a project/tag with a task

Sure thing, Ak. How?

Never mind. I got it.