Rescan stalls if one of the directories in scan path is not mounted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Exaile |
New
|
Undecided
|
Unassigned |
Bug Description
Running exaile while the partition with a directory in the scan path not mounted. The UI doesn't give an error message but just keeps on moving the scanning progress thingie in the lower left corner incessantly.
Terminal output on Ubuntu 10.10:
exaile
INFO : Loading Exaile 0.3.2.0...
INFO : Loading settings...
** Message: pygobject_
INFO : Loading plugins...
INFO : Loading collection...
INFO : Loading devices...
INFO : Loading interface...
INFO : Loading main window...
INFO : Connecting main window events...
INFO : Loading panels...
INFO : Connecting panel events...
INFO : Done loading main window...
INFO : Scanning library: file://
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/lib/
library.
File "/usr/lib/
type = fil.query_
Error: Error stating file '/media/
Exception in thread Thread-6:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/lib/
file_count += library.
File "/usr/lib/
for file in common.
File "/usr/lib/
log_
File "/usr/lib/
log.
AttributeError: 'Error' object has no attribute 'debug'
/usr/lib/
self.
/usr/lib/
self.
INFO : Exaile is shutting down...
INFO : Disabling plugins...
INFO : Saving state...
INFO : Bye!
I see essentially the same output in terminal, however the scan path IS mounted via SMB. Bug did not happen under Xubuntu 10.04, does happen under Xubuntu 10.10.
doug@Padauk:~$ exaile register_ sinkfunc is deprecated (GstObject) share/exaile/ plugins/ gnomemmkeys/ __init_ _.py", line 67, in _enable gnome/SettingsD aemon/MediaKeys ') pymodules/ python2. 6/dbus/ bus.py" , line 244, in get_object name_owner_ changes= follow_ name_owner_ changes) pymodules/ python2. 6/dbus/ proxies. py", line 241, in __init__ _named_ service = conn.activate_ name_owner( bus_name) pymodules/ python2. 6/dbus/ bus.py" , line 183, in activate_name_owner start_service_ by_name( bus_name) pymodules/ python2. 6/dbus/ bus.py" , line 281, in start_service_ by_name pymodules/ python2. 6/dbus/ connection. py", line 620, in call_blocking .DBus.Error. ServiceUnknown: The name org.gnome. SettingsDaemon was not provided by any .service files r/music/ .gvfs/music on goldenbear/Various - Fender 50th/flac python2. 6/threading. py", line 532, in __bootstrap_inner python2. 6/threading. py", line 484, in run __target( *self._ _args, **self.__kwargs) lib/exaile/ xl/collection. py", line 289, in __count_files _count_ files() lib/exaile/ xl/collection. py", line 599, in _count_files walk(gio. File(self. location) ): lib/exaile/ xl/common. py", line 295, in walk exception( e) lib/exaile/ xl/common. py", line 67, in log_exception debug(message + "\n" + traceback. format_ exc())
INFO : Loading Exaile 0.3.2.0...
INFO : Loading settings...
** Message: pygobject_
INFO : Loading plugins...
INFO : Loading collection...
INFO : Loading devices...
INFO : Loading interface...
INFO : Loading main window...
INFO : Connecting main window events...
INFO : Loading panels...
INFO : Connecting panel events...
INFO : Done loading main window...
Traceback (most recent call last):
File "/usr/local/
'/org/
File "/usr/lib/
follow_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
'su', (bus_name, flags)))
File "/usr/lib/
message, timeout)
DBusException: org.freedesktop
INFO : Scanning library: smb://goldenbea
INFO : Compilation fender 50th anniversary guitar legends detected in /home/doug/
Exception in thread Thread-7:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/local/
file_count += library.
File "/usr/local/
for file in common.
File "/usr/local/
log_
File "/usr/local/
log.
AttributeError: 'Error' object has no attribute 'debug'
INFO : Compilation mojo club dancefloor jazz vol. 2 - for what it's worth detected in /home/doug/ .gvfs/music on goldenbear/Various - Mojo Club Vol 2/flac .gvfs/music on goldenbear/Various - Giant Tracks/flac .gvfs/music on goldenbear/Various - Arctic Paradise 1999/flac .gvfs/music on goldenbear/Hans Koller Oktett & Wolfgang Dauner Trio - Jazz Studio H.G.B.S .gvfs/music on goldenbear/Hugh Maseke...
INFO : Compilation giant tracks: a tribute to gentle giant detected in /home/doug/
INFO : Compilation arctic paradise detected in /home/doug/
INFO : Compilation jazz studio h.g.b.s. number one detected in /home/doug/
INFO : Compilation the best of hugh masekela on novus detected in /home/doug/