Package Details: anoise 0.0.29-1

Git Clone URL: https://aur.archlinux.org/anoise.git (read-only, click to copy)
Package Base: anoise
Description: Ambient Noise Player. Relax or concentrate with a noise
Upstream URL: https://code.launchpad.net/anoise
Keywords: generator noise
Licenses: GPL3
Submitter: agnotek
Maintainer: adler1
Last Packager: adler1
Votes: 31
Popularity: 0.43
First Submitted: 2015-04-07 15:49
Last Updated: 2018-12-09 18:32

Latest Comments

1 2 Next › Last »

yochananmarqos commented on 2020-08-05 01:36

Updated PKGBUILD for 0.0.36.

kixune commented on 2020-07-01 06:53

I was getting the folllowing error when running:

Traceback (most recent call last):
  File "/usr/share/anoise/anoise.py", line 23, in <module>
    from dbus.mainloop.glib import DBusGMainLoop
ModuleNotFoundError: No module named 'dbus.mainloop.glib'

It was fixed when I installed "python-dbus" from the extra repository, maybe it should be added to the dependencies.

Stunkymonkey commented on 2019-12-10 20:40

what about replacing the dependencies with non orphaned and updated packages?: depends=('anoise-media' 'python-gobject' 'python-distutils-extra' 'gst-plugins-good') works on my machine.

kusanaginoturugi commented on 2019-08-26 09:27

The following procedure was necessary to use it.

yay -S python-gobject

sudo pip install dbus-python

rbchinchen commented on 2018-03-29 01:01

I had the same problem as johnnydvc below, the issue seems to be with the WebKit library.

/usr/share/anoise/preferences.py

from gi.repository import Gtk, WebKit

    web_content = WebKit.WebView()

Those two lines in the above file both use a reference to WebKit, but the library has updated to require WebKit2 as the reference.

from gi.repository import Gtk, WebKit2

    web_content = WebKit2.WebView()

Simply adding '2' after each reference to WebKit did the trick for me, I did this after installation and it works fine now. Hopefully this can be merged in to the PKGBUILD script by the maintainer.

johnnydvc commented on 2017-11-15 21:18

not running.

/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 "<frozen importlib._bootstrap>", line 879, in _find_spec
AttributeError: 'DynamicImporter' object has no attribute 'find_spec'

During handling of the above exception, another exception occurred:

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
File "/usr/lib/python3.6/site-packages/gi/importer.py", line 127, in find_module
'introspection typelib not found' % namespace)
ImportError: cannot import name WebKit, introspection typelib not found

eniac commented on 2017-03-04 11:03

anoise still requires gstreamer0.10 and the orphaned gstreamer0.10-python. Is there a way to make it work with gstreamer 1.10 ?

Anonymous comment on 2015-09-21 08:49

@ Kosava, @Theredbaron1834
try installing "webkitgtk" it will fix the Gtk 2 problem

@agnotek i think that "webkitgtk" should be a dependency for this to work on kde

Kosava commented on 2015-08-09 14:52

Not work for me

anoise
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
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
File "/usr/lib/python3.4/site-packages/gi/importer.py", line 158, in load_module
introspection_module = get_introspection_module(namespace)
File "/usr/lib/python3.4/site-packages/gi/module.py", line 271, in get_introspection_module
module = IntrospectionModule(namespace, version)
File "/usr/lib/python3.4/site-packages/gi/module.py", line 120, in __init__
repository.require(namespace, version)
gi.RepositoryError: Requiring namespace 'Gtk' version '2.0', but '3.0' is already loaded

Theredbaron1834 commented on 2015-04-29 08:29

Same issue. I already have python-gobject installed too. If I install python-dbus I get a differnt issue though:

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
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
File "/usr/lib/python3.4/site-packages/gi/importer.py", line 158, in load_module
introspection_module = get_introspection_module(namespace)
File "/usr/lib/python3.4/site-packages/gi/module.py", line 271, in get_introspection_module
module = IntrospectionModule(namespace, version)
File "/usr/lib/python3.4/site-packages/gi/module.py", line 120, in __init__
repository.require(namespace, version)
gi.RepositoryError: Requiring namespace 'Gtk' version '2.0', but '3.0' is already loaded