← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 712018] Re: Couldn't run do_REPORT caldav

 

Hello,

Would you please check this with latest updated code.
For now I am closing this bug.

If you still faced the problem than you can reopen this again with more
information .

Thanks for understanding!

** Changed in: openobject-addons
       Status: Expired => Invalid

-- 
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/712018

Title:
  Couldn't run do_REPORT caldav

Status in OpenERP Modules (addons):
  Invalid

Bug description:
  Environment: Ubuntu 10.10 64 bits - OpenERPversion 6, revision-addons:
  4402

  This trackbasck appears when i create a calendar in Thunderbird to
  synchro with caldav.

  ERROR:http:Could not run do_REPORT
  Traceback (most recent call last):
    File "/home/amosoviedo/openerp6/openobject-server/bin/service/websrv_lib.py", line 299, in _handle_one_foreign
      method()
    File "/usr/lib/pymodules/python2.6/DAV/WebDAVServer.py", line 364, in do_REPORT
      DATA = '%s\n' % rp.createResponse()
    File "/usr/lib/pymodules/python2.6/DAV/propfind.py", line 93, in createResponse
      df = self.create_prop()
    File "/home/amosoviedo/openerp6/openobject-addons/document_webdav/webdav.py", line 333, in create_prop
      return super_create_prop(self)
    File "/usr/lib/pymodules/python2.6/DAV/report.py", line 120, in create_prop
      gp,bp=self.get_propvalues(newuri)
    File "/usr/lib/pymodules/python2.6/DAV/propfind.py", line 350, in get_propvalues
      r=ddc.get_prop(uri,ns,prop)
    File "/home/amosoviedo/openerp6/openobject-addons/document_webdav/dav_fs.py", line 308, in get_prop
      res = node.get_dav_eprop(cr, ns, propname)
    File "/home/amosoviedo/openerp6/openobject-addons/document/nodes.py", line 340, in get_dav_eprop
      r = m(cr)
    File "/home/amosoviedo/openerp6/openobject-addons/caldav/caldav_node.py", line 475, in _get_caldav_calendar_data
      return self.get_data(cr)
    File "/home/amosoviedo/openerp6/openobject-addons/caldav/caldav_node.py", line 471, in get_data
      res = calendar_obj.export_cal(cr, uid, [self.calendar_id], context=context)
    File "/home/amosoviedo/openerp6/openobject-addons/caldav/calendar.py", line 690, in export_cal
      self.create_ics(cr, uid, datas, line.name, ical, context=context)
    File "/home/amosoviedo/openerp6/openobject-addons/caldav/calendar.py", line 390, in create_ics
      data[map_field], vevent, context=context)
    File "/home/amosoviedo/openerp6/openobject-addons/caldav/calendar.py", line 1286, in export_cal
      cn_val = [str(attendee[a_val['field']])]
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 2: ordinal not in range(128)

  Thanks


References