Page MenuHomeSolus

ANoise GUI throws errors on launch
Closed, ResolvedPublic

Description

When trying to launch Ambient Noise (Menu entry for ANoise GUI), nothing happens.

When trying to launch anoise from the command line the application throws the following:

/usr/share/anoise/anoise.py:20: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, GObject, Gst
/usr/share/anoise/anoise.py:20: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, GObject, Gst
Traceback (most recent call last):
  File "/usr/share/anoise/anoise.py", line 24, in <module>
    from preferences import Preferences
  File "/usr/share/anoise/preferences.py", line 21, in <module>
    from gi.repository import Gtk, WebKit
ImportError: cannot import name WebKit

Anoise-gui installed with two dependencies: anoise, and anoise-media

I don't know what I'm doing here - if there's any other info I can provide just shout.

Event Timeline

Can confirm same bug:

$ anoise
/usr/share/anoise/anoise.py:20: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, GObject, Gst
/usr/share/anoise/anoise.py:20: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, GObject, Gst
Traceback (most recent call last):
  File "/usr/share/anoise/anoise.py", line 24, in <module>
    from preferences import Preferences
  File "/usr/share/anoise/preferences.py", line 21, in <module>
    from gi.repository import Gtk, WebKit
ImportError: cannot import name WebKit

My god is not easy to find the bloody tarballs for this. Goddamn launchpad, and the developer for only making the .deb file easily accessible. Very irritating.

joebonrichie closed this task as Resolved.Dec 1 2017, 9:47 PM

Install libwebkit3-gtk to resolve the error. Fixed in unstable R357:43ebc7c567ce2b2b613ffa7255bb818e74c5ee52

I also updated anoise for ya aswell. R357:b23a3e6385fc9a8e8083d9363c5ebc41201d9ef8