Comment 6 for bug 674231

Revision history for this message
François Pinard (fpinard) wrote :

Hi, people. The status now says "Fix Committed", but I'm not sure if the problem, as reported above, is fully solved.

A few days ago, I did:

   bzr launchpad-login pinard
   mkdir /usr/local/src/openerp6-trunk
   cd /usr/local/src/openerp6-trunk
   bzr clone lp:~openerp/openobject-client/trunk client

and this morning, just dit:

  cd /usr/local/src/openerp6-trunk/client
  bzr update

to get:

  Tree is up to date at revision 1777 of branch /usr/local/src/openerp6-trunk/client

Is that the proper revision including the fix? (I'm not much familiar with Bazaar) Presuming yes, "python setup.py install" ran flawlessly, so far that I can say, so an improvement definitely occurred. However, calling "openerp-client" prints:

  OpenERP Setup - The content of this file is generated at the install stage

as priorly reported in this thread. Changing /usr/local/bin/openerp-client so it reads (as suggested earlier in this thread) by:

  #!/bin/sh
  cd /usr/local/lib/python2.6/dist-packages/openerp-client
  exec /usr/bin/python ./openerp-client.py $@

and removing ~/.openerprc so it gets regenerated, gets "openerp-client" to print:

  WARNING:common.options:Config file /home/pinard/.openerprc does not exist !
  CRITICAL:init:Impossible d'ouvrir le fichier « openerp-icon.png » : Aucun fichier ou dossier de ce type
  CRITICAL:init:Ensure that the file /home/pinard/.openerprc is correct

In ~/.openerprc, I still have to change lines:

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

so they read (as reported earlier in this thread):

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

So, the ~/.openerprc file is not correctly generated.

Am I really testing the installed fix? If not, would you advise me about how to proceed?

Thanks for your attention. François