On Feb 10, 2018, at 09:29, Bo Berglund wrote: > I tried the contrib py script on my Windows machine as follows: > > python svn_apply_autoprops.py --config %APPDATA%\Subversion\config > D:\Engineering\Projects\Subversion\EI > Traceback (most recent call last): > File "svn_apply_autoprops.py", line 195, in <module> > sys.exit(main()) > File "svn_apply_autoprops.py", line 192, in main > os.path.walk(wc_path, filter_walk, autoprop_lines) > File "C:\Programs\Python\lib\ntpath.py", line 263, in walk > walk(name, func, arg) > File "C:\Programs\Python\lib\ntpath.py", line 259, in walk > func(arg, top, names) > File "svn_apply_autoprops.py", line 147, in filter_walk > status = os.spawnvp(os.P_WAIT, 'svn', command) > AttributeError: 'module' object has no attribute 'spawnvp' > > > Maybe it is not supposed to work on Windows? > I have Python 2.7.1 installed in my PC. > Should I instead check out the projects on Linux to make it work?
According to a quick Google search, Python on Windows does not have spawnvp, so the script will not work on Windows as written.