#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': '´', '\xc1': 'Á', '\xc4': 'Ä',
'\xc5': 'Å', '\xc9': 'É', '\xcd': 'Í', '\xd3': 'Ó',
'\xd5': 'Ő', '\xd6': 'Ö', '\xda': 'Ú', '\xdb': 'Ű',
'\xdc': 'Ü', '\xdf': 'ß', '\xe1': 'á', '\xe5': 'å',
'\xe9': 'é', '\xed': 'í', '\xf1': 'ñ', '\xf3': 'ó',
'\xf5': 'ő', '\xf6': 'ö', '\xfa': 'ú', '\xfb': 'ű',
'\xfc': 'ü', '\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