v6 client crash at startup

Bug #640335 reported by GEM
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

Hi,
for client gtk windows
just a problem of library or dll which is called and which is not in library.zip or other path :

see client log :

Traceback (most recent call last):
  File "openerp-client.py", line 62, in <module>
ImportError: No module named glib

line 62 :
from glib import GError

glib is present in gtk library, but seems to be not compiled for windows (just file.h), same think for pyglib (no easy_install possible).

Revision history for this message
Diego Abad (dabada83) wrote :

I have the same error. I created a windows installer of client trunk.

Revision history for this message
GEM (nimp3) wrote :

for the moment,
change line 62 :
from glib import GError
to
#from glib import GError
and the client works

Revision history for this message
Diego Abad (dabada83) wrote :

but when I try to open a form view for any object from a one2many list,
the client fails. I see the code and I think that problem is version of pygtk.
The windows client use pygtk 2.12 and the function set_action_area works
only for pygtk2.14 +

Revision history for this message
GEM (nimp3) wrote :

Hi Diego, can you give me a real case you done to crash the client (where can I test a o2m list?) and the log, I will test with my version.
thanks
bye

Revision history for this message
Diego Abad (dabada83) wrote :

The error is when I create a windows installer for trunk gtk, revno 1572, but I think that
there is no error on client, the solution should be compiling gtk with newer
versions of gtk and pygtk libraries

Revision history for this message
GEM (nimp3) wrote :

Hi Diego,
your're right, I had confirmation of this, and more, at least package client gtk v6 for windows will be build using python 2.6 (due to this problem, and compatibility with some modules like outlook which need python 2.6).
It is in developpement (test to have list of all good libraries to use).
Bye

Revision history for this message
GEM (nimp3) wrote :

Hi
glib error has been corrected,
the second error is posted here :
https://bugs.launchpad.net/openobject-client/+bug/663018
bug can be closed.
Bye

Changed in openobject-client:
status: New → Fix Released
milestone: none → 6.0
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.