** (gufw.py:28335): WARNING **: Failed to load shared library 'libwebkitgtk-3.0.so.0' referenced by the typelib: libgbm.so.1: 無法開啟共用目的檔: 沒有此一檔案或目錄

/usr/share/gufw/gufw/view/gufw.py:117: Warning: cannot retrieve class for invalid (unclassed) type 'void'

self.web_content = WebKit.WebView()

Traceback (most recent call last):

File "/usr/share/gufw/gufw/gufw.py", line 29, in

gufw = Gufw(controler.get_frontend())

File "/usr/share/gufw/gufw/view/gufw.py", line 79, in init


File "/usr/share/gufw/gufw/view/gufw.py", line 117, in _set_objects_name

self.web_content = WebKit.WebView()

TypeError: could not get a reference to type class

  • How did you get the gufw installed? – P.-H. Lin Apr 21 '16 at 4:08
  • From Ubuntu's repository. – JulianLai Apr 21 '16 at 4:51

This post on reddit says that it's because of a broken dependency and the fix for that is:

sudo apt-get install python-gobject

After typing that in a terminal, I'm now able to start GUFW.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.