in 6.0 setup webpydav error

Bug #613331 reported by Eric Caudal - www.elico-corp.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

version of 20100804.
When I try to setup the 6.0 server with following command:python ./setup.py install
I receive the following error:
Error: python module pywebdav (PyWebDAV is a standards compliant WebDAV server and library written in Python) is required

I then do easy_install pywebdav which work correctly, downloading and installing webpydav 0.9.4 with following output (I dont know what the first error is about):

/usr/lib/python2.6/dist-packages/setuptools/package_index.py:156: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/python2.6/dist-packages)
  Environment.__init__(self,*args,**kw)
/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py:216: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/python2.6/dist-packages)
  self.local_index = Environment(self.shadow_path+sys.path)
Searching for pywebdav
Reading http://pypi.python.org/simple/pywebdav/
Reading http://code.google.com/p/pywebdav/
Reading https://sourceforge.net/projects/pywebdav/
Reading http://www.webdav.de
Best match: PyWebDAV 0.9.4
Downloading http://pywebdav.googlecode.com/files/PyWebDAV-0.9.4.tar.gz
Processing PyWebDAV-0.9.4.tar.gz
Running PyWebDAV-0.9.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-EEv4t7/PyWebDAV-0.9.4/egg-dist-tmp-Dgg9mA
Adding PyWebDAV 0.9.4 to easy-install.pth file
Installing davserver script to /usr/local/bin

Installed /usr/local/lib/python2.6/dist-packages/PyWebDAV-0.9.4-py2.6.egg
Processing dependencies for pywebdav
Finished processing dependencies for pywebdav

Still it doesnot change anything so I have to take out the control line in setup.py commenting the following line:
# ('pywebdav', 'PyWebDAV is a standards compliant WebDAV server and library written in Python'),

Install seems correct but dont if any side effect yet.

Revision history for this message
xrg (xrg) wrote : Re: [Bug 613331] [NEW] in 6.0 setup webpydav error

On Wednesday 04 August 2010, you wrote:
> Public bug reported:
>
> version of 20100804.
> When I try to setup the 6.0 server with following command:python ./setup.py
> install I receive the following error:
> Error: python module pywebdav (PyWebDAV is a standards compliant WebDAV
> server and library written in Python) is required
>
>...

What distro are you using? Is it Linux, Windows or Ubuntu?
Can you find out where the python-webdav source is installed? at "site-
packages/DAV/..." or something else? Is it in "/usr/lib/python2.6" or
"/usr/local/lib/python2.6/..." ?

Revision history for this message
Eric Caudal - www.elico-corp.com (elicoidal) wrote :

I am on lucid 10.04 AMD64
located
in /usr/local/lib/python2.6/dist-packages/PyWebDAV-0.9.4-py2.6.egg

Eric

Revision history for this message
xrg (xrg) wrote :

On Wednesday 04 August 2010, you wrote:
> I am on lucid 10.04 AMD64
> located
> in /usr/local/lib/python2.6/dist-packages/PyWebDAV-0.9.4-py2.6.egg
>
>
> Eric
So, is there a /usr/local/lib/python2.6/dist-packages/DAV/ folder with the
library?
Is /usr/local/lib/python2.6/dist-packages in your python path?

There is 2 lines you can test for DAV in a python interpreter:
>>> import imp
>>> imp.find_module('DAV')

Revision history for this message
Eric Caudal - www.elico-corp.com (elicoidal) wrote :

DAV directory is located
in /usr/local/lib/python2.6/dist-packages/PyWebDAV-0.9.4-py2.6.egg
Here is the output of the python's command:
(None,
'/usr/local/lib/python2.6/dist-packages/PyWebDAV-0.9.4-py2.6.egg/DAV',
('', '', 5))

Eric

On mer., 2010-08-04 at 08:01 +0000, xrg wrote:

> On Wednesday 04 August 2010, you wrote:
> > I am on lucid 10.04 AMD64
> > located
> > in /usr/local/lib/python2.6/dist-packages/PyWebDAV-0.9.4-py2.6.egg
> >
> >
> > Eric
> So, is there a /usr/local/lib/python2.6/dist-packages/DAV/ folder with the
> library?
> Is /usr/local/lib/python2.6/dist-packages in your python path?
>
> There is 2 lines you can test for DAV in a python interpreter:
> >>> import imp
> >>> imp.find_module('DAV')
>

Revision history for this message
xrg (xrg) wrote :

On Wednesday 04 August 2010, you wrote:
> DAV directory is located
> in /usr/local/lib/python2.6/dist-packages/PyWebDAV-0.9.4-py2.6.egg
> Here is the output of the python's command:
> (None,
> '/usr/local/lib/python2.6/dist-packages/PyWebDAV-0.9.4-py2.6.egg/DAV',
> ('', '', 5))
>
>
Then you need the 680c7f830c0c5de6 patch.

I wonder why this is not yet in..

Revision history for this message
Eric Caudal - www.elico-corp.com (elicoidal) wrote :

where can i get this patch?
google gave me nothing.
Eric

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Hi Eric,

Could you try again after updating to the latest version of the trunk server? We have merged xrg's 680c7f830c0c5de6 patch for this issue. Then if it works, we can close the bug.

Thanks!

Revision history for this message
Eric Caudal - www.elico-corp.com (elicoidal) wrote : Re: [Bug 613331] Re: in 6.0 setup webpydav error

Hi Olivier,
For me, this is OK now. Please close the bug.
I am discovering 6.0 and really nice job!

Eric

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Ok closed it, thanks for the feedback Eric!

Changed in openobject-addons:
status: New → Fix Released
Changed in openobject-addons:
milestone: none → 6.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.