client crashes at startup

Bug #885098 reported by Olivier Laurent (Open ERP)
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Invalid
High
OpenERP sa GTK client R&D

Bug Description

Since a few days (mid october I think) the trunk gtk client does not start. here is the traceback:

Traceback (most recent call last):
  File "./openerp-client.py", line 132, in <module>
    win = modules.gui.main.terp_main()
  File "/home/oli/work/bzr_repos/trunk/client/bin/modules/gui/main.py", line 685, in __init__
    self.ui = openerp_gtk_builder('openerp.ui', ['win_main', 'accelgroup1'])
  File "/home/oli/work/bzr_repos/trunk/client/bin/common/common.py", line 230, in openerp_gtk_builder
    ui.add_objects_from_file(terp_path(openerp_file), objects)
AttributeError: 'gtk.Builder' object has no attribute 'add_objects_from_file'

This is probably because of revision 1972 ("replacing the gtk.glade (deprecated) by gtk.Builder").

If i update my tree to revision 1971, the client starts normally.

I'm running gtk version '2.16.1'

Thank you.

Changed in openobject-client:
importance: Undecided → High
status: New → Confirmed
assignee: nobody → OpenERP sa GTK client R&D (openerp-dev-gtk)
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello Olivier,

Can you please be more specific with your environment. like the platform you are on, version of your OS and so on.
such bugs requires this information to get to the root.

Regards,

Revision history for this message
Olivier Laurent (Open ERP) (olt) wrote :

OS: Ubuntu 10.04
arch: x86_64
python: 2.6.2
gtk.ver: (2, 16, 1)

Tell me if you need other information.

Revision history for this message
Xavier ALT (dex-phx) wrote :

Hi Olivier,

I just tested with a clean VM, and I'm not able to reproduce your problem.

Could you indicate more precisely what you did when the issue appears ? (did that appens when at client startup?)

Note:
$> bzr log -l1 --show-ids
revno: 2007
revision-id: <email address hidden>
parent: <email address hidden>
committer: Naresh(OpenERP) <email address hidden>
branch nick: trunk
timestamp: Mon 2011-11-21 18:14:59 +0530
message:
  [FIX]:removed the default installation path c:\GTK

$> lsb_release -av
Distributor ID: Ubuntu
Description: Ubuntu 10.04 LTS
Release: 10.04
Codename: lucid

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

Hello Olivier,

This does not seems to be reproducible ! Also the the gtk version you specified has been shipped with ubuntu 9.04 as stated here http://distrowatch.com/table.php?distribution=ubuntu.
for the sake of clarity on LP I am marking this bug as invalid please reopen if you find a real cause to reproduce it.
Regards,

Changed in openobject-client:
status: Confirmed → Invalid
Revision history for this message
paragasu (paragasu) wrote :

I am using Debian Wheezy and i encounter the exact same problem. Downloading the openerp_client-6.1.1.tar.gz and doing the #./setup.py install
$openerp-client will produce that problem

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.