Jason Tackaberry wrote:
> Dischi, got an exception with beacon when crawling my tree:
>
> 2007-05-07 21:52:32,117 [ERROR] __init__(1021): YieldFunction
> Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/kaa/notifier/yieldfunc.py", line 
> 221, in _step
>     result = self._yield__function()
>   File "/usr/lib/python2.5/site-packages/kaa/beacon/server/crawl.py", line 
> 485, in _scan
>     self._add_directory_attributes(directory)
>   File "/usr/lib/python2.5/site-packages/kaa/beacon/server/crawl.py", line 
> 543, in _add_directory_attributes
>     self._add_directory_attributes(directory._beacon_parent)
>   File "/usr/lib/python2.5/site-packages/kaa/beacon/server/crawl.py", line 
> 543, in _add_directory_attributes
>     self._add_directory_attributes(directory._beacon_parent)
>   File "/usr/lib/python2.5/site-packages/kaa/beacon/server/crawl.py", line 
> 515, in _add_directory_attributes
>     if not directory._beacon_data['image_from_items'] and \
> KeyError: 'image_from_items'
>
>
> Not sure what file it is, but if you can't figure out the problem from
> the traceback I'll see if I can narrow it down.

I guess the problem is that you updated beacon and have an older
database still on your hd. I add 
| image_from_items = (bool, ATTR_SIMPLE)
for all directory items and also make sure I set it in the parser.


Dischi

-- 
"Your job is being a professor and researcher: That's one hell of a
 good excuse for some of the brain-damages of minix."
        -Linus Torvalds to Andrew Tanenbaum

Attachment: pgpsjTQnA9reE.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to