Bug#448993: new traceback for images

2007-11-05 Thread Didrik Pinte
When connecting, I try to change the database and got the following
error :

[EMAIL PROTECTED]:~$ tinyerp-client 
Traceback (most recent call last):
  File "/usr/lib/tinyerp-client/modules/gui/main.py", line 694, in
sig_login
res = l.run(dbname=dbname, parent=self.window)
  File "/usr/lib/tinyerp-client/modules/gui/main.py", line 162, in run
img.set_from_file(common.terp_path_pixmaps('tinyerp.png'))
TypeError: GtkImage.set_from_file() argument 1 must be string or None,
not bool

It seems there is another problem with images.

Didrik


signature.asc
Description: This is a digitally signed message part


Bug#448993: new traceback

2007-11-05 Thread Didrik Pinte
And the new traceback is the following :

[EMAIL PROTECTED]:~$ tinyerp-client 
Traceback (most recent call last):
  File "./tinyerp-client.py", line 106, in ?
for fname in os.listdir(pix_file):
OSError: [Errno 2] No such file or directory:
'/usr/share/tinyerp-client/icons'


Thus, there are some icons in :

/usr/share/pixmaps :

[EMAIL PROTECTED]:~$ ls -al /usr/share/pixmaps/tiny*
-rw-r--r-- 1 root root  1165 2007-10-31
21:52 /usr/share/pixmaps/tinyerp-client-16.xpm
-rw-r--r-- 1 root root  2642 2007-10-31
21:52 /usr/share/pixmaps/tinyerp-client-32.xpm
-rw-r--r-- 1 root root 10047 2007-10-31
21:52 /usr/share/pixmaps/tinyerp-client-64.xpm
lrwxrwxrwx 1 root root21 2007-11-04
16:59 /usr/share/pixmaps/tinyerp-client.xpm -> tinyerp-client-32.xpm


and in /usr/share/tinyerp-client:

[EMAIL PROTECTED]:~$ ls -al /usr/share/tinyerp-client/
total 684
drwxr-xr-x   3 root root   4096 2007-11-04 16:59 .
drwxr-xr-x 364 root root  12288 2007-11-04 16:59 ..
-rw-r--r--   1 root root268 2007-10-24 11:06 flag.png
-rw-r--r--   1 root root 654437 2007-10-31 12:48 terp.glade
drwxr-xr-x   5 root root   4096 2007-11-04 16:59 themes
-rw-r--r--   1 root root   3421 2007-10-24 11:06 tinyerp_icon.png
-rw-r--r--   1 root root   5010 2007-10-24 11:06 tinyerp.png
-rw-r--r--   1 root root818 2007-10-24 11:06 tipoftheday.txt


But no "icons" directory ... 


Any hint to solve the problem will be very appreciated, my projects are
managed by tinyerp ;-)

Didrik


signature.asc
Description: This is a digitally signed message part