You are not logged in.
Pages: 1
Hello,
I used udiskie for a while as an automounting tool, but since I've reinstalled Arch from scratch I can't get it to work.
Here is what I get :
~ $ udiskie &
[1] 573
~ $ Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 2158, 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/bin/udiskie", line 9, in <module>
load_entry_point('udiskie==1.1.2', 'console_scripts', 'udiskie')()
File "/usr/lib/python3.4/site-packages/udiskie/cli.py", line 204, in main
return cls(argv).run()
File "/usr/lib/python3.4/site-packages/udiskie/cli.py", line 178, in __init__
self._init(config, options)
File "/usr/lib/python3.4/site-packages/udiskie/cli.py", line 319, in _init
from gi.repository import Notify
File "/usr/lib/python3.4/site-packages/gi/importer.py", line 53, in find_module
'introspection typelib not found' % namespace)
ImportError: cannot import name Notify, introspection typelib not found
[1]+ Exit 1 udiskie
Maybe I should install this "introspection" library but I've no idea what it is. Any help ?
Last edited by pstree (2015-02-09 16:03:37)
: (){ : |:& };:
Offline
ImportError: cannot import name Notify, introspection typelib not found
This means that the udiskie --notify option is enabled (which is default), so you need:
libnotify 0.7.6-1
and a notification package:
notification-daemon 3.14.1-1
or
notify-osd 0.9.34-2
But I think the first error is this one:
File "<frozen importlib._bootstrap>", line 2158, in _find_spec
AttributeError: 'DynamicImporter' object has no attribute 'find_spec'
I don't know what it is, but maybe the notification message, when it will be working, will tell you more about the error.
Offline
Installing libnotify and notification-daemon solved the problem, though they were only mentioned as optional dependencies.
Thank you very much !
: (){ : |:& };:
Offline
man udiskie
Offline
Pages: 1