hazzy - Another touchscreen GUI

More
8 years 7 months ago #107355 by KCJ
Replied by KCJ on topic hazzy - Another touchscreen GUI
Yes, we are currently developing on the GTK3 branch which you can find here: github.com/kurtjacobson/hazzy/tree/GTK3
The following user(s) said Thank You: persei8

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #107533 by persei8
Where does hazzy look for the GTK version? I installed GTK+ -3.22.0 (at least I think I did, it compiled and installed) but still get the following error:

[HAZZY.MAIN][CRITICAL] GTK+ is version 3.18.9 but hazzy requires GTK+ 3.20 or above (main.py:82)

Is there some independent way to get the GTK version?
I attached the log file. Thanks.

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #107554 by KCJ
Replied by KCJ on topic hazzy - Another touchscreen GUI
hazzy uses PyGObject to access all the GObject-based libraries (like GTK) from python. My guess would be that you have successfully installed GTK+ 3.22.0, but don't have the corresponding version GObject installed.

You should be able to check the output of `$ apt-cache policy libgtk-3-0` to verify the version of GTK+ you have installed.

I am not sure what the best why to install PyGObject is. You can probably install it from source from here: www.gtk.org/download/linux.php

TurBoss mentioned that PyGObject can now be installed via pip, but I have not tried that. Probably best to use a virtual environment if you give that a go. It also might be worth trying `$ apt-get install python-gi-dev --dry-run` and see what it looks like it would install.

What OS are you using? I might install it on a test machine and see what it takes to get GTK 3.22 installed and hazzy to run.

Sorry I can't provide any better help, I am still new to all things Linux.

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago - 8 years 7 months ago #107583 by persei8
Thanks for the attempt to help, but I give up - and that doesn't happen often. I compiled and installed gtk+-3.22.29 as well as all dependencies, including pygobject, as listed on gtk.org and apt-cache policy libgtk-3-0 still reports using 3.18.9. This is on Linux Mint 18.3 64 bit (dual booting with Windows10). Supposedly Mint 19 should be available sometime this spring so maybe it will come native with the latest gtk+. Just as well, I should be working on a doll crib for my granddaughter.
Quick update - gtk3.0 is definitely installed because the Cinammon UI is using it.
Last edit: 8 years 7 months ago by persei8.

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago - 8 years 7 months ago #107664 by TurBoss
some pics



Last edit: 8 years 7 months ago by TurBoss.
The following user(s) said Thank You: tommylight, Lcvette

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #107666 by tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.255 seconds
Powered by Kunena Forum