I still don't understand why but setting SDL_NOMOUSE=1 in the init
script itself fixed my second problem.

Any gentoo users game enough to explain why my init script is not
listening to the global environment variables set in /etc/env.d/*?

Mick
On Mon, 2004-03-15 at 14:22, Mick wrote:
> OK, almost there..
> 
> I set local_conf.py to use the blurr2 skin by default, and now this will
> load.  Very strange.
> 
> Sounds like a spare freevo_conf.py flaoting aorund somewhere...
> 
> Still can't autoload at boot though.  As per before, my USER varialbe
> and my HOME and SDL_NOMOUSE variables are set.  Freevo will run as soon
> as I log in,  but autoloading it freevo doesn't listen to the
> SDL_NOMOUSE variable and crashes.
> 
> Mick
> 
> On Mon, 2004-03-15 at 11:22, Mick wrote:
> > Sent this lastnight but it hasn't come through yet..
> > -------------
> > I'm experiencing 2 problems and I'm sure there both really simple but
> > they've both got me stumped.
> > 
> > Firstly, (running the latest snapshot + one a few weeks old) after
> > running 'python setup.py install' freevo will not load from the
> > installed directory.
> > 
> > Here are the error messages:
> > Error: 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 /root.
> > 
> > Error: VIDEO_SHOW_DATA_DIR not found
> > ROM_DRIVES: Auto-detected and added "('/mnt/cdrom',
> > '/dev/cdroms/cdrom0', 'CD-1')"
> > ROM_DRIVES: Auto-detected and added "('/mnt/dvd', '/dev/cdroms/cdrom1',
> > 'DVD-2')"
> > 
> > Warning: Freevo cache helper/informations updated.
> > Please rerun 'freevo cache' to speed up Freevo
> > 
> > ioctl failed: Invalid argument
> > ioctl failed: Invalid argument
> > Crash!
> > Traceback (most recent call last):
> >   File "/usr/lib/python2.3/site-packages/freevo/main.py", line 348, in ?
> >     plugin.init(splash.progress)
> >   File "/usr/lib/python2.3/site-packages/freevo/plugin.py", line 356, in
> > init
> >     callback(int((float(current) / len(__all_plugins__)) * 100))
> >   File "/usr/lib/python2.3/site-packages/freevo/main.py", line 239, in
> > progress
> >     skin.draw('splashscreen', None)
> >   File "/usr/lib/python2.3/site-packages/freevo/skins/main/main.py",
> > line 570, in draw
> >     a.draw(settings, object, menu, style, type, self.force_redraw)
> >   File "/usr/lib/python2.3/site-packages/freevo/skins/main/area.py",
> > line 207, in draw
> >     self.redraw = self.init_vars(settings, item_type, widget_type)
> >   File "/usr/lib/python2.3/site-packages/freevo/skins/main/area.py",
> > line 514, in init_vars
> >     area = settings.sets[widget_type]
> > KeyError: 'splashscreen'
> > ioctl failed: Invalid argument
> > 
> > What gets me is that its runs ok with ./freevo from the package dir, but
> > after the install its in /usr/bin/freevo and it wont run..
> > 
> > (which freevo = /usr/bin/freevo).
> > 
> > I'm sure its the 'right' freevo as the python install script isn't very
> > specific in its output, all I can see is 'copying
> > build/scripts-2.3/freevo -> /usr/bin...
> > 
> > Secondly, i'm running gentoo my @boot scripts seem to be 'ignoring' the
> > environment variables, producing the old 'Unable to open mouse error'.. 
> > And yes.  I'm running on the frame buffer.
> > 
> > Anyway, this is the simpton,not necesarily the truth..  I set my boot
> > scripts to cat the current environment variables before running freevo,
> > and the no_mouse variable is set (see bellow).  I'm stumped as as soon
> > as I log in i can run the same command maunally and freevo works fine..
> > 
> > declare -x BOOTLEVEL="boot"
> > declare -x CONSOLE="/dev/console"
> > declare -x CRITICAL_SERVICES="checkroot hostname modules checkfs
> > localmount"
> > declare -x DEFAULTLEVEL="default"
> > declare -x HOME="/"
> > declare -x INIT_VERSION="sysvinit-2.84"
> > declare -ax MASTER_PID='([0]="")'
> > declare -x OLDPWD
> > declare -x OLDSOFTLEVEL="boot"
> > declare -x
> > PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin"
> > declare -ax PID_LIST='([0]="")'
> > declare -x PREVLEVEL="N"
> > declare -x PWD="/"
> > declare -x RUNLEVEL="3"
> > declare -x SDL_NOMOUSE="1"
> > declare -x SHLVL="1"
> > declare -x SOFTLEVEL="default"
> > declare -x TERM="linux"
> > declare -x USER="root"
> > declare -x rc_splash
> > declare -x rc_splash_calc
> > declare -x rc_splash_debug
> > declare -x rc_splash_init
> > declare -x rc_splash_update
> > declare -x video="matrox:vesa:0x1bb"
> > -------------------------------------------------------------------------------
> > Freevo start at Sun Mar 14 21:25:59 2004
> > -------------------------------------------------------------------------------
> > 
> > Error: 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 /.
> > 
> > Error: VIDEO_SHOW_DATA_DIR not found
> > ROM_DRIVES: Auto-detected and added "('/mnt/cdrom',
> > '/dev/cdroms/cdrom0', 'CD-1')"
> > ROM_DRIVES: Auto-detected and added "('/mnt/dvd', '/dev/cdroms/cdrom1',
> > 'DVD-2')"
> > 
> > Warning: Freevo cache helper/informations updated.
> > Please rerun 'freevo cache' to speed up Freevo
> > 
> > Traceback (most recent call last):
> >   File "/tmp/freevo/src/main.py", line 111, in ?
> >     import menu    # The menu widget class
> >   File "/tmp/freevo/src/menu.py", line 74, in ?
> >     import skin
> >   File "/tmp/freevo/src/skin.py", line 94, in ?
> >     get_singleton()
> >   File "/tmp/freevo/src/skin.py", line 82, in get_singleton
> >     exec('import skins.' + config.SKIN_MODULE  + '.' +
> > config.SKIN_MODULE  + \
> >   File "<string>", line 1, in ?
> >   File "/tmp/freevo/src/skins/main/main.py", line 98, in ?
> >     from area import Skin_Area
> >   File "/tmp/freevo/src/skins/main/area.py", line 104, in ?
> >     import xml_skin
> >   File "/tmp/freevo/src/skins/main/xml_skin.py", line 83, in ?
> >     osd = osd.get_singleton()
> >   File "/tmp/freevo/src/osd.py", line 258, in get_singleton
> >     _singleton = util.SynchronizedObject(OSD())
> >   File "/tmp/freevo/src/osd.py", line 491, in __init__
> >     pygame.display.init()
> > pygame.error: Unable to open mouse
> > 
> > 
> > I've tried it with and without the USER='root' env var. also.  Can
> > anyone help?
> > 
> > Mick
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IBM Linux Tutorials
> > Free Linux tutorial presented by Daniel Robbins, President and CEO of
> > GenToo technologies. Learn everything from fundamentals to system
> > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > _______________________________________________
> > Freevo-users mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/freevo-users
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Freevo-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-users


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to