[darcs-users] testing new darcsweb, patch bot

Alberto Bertogli albertito at blitiri.com.ar
Thu Aug 7 00:38:51 UTC 2008


On Wed, Aug 06, 2008 at 11:37:07AM -0700, Simon Michael wrote:
> Also, I did try enabling annotate just to re-test (the times log is 
> great) but hit an error like the below. If that means anything to you, 
> I'd be glad to know what you think.

Luckily, it does:


> global parse_annotate = <function parse_annotate at 0xa1b140>, global 
> run_darcs = <function run_darcs at 0xa1a500>, cmd = 'annotate 
> --xml-output "GNUmakefile"'

Here it tells me it's running "darcs annotate --xml-output GNUmakefile",
and trying to parse the output.


>   /var/www/darcsweb/darcsweb.cgi in parse_annotate(src=<open file 
> '<fdopen>', mode 'r' at 0xa1c6c0>)
>    975                 s += fixu8(i)
>    976
>    977         dom = xml.dom.minidom.parseString(s)
>    978
>    979         file = dom.getElementsByTagName("file")[0]
> dom undefined, xml = <module 'xml' from 
> '/usr/lib/python2.5/xml/__init__.pyc'>, xml.dom = <module 'xml.dom' from 
> '/usr/lib/python2.5/xml/dom/__init__.pyc'>, xml.dom.minidom = <module 
> 'xml.dom.minidom' from '/usr/lib/python2.5/xml/dom/minidom.pyc'>, 
> xml.dom.minidom.parseString = <function parseString at 0x96f938>, s = 
> 'darcs: failed to read patch:\nMon Apr 7 
> 08:06:23...p://darcs.net\nthisrepo:/usr/local/src/darcs.net\n\n'

And here it tells me the output from darcs began with "darcs: failed to
read patch:", which is obviously invalid XML and that's what making the
XML parser raise this error.

Can you send me the full output of the command I listed above?


Thanks a lot,
		Alberto



More information about the darcs-users mailing list