Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 250188

Summary: app-emulation/qemulator-0.5: could not find glade file '/usr/lib64/qemulator/lib/qemulator/qemulator.glade'
Product: Gentoo Linux Reporter: Dominique Michel <dominique.c.michel>
Component: Current packagesAssignee: Luca Barbato <lu_zero>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info result
patch for amd64 arch
new ebuild for amd64 arch

Description Dominique Michel 2008-12-07 16:13:24 UTC
When runing qemulator, some dialogs like the preferences fails to open, and I get messages in the console like :

(qemulator:17500): libglade-WARNING **: could not find glade file '/usr/lib64/qemulator/lib/qemulator/qemulator.glade'
Traceback (most recent call last):
  File "/usr/bin/qemulator", line 4254, in open_settings
    self.settingsdialog = qml_configuration.Configuration(self.settings_callback)
  File "/usr/lib64/qemulator/qml_configuration.py", line 119, in __init__
    self.dialog_settings = gtk.glade.XML(self.gladefile, "dialog_settings", APP)
RuntimeError: could not create GladeXML object


Reproducible: Always

Steps to Reproduce:
1. qemulator
2.
3.

Actual Results:  
Some dialogs fails to open

Expected Results:  
That all the dialogs will open.

# equery f qemulator

* Contents of app-emulation/qemulator-0.5:
/usr
/usr/bin
/usr/bin/qemulator
/usr/lib
/usr/lib/qemulator
/usr/lib/qemulator/Run_Defaultapp.py
/usr/lib/qemulator/qemulator.glade
/usr/lib/qemulator/qemulator.py
/usr/lib/qemulator/qml_audioenviron.py
/usr/lib/qemulator/qml_configuration.py
/usr/lib/qemulator/qml_controlmon.py
/usr/lib/qemulator/qml_filehandlers.py
/usr/lib/qemulator/qml_imagecreation.py
/usr/lib/qemulator/qml_installwizzard.py
/usr/lib/qemulator/qml_machinesetup.py
/usr/lib/qemulator/qml_network.py
/usr/lib/qemulator/qml_ptsmanager.py
/usr/lib/qemulator/qml_style.py
/usr/lib/qemulator/qml_tools.py
...
Comment 1 Dominique Michel 2008-12-07 16:15:31 UTC
Created attachment 174574 [details]
emerge --info result
Comment 2 Enrico Tagliavini 2009-02-20 19:25:17 UTC
Created attachment 182682 [details, diff]
patch for amd64 arch

I've maked a patch to let qemulator run under amrd64 arch.
Comment 3 Enrico Tagliavini 2009-02-20 19:28:36 UTC
Created attachment 182684 [details]
new ebuild for amd64 arch

This is the new ebuild for the above patch. I've added the ~amd64 keyword and i've changed the dep of qemu couse it can run also with kvm. I've commented the kvm deps (to let you decide if it can be correct), but for me works with kvm. I've only to change the qemu command to kvm
Comment 4 Enrico Tagliavini 2009-02-20 19:30:57 UTC
Oh i've forgotten one thing: the file /usr/bin/qemulator should be a symlink to /usr/lib/qemulator/qemulator.py (and it should be executable). This way the basedir.patch is not needed anymore. But don't know how to tell the ebuild to do this :(
Comment 5 Luca Barbato gentoo-dev 2009-02-21 14:57:32 UTC
qemulator hadn't been checked on amd64 and isn't marked amd64 (nor ppc64), maybe you could notify upstream about the issues and suggest improvements, qemulator 0.6 isn't out yet and I'd would be quite happy if we could replace the 0.5 soon.
Hopefully getting feedbacks will motivate the author.
Comment 6 Enrico Tagliavini 2009-02-21 15:23:36 UTC
Of course i've send an email on the project site including my patch, just before i've filled this bug ^^. I hope they will answer!
Comment 7 Dominique Michel 2009-02-21 19:32:24 UTC
The patch is working fine here. Thank you.
Comment 8 Enrico Tagliavini 2009-03-02 20:57:41 UTC
I've mailed upstream, but they didn't answered. May be more request from more people will do the trick :D
Comment 9 Doug Goldstein (RETIRED) gentoo-dev 2012-12-08 06:16:53 UTC
Packaged masked for removal due to dead upstream. Upstream recommends virtualbricks which is requested in bug #409869, so if you're interested in seeing that package enter Gentoo please make your voice heard there.

We won't be fixing this package.