v6 module thunderbird IOError

Bug #610468 reported by GEM
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
High
Kirti Savalia(OpenERP)

Bug Description

after add quotes """ at the end of line 53 in \addons\thunderbird\installer.py, see
https://bugs.launchpad.net/openobject-addons/+bug/610430
you must change the name of plugin thunderbird line 36 :
-file = open(config['addons_path'] + "/thunderbird/plugin/OpenERP_plugin-2.0.xpi", 'r')
+file = open(config['addons_path'] + "/thunderbird/plugin/tiny_plugin-2.0.xpi", 'r')

Revision history for this message
xrg (xrg) wrote : Re: [Bug 610468] [NEW] v6 module thunderbird IOError

On Tuesday 27 July 2010, you wrote:
> after add quotes """ at the end of line 53 in
> \addons\thunderbird\installer.py, see
> https://bugs.launchpad.net/openobject-addons/+bug/610430
> you must change the name of plugin thunderbird line 36 :
> -file = open(config['addons_path'] +
> "/thunderbird/plugin/OpenERP_plugin-2.0.xpi", 'r') +file =
> open(config['addons_path'] + "/thunderbird/plugin/tiny_plugin-2.0.xpi",
> 'r')

Oops, that doesn't seem right, either.. The "config['addons_path']" should
never be accessed like that, because it may possibly contain multiple paths.

I think you should write it like:
 open(get_module_resource('thunderbird','plugin', 'tiny_plugin-2.0.xpi'),
'rb')

Changed in openobject-addons:
assignee: nobody → ksa(OpenERP) (ksa-openerp)
importance: Undecided → High
milestone: none → 6.0
Revision history for this message
Kirti Savalia(OpenERP) (ksa-openerp) wrote :
Revision history for this message
vir (Open ERP) (vir-tinyerp) wrote :

hello

Its solved. check the revision 4270.

Thanks

Changed in openobject-addons:
status: New → 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.