← Back to team overview

openerp-india team mailing list archive

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

 

I'm see is not support special characters in XML or Python.

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