Rescan stalls if one of the directories in scan path is not mounted

Bug #680768 reported by libertarian
10
This bug affects 2 people
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_register_sinkfunc is deprecated (GstObject)
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:///media/96B44795B4477731/Documents%20and%20Settings/User/Desktop/music
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/exaile/xl/collection.py", line 113, in run
    self.collection.rescan_libraries()
  File "/usr/lib/exaile/xl/collection.py", line 263, in rescan_libraries
    library.rescan(notify_interval=scan_interval)
  File "/usr/lib/exaile/xl/collection.py", line 717, in rescan
    type = fil.query_info("standard::type").get_file_type()
Error: Error stating file '/media/96B44795B4477731/Documents and Settings/User/Desktop/music': No such file or directory

Exception in thread Thread-6:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/exaile/xl/collection.py", line 289, in __count_files
    file_count += library._count_files()
  File "/usr/lib/exaile/xl/collection.py", line 599, in _count_files
    for file in common.walk(gio.File(self.location)):
  File "/usr/lib/exaile/xl/common.py", line 295, in walk
    log_exception(e)
  File "/usr/lib/exaile/xl/common.py", line 67, in log_exception
    log.debug(message + "\n" + traceback.format_exc())
AttributeError: 'Error' object has no attribute 'debug'

/usr/lib/exaile/xlgui/progress.py:96: Warning: /build/buildd/glib2.0-2.26.0/gobject/gsignal.c:2392: instance `0x9385d90' has no handler with id `1158'
  self.thread.disconnect(self.progress_update_id)
/usr/lib/exaile/xlgui/progress.py:97: Warning: /build/buildd/glib2.0-2.26.0/gobject/gsignal.c:2392: instance `0x9385d90' has no handler with id `1159'
  self.thread.disconnect(self.done_id)
INFO : Exaile is shutting down...
INFO : Disabling plugins...
INFO : Saving state...
INFO : Bye!

Revision history for this message
Doug Shelton (dshelton-san) wrote :
Download full text (4.4 KiB)

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
INFO : Loading Exaile 0.3.2.0...
INFO : Loading settings...
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
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/share/exaile/plugins/gnomemmkeys/__init__.py", line 67, in _enable
    '/org/gnome/SettingsDaemon/MediaKeys')
  File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SettingsDaemon was not provided by any .service files
INFO : Scanning library: smb://goldenbear/music/
INFO : Compilation fender 50th anniversary guitar legends detected in /home/doug/.gvfs/music on goldenbear/Various - Fender 50th/flac
Exception in thread Thread-7:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/exaile/xl/collection.py", line 289, in __count_files
    file_count += library._count_files()
  File "/usr/local/lib/exaile/xl/collection.py", line 599, in _count_files
    for file in common.walk(gio.File(self.location)):
  File "/usr/local/lib/exaile/xl/common.py", line 295, in walk
    log_exception(e)
  File "/usr/local/lib/exaile/xl/common.py", line 67, in log_exception
    log.debug(message + "\n" + traceback.format_exc())
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
INFO : Compilation giant tracks: a tribute to gentle giant detected in /home/doug/.gvfs/music on goldenbear/Various - Giant Tracks/flac
INFO : Compilation arctic paradise detected in /home/doug/.gvfs/music on goldenbear/Various - Arctic Paradise 1999/flac
INFO : Compilation jazz studio h.g.b.s. number one detected in /home/doug/.gvfs/music on goldenbear/Hans Koller Oktett & Wolfgang Dauner Trio - Jazz Studio H.G.B.S
INFO : Compilation the best of hugh masekela on novus detected in /home/doug/.gvfs/music on goldenbear/Hugh Maseke...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.