Reinoud Elhorst wrote: > As soon as I a try to open the root (/) directory, a > message appeared ( InProgress exception: maximum recursion depth > exceeded in cmp ). Took some time to figure out where things were > going wrong (but learned a ton on the freevo project, and python in > general), but I found two problems: > - My root directory seems to be stored as file:////, whereas I would > expect it to be file:/// (that's 3 slashes instead of 4). I couldn't > find any obvious spot where this is set, so I'll take the cowards > way out for now and just ask (I would expect the config files > setting which directories to show, couldn't find it). > - The beacon.Database._get_dir() code gets into an endless recursion > when fed '//' as directory. This is because os.path.dirname('//') == > //' (unlike bash, where `dirname '//'` == '/'), so the root is never > found. > > Probably not very hard bugs to solve both of them.
Doing a query on '/' was never tested, I did not expect someone whats to see his whole tree in Freevo. Anyway, an update to kaa.beacon should fix the problem. But I suggest you add better directories to your config, I don't think you will every find media files in /dev or /usr and beacon will scan this. Dischi -- In the beginning, there was nothing, which exploded. -Terry Pratchett
pgp9p1UMby6FQ.pgp
Description: PGP signature
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel