← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 702256] [NEW] [trunk][l10n_cn] Crash on db creation

 

Public bug reported:

Revno 4234

When we create a new database, the server crashes with this traceback (the certificate number in error is the certificate number of the l10n_cn module) :
[2011-01-13 09:34:39,196][test_msf_cashbox] ERROR:web-services:[01]: CREATE DATABASE
[2011-01-13 09:34:39,197][test_msf_cashbox] ERROR:web-services:[02]: Traceback (most recent call last):
[2011-01-13 09:34:39,197][test_msf_cashbox] ERROR:web-services:[03]:   File "/home/tempo/6.0/server/bin/service/web_services.py", line 95, in __call__
[2011-01-13 09:34:39,197][test_msf_cashbox] ERROR:web-services:[04]:     tools.init_db(cr)
[2011-01-13 09:34:39,197][test_msf_cashbox] ERROR:web-services:[05]:   File "/home/tempo/6.0/server/bin/tools/misc.py", line 84, in init_db
[2011-01-13 09:34:39,197][test_msf_cashbox] ERROR:web-services:[06]:     info = addons.load_information_from_description_file(i)
[2011-01-13 09:34:39,198][test_msf_cashbox] ERROR:web-services:[07]:   File "/home/tempo/6.0/server/bin/addons/__init__.py", line 319, in load_information_from_description_file
[2011-01-13 09:34:39,198][test_msf_cashbox] ERROR:web-services:[08]:     return eval(desc_f.read())
[2011-01-13 09:34:39,198][test_msf_cashbox] ERROR:web-services:[09]:   File "/home/tempo/6.0/server/bin/tools/safe_eval.py", line 281, in safe_eval
[2011-01-13 09:34:39,198][test_msf_cashbox] ERROR:web-services:[10]:     return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
[2011-01-13 09:34:39,198][test_msf_cashbox] ERROR:web-services:[11]:   File "/home/tempo/6.0/server/bin/tools/safe_eval.py", line 102, in test_expr
[2011-01-13 09:34:39,198][test_msf_cashbox] ERROR:web-services:[12]:     code_obj = compile(expr, "", mode)
[2011-01-13 09:34:39,199][test_msf_cashbox] ERROR:web-services:[13]:   File "<string>", line 44
[2011-01-13 09:34:39,199][test_msf_cashbox] ERROR:web-services:[14]:      "certificate": '00925445983542952285',
[2011-01-13 09:34:39,199][test_msf_cashbox] ERROR:web-services:[15]:                  ^
[2011-01-13 09:34:39,199][test_msf_cashbox] ERROR:web-services:[16]:  SyntaxError: invalid syntax

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

Title:
  [trunk][l10n_cn] Crash on db creation

Status in OpenObject Addons Modules:
  New

Bug description:
  Revno 4234

  When we create a new database, the server crashes with this traceback (the certificate number in error is the certificate number of the l10n_cn module) :
  [2011-01-13 09:34:39,196][test_msf_cashbox] ERROR:web-services:[01]: CREATE DATABASE
  [2011-01-13 09:34:39,197][test_msf_cashbox] ERROR:web-services:[02]: Traceback (most recent call last):
  [2011-01-13 09:34:39,197][test_msf_cashbox] ERROR:web-services:[03]:   File "/home/tempo/6.0/server/bin/service/web_services.py", line 95, in __call__
  [2011-01-13 09:34:39,197][test_msf_cashbox] ERROR:web-services:[04]:     tools.init_db(cr)
  [2011-01-13 09:34:39,197][test_msf_cashbox] ERROR:web-services:[05]:   File "/home/tempo/6.0/server/bin/tools/misc.py", line 84, in init_db
  [2011-01-13 09:34:39,197][test_msf_cashbox] ERROR:web-services:[06]:     info = addons.load_information_from_description_file(i)
  [2011-01-13 09:34:39,198][test_msf_cashbox] ERROR:web-services:[07]:   File "/home/tempo/6.0/server/bin/addons/__init__.py", line 319, in load_information_from_description_file
  [2011-01-13 09:34:39,198][test_msf_cashbox] ERROR:web-services:[08]:     return eval(desc_f.read())
  [2011-01-13 09:34:39,198][test_msf_cashbox] ERROR:web-services:[09]:   File "/home/tempo/6.0/server/bin/tools/safe_eval.py", line 281, in safe_eval
  [2011-01-13 09:34:39,198][test_msf_cashbox] ERROR:web-services:[10]:     return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
  [2011-01-13 09:34:39,198][test_msf_cashbox] ERROR:web-services:[11]:   File "/home/tempo/6.0/server/bin/tools/safe_eval.py", line 102, in test_expr
  [2011-01-13 09:34:39,198][test_msf_cashbox] ERROR:web-services:[12]:     code_obj = compile(expr, "", mode)
  [2011-01-13 09:34:39,199][test_msf_cashbox] ERROR:web-services:[13]:   File "<string>", line 44
  [2011-01-13 09:34:39,199][test_msf_cashbox] ERROR:web-services:[14]:      "certificate": '00925445983542952285',
  [2011-01-13 09:34:39,199][test_msf_cashbox] ERROR:web-services:[15]:                  ^
  [2011-01-13 09:34:39,199][test_msf_cashbox] ERROR:web-services:[16]:  SyntaxError: invalid syntax





Follow ups

References