openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #22725
[Bug 1055572] Re: no error when loading a custom module with a syntax error
I have the same issue , i think is a problem of old python versions, the
error is on ast.py module of core Python. The error happens for me on
python 2.6 with ast.__version__ = 62047. Doesn't happens when have
Python 2.7 on Fedora. I will Try on a virtualenv and share the results
when done.
--
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/1055572
Title:
no error when loading a custom module with a syntax error
Status in OpenERP Server:
Confirmed
Bug description:
When creating a new custom module, if there is a syntax error there is no way to determine why the module was not loaded. For example:
{
"name": "OpenAcademy",
"version": "1.0",
"depends": ["base"],
"author": "Author Name",
"category": "Category",
"description": """Description text""",
"data", [],
"demo": [],
"test": [],
"installable": True,
"auto_install": False,
}
When you go to update the module list and it will not be listed. Also
when running the server with debug on, you will not see any errors.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1055572/+subscriptions
References