-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, April 6, 2005 7:31 pm, Rob Shortt said:
[...]
> Games still needs to be updated.

Ok.


>> Traceback (most recent call last):
>>   File "/usr/lib/python2.3/site-packages/freevo/helpers/cache.py", line
>> 454, in ?
>>     create_metadata()
>>   File "/usr/lib/python2.3/site-packages/freevo/helpers/cache.py", line
>> 301, in create_metadata
>>     rec = util.get_subdirs_recursively(d)
>>   File "/usr/lib/python2.3/site-packages/freevo/util/fileops.py", line
>> 266, in get_subdirs_recursively
>>     os.path.walk(dir, _match_files_recursively_helper, all_files)
>>   File "/usr/lib/python2.3/posixpath.py", line 282, in walk
>>     func(arg, top, names)
>>   File "/usr/lib/python2.3/site-packages/freevo/util/fileops.py", line
>> 237, in _match_files_recursively_helper
>>     if dirname[dirname.rfind('/'):][1] == '.':
>> IndexError: string index out of range
>
> Maybe that's caused by one of your unset variables or some part of
> 2.0/CVS still needing updating.
>

It disappeared when I remove the games plugin, I think it's related.

>
>> 3. I don't have XMLTV support, so my /var/lib/freevo/epgdb is NULL.
>> There needs to be a way to manually populate the epgdb (python script?)
>> or
>> else catch this exception.
>>
>> [EMAIL PROTECTED] DLOAD]# freevo
>> TV_RECORD_DIR not set
>>   Please set TV_RECORD_DIR to the directory, where recordings
>>   should be stored or remove the tv plugin. Autoset variable
>>   to /var/cache/multimedia/video.
>> WARNING __init__(290): TV_RECORD_DIR not set
>>   Please set TV_RECORD_DIR to the directory, where recordings
>>   should be stored or remove the tv plugin. Autoset variable
>>   to /var/cache/multimedia/video.
>> VIDEO_SHOW_DATA_DIR not found
>> WARNING __init__(293): VIDEO_SHOW_DATA_DIR not found
>
> Also maybe you should fix those unset variables.

I set them, doesn't make any difference.

>
>
>> EPG database out of date, latest version is 0.1.1
>> WARNING db_sqlite(71): EPG database out of date, latest version is 0.1.1
>> Crash!
[...]
>> DatabaseError: no such table: admin
>
> Ok, get_version() in db_sqlite() is returning "0.0.0" because it failed
> to select version from versioning.  I think the problem is that it made
> it that far when it shouldn't have, maybe the following check is failing:
>
>              try:
>                  self.db = sqlite.connect(dbpath, client_encoding='utf-8',
>                                           timeout=10)
>                  break
>              except OperationalError, e:
>                  notifier.step(False, False)
>
> ... maybe there's no database.  Do you have sqlite installed in addition
> to pysqlite?  I will look at catching this problem better.

Yes, I have sqlite-2.8.16-1.1.fc3.rf and pysqlite-1.0.1-1_fc3 installed.
The /var/lib/freevo/epgdb file is 0 bytes, so it's not a valid database,
since I don't have any XMLTV feeds to populate it with. Basically, I
believe you need to check that the database is firstly valid, and if not,
catch the exception.


T.C.
- --
Wan Tat Chee (Senior Lecturer)
School of Computer Sciences, Univ. of Science Malaysia,
11800 USM, Penang, Malaysia.      Rm.625 Ofc Ph: +604 653-3888 x 3617
NRG Lab Admin: +604 659-4757           Rm.601-F Ofc Ph: +604 653-4396
Internet: [EMAIL PROTECTED]            Web: http://nrg.cs.usm.my/~tcwan
GPG Key : http://nrg.cs.usm.my/~tcwan/tcwan-nrg-20040805.asc
F'print : 4B2E F0BF AAD7 2F51 CB41  4386 F72B 7859 8278 BDC4


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCVMlE9yt4WYJ4vcQRAn/jAJ4lV8eg2F+jCHu80XZnb1/GIQNxVgCfWyZm
2TrSVJz9V5RMIQ4k4DyQyEI=
=lYcb
-----END PGP SIGNATURE-----


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to