tinyerp-client fails on startup

Bug #203906 reported by Cleber Santz
This bug report is a duplicate of:  Bug #179087: tinyerp-client doesn't start. Edit Remove
20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tinyerp-client (Ubuntu)
New
Undecided
Unassigned

Bug Description

The program tinyerp-client fails on startup

$ tinyerp-client
Traceback (most recent call last):
  File "./tinyerp-client.py", line 93, in <module>
    import modules
  File "/usr/lib/tinyerp-client/modules/__init__.py", line 30, in <module>
    import gui
  File "/usr/lib/tinyerp-client/modules/gui/__init__.py", line 29, in <module>
    import main
  File "/usr/lib/tinyerp-client/modules/gui/main.py", line 40, in <module>
    import rpc
  File "/usr/lib/tinyerp-client/rpc.py", line 37, in <module>
    import common
  File "/usr/lib/tinyerp-client/common/__init__.py", line 29, in <module>
    from common import *
  File "/usr/lib/tinyerp-client/common/common.py", line 68, in <module>
    terp_path_pixmaps('tinyerp-icon-32x32.png'))
TypeError: pixbuf_new_from_file() argument 1 must be string, not bool

Revision history for this message
Cleber Santz (clebersantz) wrote :

$ uname -a
Linux clbr 2.6.24-12-generic #1 SMP Wed Mar 12 23:01:54 UTC 2008 i686 GNU/Linux

$ cat /proc/version_signature
Ubuntu 2.6.24-12.22-generic

Revision history for this message
didi (db-urorg) wrote :

hi haf fix it:
you must install a older version like 4.0* and copy the /usr/share/pixmaps/tinyerp-client to (example) home directory.
remove your version 4.0*
after install the 4.2 version, you copy the tinyerp-client directory to the /usr/share/pixmaps/ !
thats it
sorry for my bad english ;)

i give the copy from the direktory to the attacment, so you dont need to install a older version, just copy to /usr/share/pixmaps/!
please unpack!

Revision history for this message
Roland Giesler (lifeboy) wrote :

This fix does not seem to work on Hardy. What is actually broken in the package? Is it a faulty pixmap, is the location of the file incorrect (in my 4.2.0 installation there was no /usr/share/pixmap/tinyerp-client directory) or is it something else? I did copy the files did attached into that directory, but it makes no difference.

I also had a look as the source file /usr/lib/tinyerp-client/common/common.py (line 68), but I don't know the language well enough to figure out where the problem is.

Revision history for this message
opix (wgs) wrote :

Roland, you have to change group permission of tinyerp-client folder :
$sudo chmod o=+r /usr/share/pixmaps/tinyerp-client -R

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.