Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #12773

Re: Installing WebDAV server

From "Fokke Nauta" <fnautaNO@SPAMsolfon.nl>
Newsgroups comp.lang.python
Subject Re: Installing WebDAV server
Date 2011-09-05 16:51 +0200
Message-ID <9ck5upFlpnU1@mid.individual.net> (permalink)
References (1 earlier) <mailman.687.1314941410.27778.python-list@python.org> <9cbvupFjr3U3@mid.individual.net> <86b084e0-09a8-4997-9e0c-4526d7851e1d@s2g2000vby.googlegroups.com> <9ccoqkF5efU1@mid.individual.net> <a7cd34d7-ed2b-4449-8edc-a6a45b59ecde@hb5g2000vbb.googlegroups.com>

Show all headers | View raw


"becky_lewis" <bex.lewis@gmail.com> wrote in message 
news:a7cd34d7-ed2b-4449-8edc-a6a45b59ecde@hb5g2000vbb.googlegroups.com...
> >
>> > Possibly.
>> > I tried this:
>> > server.py -n -c config.ini
>> > Once again, the server is up and running and when I am logging in with 
>> > my
>> > browser (10.0.0.140:8081) I can see information showing up at the 
>> > command
>> > prompt, showing somebody is logging is, but the same error:
>> > "fshandler:get_data: \Webdav not found". During starting up the server
>> > mentioned: "pywebdav:Serving data from \Webdav".
>>
>> > In the config file it says:
>> > "# main directory
>> > directory = \Webdav"
>>
>> > Perhaps my Python configuration is at fault.
>>
>> > Fokke
>>
>> Is the path supposed to be absolute? In which case you'd need to have:
>> directory=C:\path\to\Webdav
>>
>> instead of just
>> directory=\Webdav
>>
>> I tried:
>> directory=D:\Webdav
>> directory=D:/Webdav
>>
>> To no avail.
>> It didn.t make any difference.
>>
>> I surely believe my WebDAV installation is at fault.
>>
>> Fokke
>
> Interestingly, looking at the code that returns the
> "fshandler:get_data: \Webdav not found" message, it looks like it
> tests that the path given exists and then tries an os.path.isfile,
> then an os.path.isdir. If both fail you get the message that you see.
> This might be a bit of a shot in the dark but could you try the path
> with and without a trailing '/' or '\'? I don't currently have a
> windows box available to test on and figure out why it would be
> detected as existing but not test true for either a file or directory.
>

Hi Becky,

I tried it straight away:
directory=D:\Webdav\
directory=D:/Webdav/

Didn't work, in both cases the same error "fshandler:get_data: \Webdav not 
found".

I have the opinion that my WebDAV installation is at fault. The database is 
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 
Unix/Linux.
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 case 
I would use ActivePython-2.7.2.5-win32-x86.msi instead of python-2.7.2.msi?

Fokke




Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-08-30 22:00 +0200
  Re: Installing WebDAV server Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-08-30 22:31 +0200
    Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-08-30 23:16 +0200
      Re: Installing WebDAV server Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-08-31 02:00 +0200
        Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-08-31 11:27 +0200
          Re: Installing WebDAV server Laszlo Nagy <gandalf@shopzeus.com> - 2011-08-31 13:48 +0200
            Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-08-31 14:35 +0200
              Re: Installing WebDAV server Laszlo Nagy <gandalf@shopzeus.com> - 2011-08-31 15:36 +0200
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-08-31 16:37 +0200
          Re: Installing WebDAV server Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-08-31 10:42 -0700
            Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-02 14:04 +0200
          Re: Installing WebDAV server Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-09-04 00:58 +0200
            Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-04 10:59 +0200
              Re: Installing WebDAV server Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-09-04 20:35 +0200
  Re: Installing WebDAV server Paul Kölle <paul@subsignal.org> - 2011-08-31 10:52 +0200
    Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-08-31 14:18 +0200
      Re: Installing WebDAV server Paul Kölle <paul@subsignal.org> - 2011-08-31 19:14 +0200
        Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-01 12:30 +0200
      Re: Installing WebDAV server Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-08-31 10:42 -0700
      Re: Installing WebDAV server Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-08-31 21:29 -0700
        Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-01 12:30 +0200
          Re: Installing WebDAV server Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-09-01 22:19 -0700
            Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-02 14:19 +0200
              Re: Installing WebDAV server becky_lewis <bex.lewis@gmail.com> - 2011-09-02 06:09 -0700
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-02 21:21 +0200
                Re: Installing WebDAV server becky_lewis <bex.lewis@gmail.com> - 2011-09-05 02:01 -0700
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-05 16:51 +0200
                Re: Installing WebDAV server becky_lewis <bex.lewis@gmail.com> - 2011-09-06 04:46 -0700
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-06 16:46 +0200
                Re: Installing WebDAV server Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-09-06 10:05 -0700
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-06 21:26 +0200
                Re: Installing WebDAV server Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-09-06 23:35 -0700
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-07 11:17 +0200
                Re: Installing WebDAV server becky_lewis <bex.lewis@gmail.com> - 2011-09-07 03:31 -0700
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-07 15:52 +0200
                Re: Installing WebDAV server Piet van Oostrum <piet@vanoostrum.org> - 2011-09-08 00:52 +0200
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-08 01:28 +0200
                Re: Installing WebDAV server Piet van Oostrum <piet@vanoostrum.org> - 2011-09-08 13:01 +0200
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMiae.nl> - 2011-09-08 15:57 +0200
              Re: Installing WebDAV server python@bdurham.com - 2011-09-02 09:11 -0400
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-02 21:24 +0200
              Re: Installing WebDAV server Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-09-02 10:15 -0700
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-02 21:12 +0200
  Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMiae.nl> - 2011-09-08 16:10 +0200

csiph-web