Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159071 - app-office/tinyerp-client installs files to wrong location
Summary: app-office/tinyerp-client installs files to wrong location
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Cédric Krier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-25 05:33 UTC by sian
Modified: 2007-01-25 23:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sian 2006-12-25 05:33:02 UTC
after installation of tinyerp-client-4.0.1.

Launch gives :
(tinyerp-client.py:25351): libglade-WARNING **: could not find glade file '/usr/lib/python2.5/site-packages/t   
inyerp-client/terp.glade'
Traceback (most recent call last):
  File "./tinyerp-client.py", line 141, in <module>
    win = modules.gui.main.terp_main()
  File "/usr/lib/python2.5/site-packages/tinyerp-client/modules/gui/main.py", line 309, in __init__
    self.glade = glade.XML(common.terp_path("terp.glade"),"win_main",gettext.textdomain())
RuntimeError: could not create GladeXML object

In fact, the files terp.glade, tinyerp_icon.png and the directory themes are in
/usr/share/tinyerp-client/

After copying the 2 files and directory in /usr/lib/python2.5/site-packages/tinyerp-client/

It works
Comment 1 Cédric Krier gentoo-dev 2006-12-25 06:08:13 UTC
Fix in cvs
Comment 2 Jean Delattre 2007-01-25 17:09:24 UTC
Very similar bug with tinyerp-client-4.0.2

here it is :

(tinyerp-client.py:15987): libglade-WARNING **: could not find glade file '/usr/lib/python2.4/site-packages/tinyerp-client/terp.glade'
Traceback (most recent call last):
  File "./tinyerp-client.py", line 141, in ?
    win = modules.gui.main.terp_main()
  File "/usr/lib/python2.4/site-packages/tinyerp-client/modules/gui/main.py", line 309, in __init__
    self.glade = glade.XML(common.terp_path("terp.glade"),"win_main",gettext.textdomain())
RuntimeError: could not create GladeXML object
Comment 3 Cédric Krier gentoo-dev 2007-01-25 23:27:53 UTC
Did you check your ~/.terprc ?