> Thanks Adam and Tanja for the help. i reverted that file to the
> previous revision.
>
> Later
>
> Jonathan
>
> On 8/6/07, Tanja <[EMAIL PROTECTED]> wrote:
>> Same problem here.
>> As Adam already pointed out, this is introduced with this patch:
>> https://sourceforge.net/tracker/index.php?func=detail&aid=1767785&group_id=46652&atid=446895
>>
>> Would I have to define OS_CACHEDIR in local_conf.py?
>> I wonder why not use FREEVO_CACHEDIR instead of OS_CACHEDIR for this?
>>
>> Regards
>> Tanja
>>
>> Adam Charrett schrieb:
>> > On Mon, 2007-08-06 at 20:48 +0200, Pascal Schirrmann wrote:
>> >> Duncan Webb a écrit :
>> >>> -----BEGIN PGP SIGNED MESSAGE-----
>> >>> Hash: SHA1
>> >>>
>> >>> Jonathan Isom wrote:
>> >>>
>> >>>>>>> OSError: [Errno 13] Permission denied: '/var/cache/xmltv/logos'
>> >>>>>>>
>> >> Hi,
>> >>
>> >> Same problem here, not check further : after installing the svn
>> version
>> >> 9803 (did work with the revision 9801), I did obtain such a message
>> at
>> >> start :
>> >> cannot create /var/cache/xmltv (permission denied).
>> > The problem is version 9802 of freevo_config.py change at line 1976 to
>> > simply check it /var/cache/xmltv existed and if not create it, the
>> > previous version checked if it existed and if not used /tmp instead.
>> >
>> > Duncan doesn't see it as he's running freevo as root.
>> >
>> > Looks like some more logic is required here, a try: except: block to
>> > catch the permission denied and use /tmp instead.

IMHO using /tmp as a fall back is a poor choice for static data, better is
to use ~/.freevo. Alternatively, create a /var/cache/freevo owned by the
user that runs freevo.

There are certain files that should not really be in /tmp or in
/etc/freevo/cache, logos, TV.xml and scheduled recordings (as this
contains the favourites) as examples and deleting the contents of /tmp or
/var/cache/freevo would cause the loss of important information.

What I do is create a /var/lib/freevo and point these variables there.

Duncan




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to