← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 708506] Re: [6.0.1] Caldav export error

 

*** This bug is a duplicate of bug 673960 ***
    https://bugs.launchpad.net/bugs/673960

** This bug has been marked a duplicate of bug 673960
   Trunk Calendar ICS export Appication error -NameError: name 'dctx_user_id' is not defined
 * You can subscribe to bug 673960 by following this link: https://bugs.launchpad.net/openobject-addons/+bug/673960/+subscribe

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

Title:
  [6.0.1] Caldav export error

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  Hello,
  I just upgrade my ERP to the last trunk version. Then, I created a new database. Now, I'm trying to export a calendar (.ics export) but when clicking on the button, here's what I get :

  Environment Information : 
  System : Windows-XP-5.1.2600-SP3
  OS Name : nt
  Operating System Release : XP
  Operating System Version : 5.1.2600
  Operating System Architecture : 32bit
  Operating System Locale : fr_CH.cp1252
  Python Version : 2.5.2
  OpenERP-Client Version : 6.0.1
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/caldav/wizard/calendar_event_export.py", line 52, in default_get
      calendar = model_obj.export_cal(cr, uid, context['active_ids'], context=context)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/caldav/calendar.py", line 680, in export_cal
      domain = eval(line.domain or '[]', context)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/safe_eval.py", line 281, in safe_eval
      return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
    File "", line 1, in <module>
  NameError: name 'dctx_user_id' is not defined





References