mod_python and pysvn

Tim Golden mail at timgolden.me.uk
Tue Sep 11 17:56:45 CEST 2007


Sjoerd wrote:
> Hello all,
> 
> I have a script that uses pySVN. It gets the latest build information.
> I want to create a call to that function in a PSP file but everytime I
> try I get an error message:
> 
> ClientError: Unable to open an ra_local session to URL
> Unable to open repository 'file:///P:/tools/builds/repository'
> 
> does anyone know how I can fix this?

Usually means that the process which Apache is running under
(may well be LocalSystem) doesn't know about or doesn't have
access to p:/tools etc. Assuming that P: is a network drive,
try using its UNC (\\server\share\tools etc.) but even there
I suspect you may have security issues. One way or the other,
you would need to give the Apache service enough security
access to that share/directory for it to do its job.

TJG



More information about the Python-list mailing list