Installing WebDAV server
fnautaNO at SPAMsolfon.nl
Tue Sep 6 16:46:17 CEST 2011
"becky_lewis" <bex.lewis at gmail.com> wrote in message
news:f5b9ec16-de9a-4365-81a8-860dc27a985e at d25g2000yqh.googlegroups.com...
On Sep 5, 3:51 pm, "Fokke Nauta" <fnaut... at SPAMsolfon.nl> wrote:
> Hi Becky,
> I tried it straight away:
> Didn't work, in both cases the same error "fshandler:get_data: \Webdav not
> I have the opinion that my WebDAV installation is at fault. The database
> not created either.
> To have set up Python, I used python-2.7.2.msi.
> To install WebDAV, I used PyWebDAV-0.9.4.1 and PyXML-0.8.4 packages, both
> To install the, I used
> >> You dont install from "Python GUI", use normal cmd, navigate to the
> >> folder
> >> you downloaded PyXML and PyWebDAV and run "python setup.py install"
> >> (python.exe has to be in your PATH). Then you have to find the
> >> startup-script "davserver". Find your python installation directory and
> >> look into<Install dir>/Tools/Scripts, in my computer this is
> >> E:\python27\Tools\Scripts. PyXML and PyWebDAV get installed in the
> >> site-packages folder i.e. E:\python27\Lib/site-packages. You might have
> >> to
> >> look for "davserver" there..."
> Shall I reïnstall the whole lot? Would it make a difference if in that
> I would use ActivePython-184.108.40.206-win32-x86.msi instead of
You could try that but I'd imagine you'll end up with the same issue.
My best guess is that something is preventing os.path.isdir from
detecting the path as a directory under windows. I can't reproduce it
on my Linux system but may have a working windows installation later.
If I were you I'd fire up a python shell (execute python and get the
>>> prompt), import os.path and manually try os.path.isdir(path_name)
to try and find out what the actualy problem is.
I'm not familiar with Python, but I entered "import os.path " (nothing
happened) and "os.path.isdir(path_name)
" in the shell. I guess what I did was not correct.
Underneath I copied what showed up in the shell.
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on
Type "copyright", "credits" or "license()" for more information.
>>> import os.path
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
NameError: name 'path_name' is not defined
More information about the Python-list