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

Re: Tortoise doesn't seem to be applying autoprops

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2007-05-23 12:49:16 CEST

Please keep the discussion on the list for everyone to be able to contribute
and benefit.

On Wednesday 23 May 2007 10:32, Luke Mason wrote:
> Download python 2.5.1 and install
> Run idle
> File -> open -> svn_apply_autoprops.py
> Edit line 43 to point to the correct path
> Run module (F5)
>
> Crashes out with:
> Traceback (most recent call last):
> File "D:\oasis_2\svn_apply_autoprops.py", line 161, in <module>
> sys.exit(main())
> File "D:\oasis_2\svn_apply_autoprops.py", line 157, in main
> os.path.walk('.', filter_walk, autoprop_lines)
> File "C:\Python25\lib\ntpath.py", line 334, in walk
> walk(name, func, arg)
> File "C:\Python25\lib\ntpath.py", line 334, in walk
> walk(name, func, arg)
> File "C:\Python25\lib\ntpath.py", line 328, in walk
> func(arg, top, names)
> File "D:\oasis_2\svn_apply_autoprops.py", line 137, in filter_walk
> status = os.spawnvp(os.P_WAIT, 'svn', command)
> AttributeError: 'module' object has no attribute 'spawnvp'
>
> The line is:
> status = os.spawnvp(os.P_WAIT, 'svn', command)
>
> If it is a windows vs linux thing, well, I'm stuck.

I also found a mail in the Python developers' mailinglist where someone asks
why it isn't there in 2.5. Consensus seems to be that it will be added to
2.6.

Anyhow: try replacing the 'svn' in that line with the full path to the svn
executable and the 'spawnvp' with 'spawnv'. Otherwise, I'd try the IRC, in
particular the #python channel on freenode.net. If you explain your problems
you typically find someone that will help, in particular since it's an open
project and guarantees some fame to the hacker.

good luck

Uli

-- 
Sator Laser GmbH
Geschäftsführer: Ronald Boers, Amtsgericht Hamburg HR B62 932
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 23 12:49:21 2007

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

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