I always get the following error when trying to start my database on my new openerp 6.0 installation.
[2014-12-18 16:47:01,053][db60] INFO:init:module document_webdav: loading objects
[2014-12-18 16:47:01,053][db60] INFO:init:module document_webdav: registering objects
[2014-12-18 16:47:01,062][db60] CRITICAL:init:Couldn't load module document_webdav
[2014-12-18 16:47:01,062][db60] CRITICAL:init:: warning
[2014-12-18 16:47:01,062][db60] CRITICAL:init:: PyWebDAV Import Error!
I have been searching the web for this the whole day. but I can't find a solution for me that works. I remember having the same problem on my previous installation, but then I found the solution on the internet. I remember it was something realy simple but made the big mistake of not writing it down :-p.
If somebody knows how I can uninstall the document_webdav using only the database this would solve the problem as well.
All help is welcome because I need to get this accounting back working.
system: Ubuntu 14.04
python: I don't know the version that openerp uses, but I've got two versions in my usr/local/lib 2.7 and 3.4. I would guess 2.7
If you need other information, just ask.
I got it working, and now I wrote it down how I did it for the next time this happens :-).
This is what I did.
I downloaded the tar form http://code.google.com/p/pywebdav/downloads/detail?name=PyWebDAV-0.9.4.1.tar.gz.
unpack it, open the directory and install:
tar -xvzf PyWebDAV-0.9.4.1.tar.gz
sudo python setup.py develop
rm -R PyWebDAV-0.9.4.1
This was all! I tried at tried easy_install, I tried to copy the files in the directories as I found on different sites, but all this didn't work.
Thank you for the help!
Try to search for the error message in the code. It may give you a hint of what's wrong. For this case here is the source:
from DAV import utils
from DAV.propfind import PROPFIND
from DAV.report import REPORT
raise osv.except_osv(_('PyWebDAV Import Error!'), _('Please install PyWebDAV from http://code.google.com/p/pywebdav/downloads/detail?name=PyWebDAV-0.9.4.tar.gz&can=2&q=/'))
It needs PyWebDAV to be installed.
For a quick fix, just delete the folder document_webdav from the addons folder (you can recover it later).
Read also this question
Try to reinstall or update pywebdav
To know which version of python you are using, open a terminal (console) and at the command prompt type: python --version
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 12/18/14, 11:28 AM|
|Seen: 1690 times|
|Last updated: 3/16/15, 8:10 AM|