Page MenuHomePhabricator

Create a way of feeding longer XML into the bot
Closed, ResolvedPublic

Description

Possibly load from Phabricator Pastes?

<external provider="phabricator" location="P12345" />

2018-11-19 11:36:33,834 [6] DEBUG Stwalkerster.IrcClient.IrcClient.Freenode.NetworkClient.Inbound [(null)] - :stwalkerster!stwalkerst@wikimedia/stwalkerster PRIVMSG ##eyeinthesky :=xml <and><or><summary value="death" /><summary value="[pP]assed away" /><summary value="[dD]eceased" /><and><summary value="[dD]ied" /><not><or><summary value="[sS]tudied" /><summary value="[tT]idied" /><summary value="[rR]emedied" /></or></not></and></or><not><summary value="/\*.*?death.*?\*/" /></not><not><or><usergroup value="extendedconfirmed" /><usergroup value="sysop" /><user value="Stwalkersock" /></or></not><incategory value="

2018-11-19 11:36:33,835 [Thread Pool Worker] INFO  Stwalkerster.Bot.CommandLib.Services.CommandParser [(null)] - Creating command object of type EyeInTheSky.Commands.XmlCommand

2018-11-19 11:36:33,836 [Thread Pool Worker] DEBUG EyeInTheSky.Commands.XmlCommand [(null)] - Found method: Execute

2018-11-19 11:36:33,857 [Thread Pool Worker] ERROR EyeInTheSky.Commands.XmlCommand [(null)] - Unhandled exception during command execution
System.Xml.XmlException: There is an unclosed literal string. Line 1, position 435.
  at System.Xml.XmlTextReaderImpl.Throw (System.Exception e) [0x00027] in <471dddc426cd476899863736e0554f7f>:0 
  at System.Xml.XmlTextReaderImpl.Throw (System.String res, System.String arg) [0x00029] in <471dddc426cd476899863736e0554f7f>:0 
  at System.Xml.XmlTextReaderImpl.Throw (System.String res) [0x00000] in <471dddc426cd476899863736e0554f7f>:0 
  at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow (System.Int32 curPos, System.Char quoteChar, System.Xml.XmlTextReaderImpl+NodeData attr) [0x005cc] in <471dddc426cd476899863736e0554f7f>:0 
  at System.Xml.XmlTextReaderImpl.ParseAttributes () [0x0039a] in <471dddc426cd476899863736e0554f7f>:0 
  at System.Xml.XmlTextReaderImpl.ParseElement () [0x001df] in <471dddc426cd476899863736e0554f7f>:0 
  at System.Xml.XmlTextReaderImpl.ParseElementContent () [0x0016f] in <471dddc426cd476899863736e0554f7f>:0 
  at System.Xml.XmlTextReaderImpl.Read () [0x00085] in <471dddc426cd476899863736e0554f7f>:0 
  at System.Xml.XmlLoader.LoadNode (System.Boolean skipOverWhitespace) [0x0025b] in <471dddc426cd476899863736e0554f7f>:0 
  at System.Xml.XmlLoader.LoadDocSequence (System.Xml.XmlDocument parentDoc) [0x0001b] in <471dddc426cd476899863736e0554f7f>:0 
  at System.Xml.XmlLoader.Load (System.Xml.XmlDocument doc, System.Xml.XmlReader reader, System.Boolean preserveWhitespace) [0x000b4] in <471dddc426cd476899863736e0554f7f>:0 
  at System.Xml.XmlDocument.Load (System.Xml.XmlReader reader) [0x0002e] in <471dddc426cd476899863736e0554f7f>:0 
  at System.Xml.XmlDocument.LoadXml (System.String xml) [0x00018] in <471dddc426cd476899863736e0554f7f>:0 
  at EyeInTheSky.Services.XmlCacheService.CacheXml (System.String xml, Stwalkerster.IrcClient.Model.Interfaces.IUser forUser) [0x00006] in <c4daa853506147b7b43b5b7d2156ff7e>:0 
  at EyeInTheSky.Commands.XmlCommand+<Execute>d__2.MoveNext () [0x00030] in <c4daa853506147b7b43b5b7d2156ff7e>:0 
  at System.Linq.Enumerable+ConcatIterator`1[TSource].MoveNext () [0x0002b] in <9a2f23a52d30476eafb596a55ecb4b63>:0 
  at System.Collections.Generic.List`1[T].AddEnumerable (System.Collections.Generic.IEnumerable`1[T] enumerable) [0x00059] in <3833a6edf2074b959d3dab898627f0ac>:0 
  at System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x000f4] in <3833a6edf2074b959d3dab898627f0ac>:0 
  at System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in <3833a6edf2074b959d3dab898627f0ac>:0 
  at System.Linq.Enumerable+ConcatIterator`1[TSource].ToList () [0x00027] in <9a2f23a52d30476eafb596a55ecb4b63>:0 
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <9a2f23a52d30476eafb596a55ecb4b63>:0 
  at Stwalkerster.Bot.CommandLib.Commands.CommandUtilities.CommandBase.Run () [0x0017d] in <5bece596320e471c89c59d3dac00cfca>:0

Details

Event Timeline

swalker renamed this task from EITS Error Log to Create a way of feeding longer XML into the bot.Nov 19 2018, 11:43 AM
swalker triaged this task as High priority.
swalker shifted this object from the Restricted Space space to the S1 Default space.
swalker updated the task description. (Show Details)
swalker moved this task from Backlog to Features on the EyeInTheSky board.
stwalkerster mentioned this in Unknown Object (Diffusion Commit).Nov 19 2018, 1:00 PM