Jason Tackaberry wrote:
> If I try to monitor a directory with a fresh ~/.beacon here's what I get:
>
> [EMAIL PROTECTED] ~]$ rm -rf ~/.beacon
> [EMAIL PROTECTED] ~]$ BEACON_MONITOR=/data/movies beacon --start
> WATCH 1 /orion/data/movies 10182
> WATCH 2 /orion/data/disks/2/movies/25th Hour 10182

Arg, you have this softlink stuff again. Can you send me a private
mail with your directory structure.

> ERROR nf_generic(154): removed timer 5
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/kaa/beacon/db.py", line 356, in 
> _query_parent
>     return self._query_dir(parent)
>   File "/usr/lib/python2.4/site-packages/kaa/beacon/db.py", line 234, in 
> _query_dir
>     for i in self._db.query(parent = parent._beacon_id):
>   File "/usr/lib/python2.4/site-packages/kaa/db.py", line 882, in query
>     return self.normalize_query_results(self.query_raw(**attrs))
>   File "/usr/lib/python2.4/site-packages/kaa/db.py", line 729, in query_raw
>     if type(attrs["parent"][0]) != tuple:
> TypeError: unsubscriptable object
>
> The problem is that parent=None.

Yes, beacuse right now I expect that the parent is already parsed and
in the db. Well, this is true if you have a directory structure
without softlinks to directories. In your case we jump from
data/movies right to disks/2/movies and we never scanned the
parents. 


Dischi

-- 
Life is a sexually transmitted disease.

Attachment: pgpttBjYxVNGB.pgp
Description: PGP signature

Reply via email to