c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #35144
[Bug 877213] Re: Invalid module name in startup script
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.
** Changed in: openobject-server
Importance: Undecided => Wishlist
** Changed in: openobject-server
Status: New => Confirmed
** Changed in: openobject-server
Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/877213
Title:
Invalid module name in startup script
Status in OpenERP Server:
Confirmed
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"?
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/877213/+subscriptions
References