Invalid module name in startup script

Bug #877213 reported by Ronald Portier (Therp)
8
This bug affects 1 person
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
Revision history for this message
Amit Parik (amit-parik) wrote :

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:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.