openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #22507
[Bug 1108929] Re: 'import test' fails
Yes, the openerp/test directory was removed in revision 4669. The fact
openerp/run_tests imported that submodule was overlooked. It didn't
break on the author machine presumably because he has a standard Python
module also called test.
So the fix is to simply delete run_tests.py and remove the corresponding
import statement in openerp/__init__.py.
--
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/1108929
Title:
'import test' fails
Status in OpenERP Server:
New
Bug description:
I'm trying to do a fresh install of openerp 7.0, by getting the 7.0
branch from the bazar repo on launchpad.
When I start the server I get the following error:
# ./openerp-server
Traceback (most recent call last):
File "./openerp-server", line 2, in <module>
import openerp
File "/usr/local/openerp/7.0/server/openerp/__init__.py", line 38, in <module>
import run_tests
File "/usr/local/openerp/7.0/server/openerp/run_tests.py", line 24, in <module>
import test
ImportError: No module named test
There is no module test, nor a test.py in .../server/openerp/ ?
There isn't one in
http://nightly.openerp.com/7.0/nightly/src/openerp-7.0-20130129-000102.tar.gz
either. When I look in an older alpha version:
openerp-7.0alpha-20121206-000102.tar.gz there is however a
.../openerp/test/ module.
Am I doing something wrong, because no one else seems to have noticed
this?
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1108929/+subscriptions
References