← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 484657] Re: With Ubuntu Karmic: pixmaps location, RC files get wrong location!

 

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/

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/484657

Title:
  With Ubuntu Karmic: pixmaps location,RC files get wrong location!

Status in OpenObject GTK Client:
  Confirmed
Status in OpenObject Server:
  Confirmed

Bug description:
  Kubuntu 9.10

  1. We try start it.
  ./openerp-client

  2. We get error:

  :/usr/share/openerp-client# ./openerp-client
  CRITICAL:init:Failed to open file 'openerp-icon.png': No such file or directory
  CRITICAL:init:Ensure that the file /root/.openerprc is correct

  3. Ok we look what is in /root/.openerprc

  pixmaps = /usr/share/pixmaps/openerp-client

  4. Lets search where that png is OUCH!
  /usr/local/share/pixmaps/openerp-client

  5. Ok not big deal but OPEN ERP highest priority is bug-free stable
  releases then its already big deal.