#176: SAXParseException
---------------------+------------------------------------------------------
  Reporter:  zooko   |       Owner:  lele      
      Type:  defect  |      Status:  new       
  Priority:  major   |   Milestone:  VersionOne
 Component:  tailor  |     Version:  0.9       
Resolution:          |    Keywords:            
---------------------+------------------------------------------------------

Comment(by lele):

 As the traceback shows

 {{{
 17:36:52 [C] Something unexpected!
   ...
   File "/usr/lib/python2.5/xml/sax/expatreader.py", line 211, in feed
     self._err_handler.fatalError(exc)
   File "/usr/lib/python2.5/xml/sax/handler.py", line 38, in fatalError
     raise exception
 SAXParseException: <unknown>:5683:39: not well-formed (invalid token)
 }}}

 at line 5683 of the XML output there is a typo, a "welcome" with a strange
 "A with caret" in the middle.

 OTOH, you got the syntax wrong for the option. Fixed that, tailor is
 slurping your repo without problems:

 {{{
 [DEFAULT]
 replace-badchars = {'\xb4': '&#180;', '\xc1': '&#193;', '\xc4': '&#196;',
 '\xc5': '&#197;', '\xc9': '&#201;', '\xcd': '&#205;', '\xd3': '&#211;',
 '\xd5': '&#336;', '\xd6': '&#214;', '\xda': '&#218;', '\xdb': '&#368;',
 '\xdc': '&#220;', '\xdf': '&#223;', '\xe1': '&#225;', '\xe5': '&#229;',
 '\xe9': '&#233;', '\xed': '&#237;', '\xf1': '&#241;', '\xf3': '&#243;',
 '\xf5': '&#337;', '\xf6': '&#246;', '\xfa': '&#250;', '\xfb': '&#369;',
 '\xfc': '&#252;', '\xc2': 'A'}

 [project]
 root-directory = /tmp/d2g
 target = git:target
 start-revision = INITIAL
 state-file = tailor.state
 source = darcs:source
 subdir = ./tahoe

 [git:target]

 [darcs:source]
 repository = /home/lele/wip/tahoe
 init-options = --hashed
 }}}

 NOTE: I was too lazy to lookup the proper code for the "A with caret" in
 question, I just replaced it (it's "\xc2") with a plain "A"

-- 
Ticket URL: <http://progetti.arstecnica.it/tailor/ticket/176#comment:2>
Tailor <http://progetti.arstecnica.it/tailor>
An inter-VCs changeset exchanger
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to