Comment 9 for bug 484657

Tanel Kurvits (tanel-kurvits) wrote :

Noup it is NOT fixed!
Client 5.0.15
Ubuntu 10.10

Notice Trunk 6.0 RC2 seems have same type bug!!!

Traceback (most recent call last):
  File "./openerp-client.py", line 103, in <module>
    import modules
  File "/usr/local/lib/python2.6/dist-packages/openerp_client-6.0.0_rc2-py2.6.egg/openerp-client/modules/__init__.py", line 24, in <module>
    import action
  File "/usr/local/lib/python2.6/dist-packages/openerp_client-6.0.0_rc2-py2.6.egg/openerp-client/modules/action/__init__.py", line 22, in <module>
    import main
  File "/usr/local/lib/python2.6/dist-packages/openerp_client-6.0.0_rc2-py2.6.egg/openerp-client/modules/action/main.py", line 34, in <module>
    from widget.view.form_gtk.many2one import dialog
  File "/usr/local/lib/python2.6/dist-packages/openerp_client-6.0.0_rc2-py2.6.egg/openerp-client/widget/view/form_gtk/__init__.py", line 22, in <module>
    from parser import *
  File "/usr/local/lib/python2.6/dist-packages/openerp_client-6.0.0_rc2-py2.6.egg/openerp-client/widget/view/form_gtk/parser.py", line 915, in <module>
    import image
  File "/usr/local/lib/python2.6/dist-packages/openerp_client-6.0.0_rc2-py2.6.egg/openerp-client/widget/view/form_gtk/image.py", line 36, in <module>
    REQUIRED_IMG = file(common.terp_path_pixmaps("image_required.png"), 'rb').read()
IOError: [Errno 2] No such file or directory: 'image_required.png'

Updated workaround for stable 5.0.15:

#!/bin/bash
sudo mkdir /usr/local/share/openerp-client/pixmaps
sudo ln -s /usr/local/share/pixmaps/openerp-client/* /usr/local/share/openerp-client/pixmaps/