[6.1] document_webdav "500 internal server error" with pywebdav 0.9.8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Community Backports (Addons) |
New
|
Undecided
|
Unassigned |
Bug Description
- Debian Wheezy on amd64 with Python 2.7 and PyWebDav 0.9.8 (debian package python-webdav 0.9.8-3)
- OCB 6.1
- Server revno: 4328
- addons revno: 6847
- web revno: 2523
After enabling the crm_caldav and document_webdav modules, I try to access any webdav folder and I get an "500 Internal Server Error" message.
The log shows:
2014-09-23 08:56:44,837 29663 WARNING ? webdav: Cannot calculate own address: '_fileobject' object has no attribute 'getsockname'
2014-09-23 08:56:44,852 29663 INFO ? werkzeug: 192.168.1.68 - - [23/Sep/2014 08:56:44] "GET /webdav/
2014-09-23 08:56:44,855 29663 ERROR ? werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/share/
execute(app)
File "/usr/share/
application
File "/mnt/lldata/
result = handler(environ, start_response)
File "/mnt/lldata/
return http_to_
File "/mnt/lldata/
handler = http_dir.
File "/mnt/lldata/
handler = self.handler(
File "/usr/lib/
self.handle()
File "/mnt/lldata/
self.
AttributeError: DAVHandler instance has no attribute '_init_buffer'
I tried the same with the official OpenERP 6.1, where I cannot even install the "crm_caldav" module, I get a warning that pywebdav (>=0.94) is not installed. I guess I'm hitting this bug (which does not apply to OCB?):
https:/
Apologies if the above information is incomplete, I'm new to OpenERP and OCB in particular. Please let me know if I can provide more information.
Thank you,
Dimitris