Page MenuHomePhabricator

AutoWikiBrowser does not work on my wiki, it will work on other wikis
Closed, InvalidPublic

Description

In AutoWikiBrowser, while adding Category:Everything to Template:Video on Trackers Interface Wiki (trackersinterface.wikia.com), I got the following error message:

{{AWB bug | status = new <!-- when fixed replace with "fixed" --> | description = nThread: InvokerThread (Save) <table><tr><td>Exception:<td><code>ApiXmlException</code><tr><td>Message:<td><code>XmlException in ApiEdit.CheckForErrors</code><tr><td>Call stack:<td><pre> at WikiFunctions.API.ApiEdit.CheckForErrors(String xml, String action) at WikiFunctions.API.ApiEdit.Save(String pageText, String summary, Boolean minor, WatchOptions watch)</pre></tr> <tr><td>Inner exception:<td><code>XmlException</code><tr><td>Message:<td><code>Data at the root level is invalid. Line 1, position 1.</code><tr><td>Call stack:<td><pre> at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(TextReader txtReader) at WikiFunctions.API.ApiEdit.CheckForErrors(String xml, String action)</pre></tr> </table> <table><tr><td>Get</td><td>http://trackersinterface.wikia.com/api.php?format=xml&action=edit&title=Template%3aVideo&minor&watchlist=nochange&assert=user&meta=userinfo&uiprop=hasmsg</td></tr><tr><td>Post</td><td>&md5=d842a81544704c2a504ce17ccc4ffd96&summary=Finder&basetimestamp=2011-12-30T02%3a55%3a16Z&text=%7b%7bNotice+%7c+border+%3d+red+%7c+image+%3d+%5b%5bFile%3aWiki-wordmark.png%7c60px%7clink%3dTrackers+Interface+Wiki%5d%5d+%7c+type+%3d+Sorry...+%7c+info+%3d+We're+having+some+problems+with+embedding+the+videos.++They+are+still+avaliable+here%3a+(book+%5bhttp%3a%2f%2ffeeds.feedburner.com%2ftrackers1+1%5d+or+%5bhttp%3a%2f%2ffeeds.feedburner.com%2ftrackers2+2%5d)+%7d%7d%3cnoinclude%3e%0a%5b%5bCategory%3aEverything%5d%5d%0a%3c%2fnoinclude%3e&starttimestamp=2012-01-16T19%3a18%3a05Z&token=%3cremoved%3e</td></tr></table> WikiFunctions.API.ApiXmlException: XmlException in ApiEdit.CheckForErrors ---> System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(TextReader txtReader) at WikiFunctions.API.ApiEdit.CheckForErrors(String xml, String action) --- End of inner exception stack trace --- at WikiFunctions.API.ApiEdit.CheckForErrors(String xml, String action) at WikiFunctions.API.ApiEdit.Save(String pageText, String summary, Boolean minor, WatchOptions watch) ~~~~ | OS = Microsoft Windows NT 6.1.7600.0 | version = AutoWikiBrowser (5.3.1.0), WikiFunctions (5.3.1.0), revision 7792 (2011-07-23 16:53:25) | net = 2.0.50727.4963 | site = http://trackersinterface.wikia.com | workaround = <!-- Any workaround for the problem --> | fix_version = <!-- Version of AWB the fix will be included in; AWB developer will complete when it's fixed --> }}

It told me to post it on Wikipedia Talk:AutoWikiBrowser/Bugs with the heading ApiXmlException in ApiEdit.CheckForErrors, but I'm blocked from Wikipedia forever (long story, not my fault).

When I tried to reopen it, it says "An error occured while connecting to the server or loading project information from it. Please make sure that your internet connection works (if it wasn't I wouldn't be online) and such combination of project/language exist. (they existed 5 minutes ago, and it exists now). Enter the URL in the format "en.wikipedia.org/w/" (including path where index.php and api.php reside). Error description: The remote server returned an error: (500) Intenal Server Error."

It won't let me do anything, and I tried reinstalling it but it returned the same error message. It works on Powerless Wiki (powerless.wikia.com).

I have tried opening the software on different computers and I have cleared MediaWiki:Common.js to no avail.


Version: 1.16.x
Severity: major
OS: Windows 7
Platform: PC
URL: trackersinterface.wikia.com

Details

Reference
bz34216

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:12 AM
bzimport set Reference to bz34216.
bzimport added a subscriber: Unknown Object (MLST).

There've been a few weird issues with some Wikia wikis before

Can you try http://toolserver.org/~awb/snapshots/AutoWikiBrowser5311_rev7940.zip

Nope, same thing. I asked The 888th Bot (http://avatar.wikia.com/wiki/Thread:375790) to try it and he got the same error message.

The api is broken on your wiki

http://trackersinterface.wikia.com/api.php?action=query&meta=siteinfo&siprop=general|namespaces|namespacealiases|statistics|magicwords&format=xml

<html>
<head>
<title> trackersinterface.wikia.com/api.php?action=query&meta=siteinfo&siprop=general|namespaces|namespacealiases|statistics|magicwords&format=xml</title>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">

	       </script>
	       <script type="text/javascript">
	       try {
      _uacct = "UA-288915-41";
      urchinTracker("/varnish/varnish-l9-LON/500/sjc_varnish");
    } catch(err) {}</script>
		       </head>
		       <body>
		       </body>
		       </html>

vs

http://swtor.wikia.com/api.php?action=query&meta=siteinfo&siprop=general|namespaces|namespacealiases|statistics|magicwords&format=xml

resolving invalid since this is Wikia's problem, not a MW or WMF problem. You or they can re-open if you want to track it here.

Amusingly, it was a bug in MW that has been long fixed...

Not deployed to Wikia yet, but should be coming

Hopefully, they update it with 1.19

It's due for deploy later this week