kmos icon indicating copy to clipboard operation
kmos copied to clipboard

gazpacho and kiwi

Open xunhuazhao opened this issue 10 years ago • 3 comments

Hi,

The apt-get way seems not not working to install gazpacho and kiwi (?), so I install them manually after downloading from the following sites (I put it here for other's info): https://launchpad.net/ubuntu/+source/gazpacho/0.7.2-2ubuntu1 https://launchpad.net/ubuntu/+source/kiwi/1.9.22-2 The installation finished normally.

However, when I tried to use "kmos edit XXXX.xml", it told me "EnvironmentError: path /usr/share/gazpacho/pixmaps must be a directory" Then I found pixmaps directory is actually available via a different path: /usr/local/share/gazpacho/.

It looks like that I have to tell kmos the new address of gazpacho. It would be great if someone can tell me how to do this? Thank you very much.

xunhuazhao avatar Apr 18 '15 22:04 xunhuazhao

When you say 'apt-get way', have you tried installing it by directly downloading one of the old Debian packages[1]. And then install them with 'sudo dpkg -i '. Otherwise if you have already managed to install it from source, you could also trying fixing the /usr/local/share installation by setting soft links from where your python runtime expects it, to where it actually is, e.g.

ln -s /usr/local/share/gazpacho/pixmaps /usr/share/gazpacho/pixmaps

However this may end up setting many soft links depending how the gazpacho internals work. And you have to do it again on every installation. This is why I was hoping the 'sudo dpkg -i ...' way would still work.

[1] https://packages.debian.org/de/squeeze/all/gazpacho/download

mhoffman avatar Apr 19 '15 17:04 mhoffman

Thanks for the previous suggestions. I tried to download and install the package from the above link and finally I saw the nice panel with all the parameters and processes shown there. However, there seems to be some last problem. The error message is:" ... File "/usr/local/lib/python2.7/dist-packages/kmos/utils/init.py", line 494, in col_str2tuple color = gtk.gdk.Color(hex_string) ValueError: unable to parse colour specification".

Thxs once again.

xunhuazhao avatar Apr 22 '15 17:04 xunhuazhao

I need more details (step 1. ... 2. ... 3 ...) how to reproduce this behavior to tell you what is going wrong.

mhoffman avatar Apr 22 '15 17:04 mhoffman