On Wed, Nov 05, 2003 at 06:36:26PM +0800, Trevor Phillips wrote: > I only just found out with this latest release (1.4rc3) that, not only is > there an apt-gettable Debian version of Freevo, but it's even the latest > version! However, I did hit some problems, which may be Debian version > issues, or may be some other issue:
This first problem is a Debian issue; I've fixed the problem so it won't try to install a lircrc file unless an lircd.conf exists. It's a problem in the old postinst, but should be ok now. And apt-get update/upgrade should cover it. > On install, I got the error: > Traceback (most recent call last): > File "/usr/lib/python2.3/site-packages/freevo/helpers/makelircrc.py", line > 57, in ? > for line in x.readlines(): > NameError: name 'x' is not defined > > Checking the source, it looks like it NEEDS /etc/lircd.conf or /etc/lirc/ > lircd.conf - and I don't have either of these. I have python2.3-pylirc > (obviously if I made it this far), but it only needs liblircclient0, which > doesn't create this config file either. I won't anymore, you can remove the lircd.conf file. > Now, when I run freevo (as a user, NOT root), I get: > > Traceback (most recent call last): > File "/usr/lib/python2.3/site-packages/freevo/main.py", line 417, in ? > os.mkdir(mmcache) > OSError: [Errno 13] Permission denied: '/var/cache/freevo/mmpython' > > Running it as root FIRST, then running it as a normal user works. However, it > seems this dir is used to also cache directory listings, so running as a user > never saves any cached dir info. > > While I'm a bit loathe to letting everyone have write access to /var/cache/ > freevo, perhaps a local user .freevo dir could be used when not run as root. > Or, even more ideally, make /var/cache/freevo be group-writeable by group > freevo, and use that IF the current user is in the group (or root), otherwise > default to a .freevo dir... > > Anyway, that's just first impressions. I haven't actually tried to play > anything yet. Time to hack the config file with my custom dirs first. ^_^ I think the issue is that the freevo.conf file goes into /etc/freevo by default, which tells freevo to use the root system version. To work around that, you can move /etc/freevo into ~/.freevo/ and it should work as a normal user. I'll try to figure that part out but it'll be trickier to do it entirely in the package because Debian doesn't like to write individual user directories. Aubin ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
