Hans Meine wrote: > 2) beacon-search always finishes with this error when connected to the > daemon (e.g. with --info, --list-media, simple search): > 2008-10-04 21:35:40,691 [ERROR] rpc(284): Socket closed before authentication > completed
Ignore that.I wonder why this happens, but it does not matter. > 3) since only /dev/cdrom is in /etc/fstab, and /dev/cdrom is symlink > to hdc, beacon-daemon reports: > 2008-10-04 21:33:45,780 [ERROR] callback(192): mount: Konnte /dev/hdc nicht > in /etc/fstab oder /etc/mtab finden Do you have hal and pmount installed? With them it should work. There is a dbus command to use hal to mount and umount, but I do not understand how it works. > 3a) this is likely related; when I eject the disc, I am getting: > 2008-10-05 18:40:48,940 [ERROR] async(391): Unhandled InProgress exception: > AttributeError: Exception raised asynchronously; traceback follows: > File "/usr/lib/python2.5/site-packages/kaa/rpc.py", line 404, in > _handle_packet_after_auth > result = self._callbacks[function](*args, **kwargs) > File "/usr/lib/python2.5/site-packages/kaa/beacon/server/hwmon/client.py", > line 132, in _device_remove > self.handler.media_removed(self._db.medialist.get_by_media_id(id)) > File "/usr/lib/python2.5/site-packages/kaa/beacon/server/server.py", line > 228, in media_removed > self._db.signals['changed'].emit([media._beacon_id]) > AttributeError: 'NoneType' object has no attribute '_beacon_id' I will look into this tomorrow > 4) when I terminate beacon-daemon (using ctrl-C; I started it with --fg), I > got: > 2008-10-05 18:44:00,158 [ERROR] async(391): Unhandled InProgress exception: > Traceback (most recent call last): > File "../base/build/lib.linux-i686-2.5/kaa/notifier/coroutine.py", line > 288, > in _step > File "../base/build/lib.linux-i686-2.5/kaa/notifier/coroutine.py", line 92, > in _process > File "/usr/lib/python2.5/site-packages/kaa/beacon/server/crawl.py", line > 474, in _scan > yield async > AsyncException: Exception raised asynchronously; traceback follows: > File "../base/build/lib.linux-i686-2.5/kaa/notifier/coroutine.py", line > 288, > in _step > File "../base/build/lib.linux-i686-2.5/kaa/notifier/coroutine.py", line 93, > in _process > File "/usr/lib/python2.5/site-packages/kaa/beacon/server/parser.py", line > 331, in _parse > mtime=0, metadata=track) > File "/usr/lib/python2.5/site-packages/kaa/beacon/server/db.py", line 208, > in add_object > result = self._db.add_object(type, **kwargs) > File "/usr/lib/python2.5/site-packages/kaa/db.py", line 868, in add_object > query, values = self._make_query_from_attrs("add", attrs, object_type) > File "/usr/lib/python2.5/site-packages/kaa/db.py", line 695, in > _make_query_from_attrs > raise ValueError, "Reference to undefined attribute '%s' for type '%s'" % > (key, type_name) > ValueError: Reference to undefined attribute 'mtime' for type 'track_dvd' > Beacon done. I will look into this tomorrow > 6) When I delete everything from ~/.beacon except 'config', and I > restart `beacon-dameon --fg`, I am getting kaa.beacon.root in > --list-media twice (IDs 1 and 2). Also, I am getting the same > --del-media behavior as in 5), so this is reproducable and obviously > not related to the former problem 3. > > 7) --del-media should support media names, not only integers; I have > tried to write a simple patch (attached) to do so, but it does not > work. You play a lot with the media stuff which is not well tested. :) I will have a look at the code and try to figure out what is happening. > I must confess that I never used this yield-syntax (or kaa notifier, > for that matter) before, so I may not fully understand what's going > on here.. The yield code is one of our best stuff :) http://doc.freevo.org/2.0/SourceDoc/Async Dischi -- "To alcohol! The cause of - and solution to - all of life's problems!" -- Homer Simpson ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel