Invalid module name in startup script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP's Framework R&D |
Bug Description
The name used for the startup module of the openerp server, "openerp-server" is in fact an invalid module name, because of the hypen. It is actually worse then in previous versions of openerp, because it is also missing the .py extension. Both of these lead to problems when loading openerp source code in development tools that care about these things, like pydev.
This is the message from pydev:
"Invalid name for Python module: openerp-client (it'll not be analyzed)"
Now that in 6.1 the position and name of the startup module is changing anyway, why not rename it to openerp_server.py?
The same occurs also in the client ofcourse and in the web module. And would it not be better to have these scripts always within the bin directory (IMHO this would be preferable), or alternatively always in the "root"?
description: | updated |
Hello Ronald,
This is not a bug but it's your suggestion as well as improvement.
So we will consider this as a feature request that's why currently I am setting this as a "Wishlist" .
Thanks.