Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: glade requires gtk+ 3.12 #27

Closed
cristobalmedinalopez opened this issue Jun 9, 2015 · 4 comments
Closed

Error: glade requires gtk+ 3.12 #27

cristobalmedinalopez opened this issue Jun 9, 2015 · 4 comments

Comments

@cristobalmedinalopez
Copy link
Member

On every machine that I try to run the GUI I get this error:

Traceback (most recent call last):
  File "p2psp_application_gui.py", line 12, in <module>
    App_Window = Main_Window()
  File "/home/cmedina/p2psp/src/view/main_window.py", line 14, in __init__
    self.interface = file_util.get_user_interface('glade', '../data/glade/mainwindow.glade')
  File "/home/cmedina/p2psp/src/common/file_util.py", line 16, in get_user_interface
    builder.add_from_file(fName)
gi._glib.GError: ../data/glade/mainwindow.glade: required gtk+ version 3.12, current version is 3.10

Why gtk+ 3.12 is required? Is there an easy way to resolve it?

The way to resolve it that I've found is not so easy for regular users (it's a little bit tedious)

@maniotrix
Copy link
Collaborator

The UI is build with glade 3. So minimum gtk+3 is required.

Therefore following changes in this commit should resolve this issue: https://github.com/maniotrix/p2psp/commit/1777c0ef8738a830abe33ca0157a1fa5be54b6b2

Here 'requires' attribute in glade file is modified and may be removed if necessary.

@cristobalmedinalopez
Copy link
Member Author

Ok, thanks!
I think most people use gtk3 but not all 3.12.

@josejuansanchez
Copy link
Member

Thanks @maniotrix!

Could you do a pull request to add this change to the repository?

@maniotrix
Copy link
Collaborator

Please find the resolution of this issue here: https://github.com/maniotrix/p2psp/commit/248ee57b10af257f8277d4a867365e48fa52ea52

@josejuansanchez josejuansanchez added this to the Mid-term evaluation deadline milestone Jun 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants