#155: darcs:source related exception -----------------------+---------------------------------------------------- Reporter: wfranzini | Owner: lele Type: defect | Status: new Priority: major | Milestone: VersionOne Component: tailor | Version: 0.9 Keywords: | -----------------------+---------------------------------------------------- Using darcs-1.0.9rc1 (Debian etch) and python-2.4.4 the trace attached below is generated.
I think the second condition ("unrecognized ...") in the test at vcpx/repository/darcs/source.py:323 if pull.exit_status and "unrecognized option `--xml-output'" in output: does not match. Is it a problem related to python or darcs version I'm using? 10:58:31 [D] Executing darcs pull --dry-run --xml-output /tmp/TAILOR.21901/darcs-repo ('/tmp/TAILOR.21901/rootdir/darcs1side') 10:58:31 [W] [Status 2] Output stream: darcs failed: unrecognized option `--xml-output' 10:58:31 [C] Unable to get changes for "project" Traceback (most recent call last): File "/home/walter/src/tailor-upstream/tailor", line 35, in ? main() File "/home/walter/src/tailor-upstream/vcpx/tailor.py", line 342, in main tailorizer() File "/home/walter/src/tailor-upstream/vcpx/tailor.py", line 147, in __call__ self.update() File "/home/walter/src/tailor-upstream/vcpx/tailor.py", line 97, in update pendings = dwd.getPendingChangesets() File "/home/walter/src/tailor-upstream/vcpx/source.py", line 221, in getPendingChangesets self.state_file.setPendingChangesets(changesets) File "/home/walter/src/tailor-upstream/vcpx/statefile.py", line 230, in setPendingChangesets self._write(changesets) File "/home/walter/src/tailor-upstream/vcpx/statefile.py", line 86, in _write for cs in changesets: File "/home/walter/src/tailor-upstream/vcpx/repository/darcs/source.py", line 175, in changesets_from_darcschanges for cs in csets: File "/home/walter/src/tailor-upstream/vcpx/repository/darcs/source.py", line 301, in changesets_from_darcschanges_unsafe parser.close() File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 226, in close self.feed("", isFinal = 1) File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 220, in feed self._err_handler.fatalError(exc) File "/usr/lib/python2.4/site-packages/_xmlplus/sax/handler.py", line 38, in fatalError raise exception xml.sax._exceptions.SAXParseException: <unknown>:1:0: no element found -- Ticket URL: <http://progetti.arstecnica.it/tailor/ticket/155> Tailor <http://progetti.arstecnica.it/tailor> An inter-VCs changeset exchanger _______________________________________________ Tailor mailing list Tailor@lists.zooko.com http://lists.zooko.com/mailman/listinfo/tailor