c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #13935
[Bug 707870] [NEW] v6 ImportError: cannot import name test_reports
Public bug reported:
hi,
windows vista
v6
server rev : 3320
addons rev : 4354
when I create a database using configurator, checking all applications, in server's log I have this error :
ImportError: cannot import name test_reports
[2011-01-26 09:43:02,822][admin] INFO:init:module product: loading product_demo.xml
[2011-01-26 09:43:13,479][admin] INFO:init:module product: loading test/product_report.yml
[2011-01-26 09:43:13,509][admin] ERROR:tests.product:cannot import name test_reports
Traceback (most recent call last):
File "tools\yaml_import.pyo", line 729, in process
File "tools\yaml_import.pyo", line 744, in _process_node
File "tools\yaml_import.pyo", line 414, in process_python
File "C:\Program Files\OpenERP 6.0\Server\addons\product\test\product_report.yml", line 9, in <module>
ImportError: cannot import name test_reports
[2011-01-26 09:43:13,509][admin] ERROR:test:Tests failed to execute in module product
Traceback (most recent call last):
File "addons\__init__.pyo", line 670, in load_test
File "addons\__init__.pyo", line 693, in _load_data
File "tools\yaml_import.pyo", line 794, in yaml_import
File "tools\yaml_import.pyo", line 729, in process
File "tools\yaml_import.pyo", line 744, in _process_node
File "tools\yaml_import.pyo", line 414, in process_python
File "C:\Program Files\OpenERP 6.0\Server\addons\product\test\product_report.yml", line 9, in <module>
ImportError: cannot import name test_reports
if I had in server/bin/tools/safe_eval/__init__.py
import test_reports
the error disappear
bye
** Affects: openobject-server
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/707870
Title:
v6 ImportError: cannot import name test_reports
Status in OpenERP Server:
New
Bug description:
hi,
windows vista
v6
server rev : 3320
addons rev : 4354
when I create a database using configurator, checking all applications, in server's log I have this error :
ImportError: cannot import name test_reports
[2011-01-26 09:43:02,822][admin] INFO:init:module product: loading product_demo.xml
[2011-01-26 09:43:13,479][admin] INFO:init:module product: loading test/product_report.yml
[2011-01-26 09:43:13,509][admin] ERROR:tests.product:cannot import name test_reports
Traceback (most recent call last):
File "tools\yaml_import.pyo", line 729, in process
File "tools\yaml_import.pyo", line 744, in _process_node
File "tools\yaml_import.pyo", line 414, in process_python
File "C:\Program Files\OpenERP 6.0\Server\addons\product\test\product_report.yml", line 9, in <module>
ImportError: cannot import name test_reports
[2011-01-26 09:43:13,509][admin] ERROR:test:Tests failed to execute in module product
Traceback (most recent call last):
File "addons\__init__.pyo", line 670, in load_test
File "addons\__init__.pyo", line 693, in _load_data
File "tools\yaml_import.pyo", line 794, in yaml_import
File "tools\yaml_import.pyo", line 729, in process
File "tools\yaml_import.pyo", line 744, in _process_node
File "tools\yaml_import.pyo", line 414, in process_python
File "C:\Program Files\OpenERP 6.0\Server\addons\product\test\product_report.yml", line 9, in <module>
ImportError: cannot import name test_reports
if I had in server/bin/tools/safe_eval/__init__.py
import test_reports
the error disappear
bye
Follow ups
-
[Bug 707870] Re: v6 ImportError: cannot import name test_reports
From: GEM, 2011-01-27
-
[Bug 707870] Re: v6 ImportError: cannot import name test_reports
From: Azazahmed Saiyed (OpenERP), 2011-01-27
-
[Bug 707870] Re: v6 ImportError: cannot import name test_reports
From: GEM, 2011-01-26
-
[Bug 707870] Re: v6 ImportError: cannot import name test_reports
From: GEM, 2011-01-26
-
[Bug 707870] Re: v6 ImportError: cannot import name test_reports
From: GEM, 2011-01-26
-
[Bug 707870] Re: v6 ImportError: cannot import name test_reports
From: GEM, 2011-01-26
-
[Bug 707870] Re: v6 ImportError: cannot import name test_reports
From: GEM, 2011-01-26
-
[Bug 707870] Re: v6 ImportError: cannot import name test_reports
From: GEM, 2011-01-26
-
[Bug 707870] Re: v6 ImportError: cannot import name test_reports
From: GEM, 2011-01-26
-
[Bug 707870] Re: v6 ImportError: cannot import name test_reports
From: GEM, 2011-01-26
-
[Bug 707870] Re: v6 ImportError: cannot import name test_reports
From: GEM, 2011-01-26
-
[Bug 707870] Re: v6 ImportError: cannot import name test_reports
From: GEM, 2011-01-26
-
[Bug 707870] [NEW] v6 ImportError: cannot import name test_reports
From: GEM, 2011-01-26
References