Hi, I updated my sources with this revisions : server : 3438 addons : 4631 gtk : 1853 web : 4629
I build installer for windows (with python 2.5), install it on vista. I created a database minimale test. as example, I installed one of modules where I had the problem, survey. the module is installed without interface error. when I open openerp-server.log, I have this (the error still exists) : [2011-06-06 14:47:00,996][test] INFO:init:module survey: loading test/survey_report.yml [2011-06-06 14:47:01,016][test] ERROR:tests.survey: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 "d:\OpenERP 6.0\Server\addons\survey\test\survey_report.yml", line 4, in <module> ImportError: cannot import name test_reports [2011-06-06 14:47:01,016][test] ERROR:test:Tests failed to execute in module survey 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 "d:\OpenERP 6.0\Server\addons\survey\test\survey_report.yml", line 4, in <module> ImportError: cannot import name test_reports [2011-06-06 14:47:01,151][test] INFO:i18n:module survey: loading translation file (fr) for language fr_FR [2011-06-06 14:47:01,153][test] INFO:i18n:loading d:\OpenERP 6.0\Server\addons\survey\i18n\fr.po I don't remember you, you should add double quotes for lines I described here : https://bugs.launchpad.net/openobject-server/+bug/707870?comments=all bye -- 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/741606 Title: v6 ImportError: cannot import name test_reports Status in OpenERP Server: Fix Released Bug description: Hi, there is 2 months I open a bug which has been declared as duplicate of an other, but the problem is it is not the same bug, if you read the title it is explained : https://bugs.launchpad.net/openobject-server/+bug/707870?comments=all There is actually 11 errors in my server log see attachment. I find a solution in my previous bug report and has not be tested/seen to solve the problem : just adding double quotes for lines by example : I tested with product/test/product_report.yml : "from tools import test_reports" "test_reports.try_report_action(cr, uid, 'action_product_price_list',wiz_data=data_dict, context=ctx, our_module='product')" and there is not error in logs like actually : [2011-03-24 10:57:13,558][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 "d:\OpenERP 6.0\Server\addons\product\test\product_report.yml", line 9, in <module> ImportError: cannot import name test_reports Bye _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

