← Back to team overview

openerp-india team mailing list archive

[Bug 1099718] Re: [7.0]OpenERP crash tools safe eval

 

Same here:
2013-01-30 21:02:40,126 16271 ERROR mh01_OE7 openerp.addons.base_action_rule.base_action_rule: Traceback (most recent call last):
  File "/home/openerp/openerp/openerp/addons/base_action_rule/base_action_rule.py", line 253, in _check
    self._process(cr, uid, action, [record.id], context=context)
  File "/home/openerp/openerp/openerp/addons/base_action_rule/base_action_rule.py", line 115, in _process
    action_server_obj.run(cr, uid, server_action_ids, context=ctx)
  File "/home/openerp/openerp/openerp/addons/base/ir/ir_actions.py", line 611, in run
    eval(action.code, cxt, mode="exec", nocopy=True) # nocopy allows to return 'action'
  File "/home/openerp/openerp-7.0-20130127-000101/openerp/tools/safe_eval.py", line 241, in safe_eval
    return eval(test_expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
  File "/home/openerp/openerp-7.0-20130127-000101/openerp/tools/safe_eval.py", line 107, in test_expr
    code_obj = compile(expr, "", mode)
  File "<string>", line 3
    
   ^
IndentationError: unexpected indent

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1099718

Title:
  [7.0]OpenERP crash tools safe eval

Status in OpenERP Server:
  New

Bug description:
  After install of sales, OpenERP show errors at list of sales team.

  Windows Server 2008 R2 (Chrome 23)
  OpenERP Version: 7.0-20130114-001605

  Report Bug:

  2013-01-15 09:30:39,453 1544 ERROR desarrollo openerp.tools.safe_eval: Cannot eval u"sales_team = self.pool.get('ir.model.data').get_object(cr, uid, 'crm', 'section_sales_department')\nobject.write({'section_id': sales_team.id})\n            "
  Traceback (most recent call last):
    File "C:\Program Files (x86)\OpenERP\Server\server\.\openerp\tools\safe_eval.py", line 241, in safe_eval
    File "C:\Program Files (x86)\OpenERP\Server\server\.\openerp\tools\safe_eval.py", line 107, in test_expr
    File "<string>", line 3

      ^
   IndentationError: unexpected indent
  2013-01-15 09:30:39,453 1544 ERROR desarrollo openerp.addons.base_action_rule.base_action_rule: Traceback (most recent call last):
    File "C:\Program Files (x86)\OpenERP\Server\server\openerp\addons\base_action_rule\base_action_rule.py", line 253, in _check
    File "C:\Program Files (x86)\OpenERP\Server\server\openerp\addons\base_action_rule\base_action_rule.py", line 115, in _process
    File "C:\Program Files (x86)\OpenERP\Server\server\openerp\addons\base\ir\ir_actions.py", line 611, in run
    File "C:\Program Files (x86)\OpenERP\Server\server\.\openerp\tools\safe_eval.py", line 241, in safe_eval
    File "C:\Program Files (x86)\OpenERP\Server\server\.\openerp\tools\safe_eval.py", line 107, in test_expr
    File "<string>", line 3

     ^
  IndentationError: unexpected indent

  2013-01-15 09:30:39,454 1544 ERROR desarrollo openerp.tools.safe_eval: Cannot eval u"sales_team = self.pool.get('ir.model.data').get_object(cr, uid, 'crm', 'section_sales_department')\nobject.write({'section_id': sales_team.id})\n            "
  Traceback (most recent call last):
    File "C:\Program Files (x86)\OpenERP\Server\server\.\openerp\tools\safe_eval.py", line 241, in safe_eval
    File "C:\Program Files (x86)\OpenERP\Server\server\.\openerp\tools\safe_eval.py", line 107, in test_expr
    File "<string>", line 3

      ^
   IndentationError: unexpected indent
  2013-01-15 09:30:39,454 1544 ERROR desarrollo openerp.addons.base_action_rule.base_action_rule: Traceback (most recent call last):
    File "C:\Program Files (x86)\OpenERP\Server\server\openerp\addons\base_action_rule\base_action_rule.py", line 253, in _check
    File "C:\Program Files (x86)\OpenERP\Server\server\openerp\addons\base_action_rule\base_action_rule.py", line 115, in _process
    File "C:\Program Files (x86)\OpenERP\Server\server\openerp\addons\base\ir\ir_actions.py", line 611, in run
    File "C:\Program Files (x86)\OpenERP\Server\server\.\openerp\tools\safe_eval.py", line 241, in safe_eval
    File "C:\Program Files (x86)\OpenERP\Server\server\.\openerp\tools\safe_eval.py", line 107, in test_expr
    File "<string>", line 3

     ^
  IndentationError: unexpected indent

  2013-01-15 09:30:39,457 1544 ERROR desarrollo openerp.tools.safe_eval: Cannot eval u"sales_team = self.pool.get('ir.model.data').get_object(cr, uid, 'crm', 'section_sales_department')\nobject.write({'section_id': sales_team.id})\n            "
  Traceback (most recent call last):
    File "C:\Program Files (x86)\OpenERP\Server\server\.\openerp\tools\safe_eval.py", line 241, in safe_eval
    File "C:\Program Files (x86)\OpenERP\Server\server\.\openerp\tools\safe_eval.py", line 107, in test_expr
    File "<string>", line 3

      ^
   IndentationError: unexpected indent
  2013-01-15 09:30:39,457 1544 ERROR desarrollo openerp.addons.base_action_rule.base_action_rule: Traceback (most recent call last):
    File "C:\Program Files (x86)\OpenERP\Server\server\openerp\addons\base_action_rule\base_action_rule.py", line 253, in _check
    File "C:\Program Files (x86)\OpenERP\Server\server\openerp\addons\base_action_rule\base_action_rule.py", line 115, in _process
    File "C:\Program Files (x86)\OpenERP\Server\server\openerp\addons\base\ir\ir_actions.py", line 611, in run
    File "C:\Program Files (x86)\OpenERP\Server\server\.\openerp\tools\safe_eval.py", line 241, in safe_eval
    File "C:\Program Files (x86)\OpenERP\Server\server\.\openerp\tools\safe_eval.py", line 107, in test_expr
    File "<string>", line 3

     ^
  IndentationError: unexpected indent

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1099718/+subscriptions


References