c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #35049
[Bug 877213] [NEW] Invalid module name in startup script
Public bug reported:
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"?
** Affects: openobject-server
Importance: Undecided
Status: New
** Description changed:
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 of course and in the web module. And
- would it not be better ot have these scripts always within the bin
+ 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"?
--
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:
New
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
Follow ups
References