← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 738682] [NEW] synchronizing via caldav doesn't work (WebDAV error)

 

Public bug reported:

Hi,

I installed OpenERP server 6.0.1 on my Ubuntu Server 10.04 using the
provided Debian packages. The system works fine by now, I can access it
from remote using the GTK client over HTTPS/XML-RPC. I tried to
synchronize the calendar using the builtin CalDAV method with my
korganizer. Trying to access the calendar at
<https://myhost.com:8071/webdav/abc/calendars/users/admin/c/Meetings>
results in the following error in the server logs:

[2011-03-20 13:51:40,153][?] INFO:auth:Found user="admin", passwd="***" for db="abc"
[2011-03-20 13:51:40,476][abc] ERROR:https:Could not run do_GET
Traceback (most recent call last):
  File "/usr/share/pyshared/openerp-server/service/websrv_lib.py", line 299, in _handle_one_foreign
    method()
  File "/usr/lib/pymodules/python2.6/DAV/WebDAVServer.py", line 214, in do_GET
    return self._HEAD_GET(with_body=True)
  File "/usr/lib/pymodules/python2.6/DAV/WebDAVServer.py", line 204, in _HEAD_GET
    self.send_body(data, '200', "OK", "OK", content_type, headers)
  File "/usr/share/pyshared/openerp-server/addons/document_webdav/webdav_server.py", line 184, in send_body
    ctype=ctype, headers=headers)
  File "/usr/lib/pymodules/python2.6/DAV/WebDAVServer.py", line 117, in send_body
    self._append(DATA)
  File "/usr/lib/pymodules/python2.6/DAV/BufferingHTTPServer.py", line 54, in _append
    self.__buffer=self.__buffer+s
TypeError: cannot concatenate 'str' and 'nodefd_static' objects
[2011-03-20 13:51:40,476][abc] ERROR:https:code 500, message Internal error

Of course, the error message comes from the python-webdav package
(installed version: 0.9.3-6), but I guess the error lies deeper, i.e.
within OpenERP. Can anyone reproduce this? Any idea what the problem
could be?

Thanks for your help
Tobias Pfeiffer

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/738682

Title:
  synchronizing via caldav doesn't work (WebDAV error)

Status in OpenERP Modules (addons):
  New

Bug description:
  Hi,

  I installed OpenERP server 6.0.1 on my Ubuntu Server 10.04 using the
  provided Debian packages. The system works fine by now, I can access
  it from remote using the GTK client over HTTPS/XML-RPC. I tried to
  synchronize the calendar using the builtin CalDAV method with my
  korganizer. Trying to access the calendar at
  <https://myhost.com:8071/webdav/abc/calendars/users/admin/c/Meetings>
  results in the following error in the server logs:

  [2011-03-20 13:51:40,153][?] INFO:auth:Found user="admin", passwd="***" for db="abc"
  [2011-03-20 13:51:40,476][abc] ERROR:https:Could not run do_GET
  Traceback (most recent call last):
    File "/usr/share/pyshared/openerp-server/service/websrv_lib.py", line 299, in _handle_one_foreign
      method()
    File "/usr/lib/pymodules/python2.6/DAV/WebDAVServer.py", line 214, in do_GET
      return self._HEAD_GET(with_body=True)
    File "/usr/lib/pymodules/python2.6/DAV/WebDAVServer.py", line 204, in _HEAD_GET
      self.send_body(data, '200', "OK", "OK", content_type, headers)
    File "/usr/share/pyshared/openerp-server/addons/document_webdav/webdav_server.py", line 184, in send_body
      ctype=ctype, headers=headers)
    File "/usr/lib/pymodules/python2.6/DAV/WebDAVServer.py", line 117, in send_body
      self._append(DATA)
    File "/usr/lib/pymodules/python2.6/DAV/BufferingHTTPServer.py", line 54, in _append
      self.__buffer=self.__buffer+s
  TypeError: cannot concatenate 'str' and 'nodefd_static' objects
  [2011-03-20 13:51:40,476][abc] ERROR:https:code 500, message Internal error

  Of course, the error message comes from the python-webdav package
  (installed version: 0.9.3-6), but I guess the error lies deeper, i.e.
  within OpenERP. Can anyone reproduce this? Any idea what the problem
  could be?

  Thanks for your help
  Tobias Pfeiffer



Follow ups

References