← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 673960] Re: Trunk Calendar ICS export Appication error -NameError: name 'dctx_user_id' is not defined

 

enable to reproduce with the last trunk

** Changed in: openobject-addons
       Status: Confirmed => Triaged

** Changed in: openobject-addons
       Status: Triaged => 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/673960

Title:
  Trunk Calendar ICS export Appication error -NameError: name 'dctx_user_id' is not defined

Status in OpenObject Addons Modules:
  Invalid

Bug description:
  
This is the result of ics export buton:

Environment Information : 
System : Linux-2.6.32-21-generic-x86_64-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04 LTS
Release:	10.04
Codename:	lucid
Operating System Release : 2.6.32-21-generic
Operating System Version : #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : en_US.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1681 nch@xxxxxxxxxxx-20101110124734-6b8utgdj443zqobe
Traceback (most recent call last):
  File "/home/chanon/OPENERP/openerp-TRUNK/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/chanon/OPENERP/openerp-TRUNK/server/bin/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/home/chanon/OPENERP/openerp-TRUNK/server/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/chanon/OPENERP/openerp-TRUNK/server/bin/osv/osv.py", line 140, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/chanon/OPENERP/openerp-TRUNK/server/bin/osv/osv.py", line 130, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/chanon/OPENERP/openerp-TRUNK/server/bin/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 "/home/chanon/OPENERP/openerp-TRUNK/server/bin/addons/caldav/calendar.py", line 666, in export_cal
    domain = eval(line.domain or '[]', context)
  File "/home/chanon/OPENERP/openerp-TRUNK/server/bin/tools/safe_eval.py", line 272, 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