GEM, if you are doing your own packagings, maybe something is different in your packaging.
We just tested again installing the official all-in-one packages (nightly builds) on Windows 7, and were able to complete the configuration wizards without error (including hr_timesheet module). Can you try with one of our nightly builds, e.g. http://bit.ly/eqdVIm to see if you can reproduce the error. BTW the 'time' module in "import time" is just the builtin 'time' module of python, nothing else. I suppose you won't find it as a separate file in windows, as it is probably inside the python dll. But technically, doing "import time" will usually try to import other stuff, like the internal "_strptime" module. There is something complicated in the way imports are done inside a safe_eval, and specifically all calls to __import__ are wired to the safe_eval._import() function. So you may want to add debugging in that safe_eval._import() function to see what modules were being imported, as perhaps in your setup, "import time" requires more than being able to "import _strptime", which is the only allowed external module so far, as listed in safe_eval._ALLOWED_MODULES. I hope this will help you track down the issue... More technical stuff about the _strptime module may be found there if you are interested: http://bugs.python.org/issue474274 ** Bug watch added: Python Roundup #474274 http://bugs.python.org/issue474274 -- 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/703841 Title: v6 ImportError: time Status in OpenObject Addons Modules: Incomplete Bug description: Hi, windows vista addons rev 4248 when I install modules with configurator, the configurator don't finish all options (without error popup), I have this error in the server log : [2011-01-17 09:28:40,229][aaaa] INFO:init:module hr_timesheet_sheet: loading test/test_hr_timesheet_sheet.yml [2011-01-17 09:28:40,864][aaaa] ERROR:tests.hr_timesheet_sheet:time Traceback (most recent call last): File "tools\yaml_import.pyo", line 729, in process File "tools\yaml_import.pyo", line 742, in _process_node File "tools\yaml_import.pyo", line 317, in process_record File "tools\yaml_import.pyo", line 330, in _create_record File "tools\yaml_import.pyo", line 391, in _eval_field File "tools\yaml_import.pyo", line 357, in process_eval File "tools\safe_eval.pyo", line 281, in safe_eval File "", line 1, in <module> File "tools\safe_eval.pyo", line 215, in _import ImportError: time [2011-01-17 09:28:40,864][aaaa] ERROR:test:Tests failed to execute in module hr_timesheet_sheet 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 742, in _process_node File "tools\yaml_import.pyo", line 317, in process_record File "tools\yaml_import.pyo", line 330, in _create_record File "tools\yaml_import.pyo", line 391, in _eval_field File "tools\yaml_import.pyo", line 357, in process_eval File "tools\safe_eval.pyo", line 281, in safe_eval File "", line 1, in <module> File "tools\safe_eval.pyo", line 215, in _import ImportError: time 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

