Module installs fail silently

Bug #541003 reported by Maximilian Gaß
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Wishlist
Unassigned

Bug Description

if installing a module fails due to some error, the error is not displayed to the user but only written to the log.

Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

Linux or Windows ?

Thanks

Revision history for this message
Maximilian Gaß (mxey) wrote :

Debian GNU/Linux. Also, I am using the GTK+ client.

Revision history for this message
gpa(OpenERP) (gpa-openerp) wrote :

Hello,

Can you provide more information regarding module fail?Please provide me name of module.
Are you using stable or trunk?

Thanks.

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Maximilian Gaß (mxey) wrote :

It was a custom module developed by us. But which module is not relevant, it is a generic problem that exceptions during module install are not properly caught and displayed to the user.

Revision history for this message
Ana Juaristi Olalde (ajuaristio) wrote : Re: [Bug 541003] Re: Module installs fail silently

I agree with maximilian. If you install a module that is crashing, the
client is not showing the error but on client log you can see it. That's not
happening once the module is installed. On that case the error is shown to
user. I think the second way is much better, since sometimes user has no
possibility to access log files.

Thank you!!

Ana

2010/3/19 Maximilian Gass <email address hidden>

> It was a custom module developed by us. But which module is not
> relevant, it is a generic problem that exceptions during module install
> are not properly caught and displayed to the user.
>
> --
> Module installs fail silently
> https://bugs.launchpad.net/bugs/541003
> You received this bug notification because you are subscribed to
> OpenObject Addons.
>
> Status in OpenObject Addons Modules: Incomplete
>
> Bug description:
> if installing a module fails due to some error, the error is not displayed
> to the user but only written to the log.
>
>
>

--
Ana Juaristi Olalde
Consultor Freelance OpenERP
www.anajuaristi.com
www.openerpsite.com
www.avanzosc.com
677 93 42 59 - 943 85 06 25

affects: openobject-addons → openobject-server
Changed in openobject-server:
status: Incomplete → New
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Hello Maximilian,

Things have improved in this area in trunk (future 6.0), but such improvement cannot be done in stable versions.
Could you try with the latest version and see if your specific case is better handled?

Otherwise, please provide a traceback of the error or a minimalist example to reproduce the error, so we know for sure which sort of exception you are talking about (e.g. XML validation, view definitions, python errors, etc.)

Thanks!

PS: You may reset the bug status to New once you have provided that information, by the way.

Changed in openobject-server:
status: New → Incomplete
Revision history for this message
Maximilian Gaß (mxey) wrote :

Sorry, but why can't you add a proper exception handler in a stable version?

Changed in openobject-server:
assignee: nobody → Jay (OpenERP) (jvo-openerp)
status: Incomplete → Triaged
Revision history for this message
Antony Lesuisse (OpenERP) (al-openerp) wrote :

Tested in 6.1, by inserting a "raise 1" into the code of a module. I get the traceback from the web client when installing.

Changed in openobject-server:
assignee: Jay Vora (jayvora) → nobody
importance: Undecided → Wishlist
status: Triaged → Fix Released
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.