[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svnmerge.py r26037 on Windows

From: Giovanni Bajo <rasky_at_develer.com>
Date: 2007-08-13 14:56:36 CEST

On 13/08/2007 11.13, Martin Tomes wrote:
> I tried to run r26037 of svnmerge.py on Windows and got an error:
>
> Traceback (most recent call last):
> File "svnmerge.py", line 2124, in ?
> File "svnmerge.py", line 2119, in main
> File "svnmerge.py", line 1609, in __call__
> File "svnmerge.py", line 1278, in action_merge
> File "svnmerge.py", line 1087, in analyze_source_revs
> File "svnmerge.py", line 1039, in analyze_revs
> File "svnmerge.py", line 359, in __init__
> File "svnmerge.py", line 846, in __init__
> File "xml\dom\pulldom.pyc", line 350, in parseString
> File "xml\sax\__init__.pyc", line 93, in make_parser
> xml.sax._exceptions.SAXReaderNotAvailable: No parsers found
>
> I fixed this by adding from xml.parsers import expat to the script. A
> patch is attached.
>
> Is this the correct fix for this?

It's weird at least. Which Python version are you running, exactly? Is it the
pyhton.org distribution?

I'm not against the patch in principle, but I found weird that you need such
an import at all.

-- 
Giovanni Bajo
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 13 14:54:33 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.