Re: [Freevo-users] Version error running latest Freevo 1.9.0

2009-06-08 Thread Evan Hisey
2009/6/5 Bernard Mentink :
> Hi again Duncan,
>
> An update: I have found that a previous installation of Freevo and/or Kaa is
> interfering with running this latest 1.9.0.
>
> So, I have completely removed Freevo (aptitude purge Freevo) and have tried
> again, by running the Ubuntu script "freevo_install.sh". It installs all the
> Kaa packages fine, but when it gets to installing freevo, it can't find
> kaa-base, the error is:
>

> It is installed though, it just can't be found.
>
> My is install directory is --> FREEVO_DIR=~/freevo_test/freevo-1.9.0
> and the command in the script used to install kaa-base was :
>
> cd $SRC/kaa-base*
> python setup.py install --prefix=$FREEVO_DIR
>
> Any suggestions in how to get this to progress?
Have you set up the PYTHONPATH= variable so that freevo knows where to
look for extra python modules? From the Wiki:

Use this to find your python version:
   version=$(python -V 2>&1 | sed -n 's/Python \(.\..\).*/\1/p')

Then Run this to set the PYTHONPATH:
   export PYTHONPATH=~/freevo-test/lib/python${version}/site-packages

Now you will need to do this each time you are testing or running
freevo with teh pacakges installed in freevo-test.


Evan

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Version error running latest Freevo 1.9.0

2009-06-05 Thread Bernard Mentink
Hi again Duncan,

An update: I have found that a previous installation of Freevo and/or Kaa is
interfering with running this latest 1.9.0.

So, I have completely removed Freevo (aptitude purge Freevo) and have tried
again, by running the Ubuntu script "freevo_install.sh". It installs all the
Kaa packages fine, but when it gets to installing freevo, it can't find
kaa-base, the error is:

--- pruned stuff --
writing byte-compilation script '/tmp/tmpA4c8Rs.py'
/usr/bin/python -O /tmp/tmpA4c8Rs.py
removing /tmp/tmpA4c8Rs.py
running install_egg_info
Removing
/home/bmentink/freevo_test/freevo-1.9.0/lib/python2.6/site-packages/kaa_base-0.6.0-py2.6.egg-info
Writing
/home/bmentink/freevo_test/freevo-1.9.0/lib/python2.6/site-packages/kaa_base-0.6.0-py2.6.egg-info
kaa.base not installed
kaa.base not installed
checking for kaa...not found
please download it from "svn co svn://svn.freevo.org/kaa/trunk/ kaa" and
install it

It is installed though, it just can't be found.

My is install directory is --> FREEVO_DIR=~/freevo_test/freevo-1.9.0
and the command in the script used to install kaa-base was :

cd $SRC/kaa-base*
python setup.py install --prefix=$FREEVO_DIR

Any suggestions in how to get this to progress?

Many Thanks,
Bernie




On Sat, Jun 6, 2009 at 9:02 AM, Bernard Mentink  wrote:

> Hi Duncan,
>
> Thanks for that info. I have installed it fine, my files are all installed
> into a separate directory
> freevo-1.9.0  and have a symbol link ~Freevo pointing to that directory.
> The bin/lib etc directories are in that directory..
>
> I have copied local_conf.py to that directory and have issued the command:
>  bin/freevo convert_config local_conf.py
>
> .. but I still get the error.
>
> I have exported the variables before running the above command.
>
> There is a script on the ubuntu install site that I have followed ..
> --> http://doc.freevo.org/FreevoAptUbuntu
>
> Any other suggestions?
>
>
> On Sat, Jun 6, 2009 at 3:43 AM, Duncan Webb  wrote:
>
>> Bernard Mentink wrote:
>> > Hi All,
>> >
>> > I have compiled Freevo 1.9.0 and the kaa packages with the script on the
>> > Ubuntu page. All compiles ok, but I am getting the following run-time
>> error:
>> >
>> > ~/freevo/bin$ ./freevo
>> > Traceback (most recent call last):
>> >   File "./freevo", line 516, in 
>> > (opts, args) = parse_options(defaults, versions)
>> >   File "./freevo", line 401, in parse_options
>> > usage=help_usage % '\n  '.join(get_helpers()), version='%prog-' +
>> > versions['version'])
>> > KeyError: 'version'
>> >
>> > Anyone have any idea what to do next?
>>
>> Bit confused by what you mean by compiled. Normally you would type:
>>
>> freevo
>>
>> But I think you need to install it correctly first, this is done with
>> the command:
>>
>> python setup.py install --prefix=~/freevo
>>
>> Same command for the kaa packages, if you are using ~/freevo.
>>
>> Then you will also need to set PYTHONPATH and path like:
>> export PYTHONPATH=~/freevo/lib:${PYTHONPATH}
>> export PATH=~/freevo/bin:${PATH}
>>
>> >
>> > I suspect it is the format of my local_conf.py file, but I have tried
>> > running the convert_script.py over it and all
>> > I get is:
>>
>> The commands are:
>> freevo convert_config /path/to/local_conf.py
>> freevo convert_config /path/to/local_conf.py -w
>>
>> not ./convert_config.py
>>
>> > ./convert_config.py: line 124: MIXER_MIXER_:: command not found
>>
>> Duncan
>>
>>
>> --
>> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
>> looking to deploy the next generation of Solaris that includes the latest
>> innovations from Sun and the OpenSource community. Download a copy and
>> enjoy capabilities such as Networking, Storage and Virtualization.
>> Go to: http://p.sf.net/sfu/opensolaris-get
>> ___
>> Freevo-users mailing list
>> Freevo-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freevo-users
>>
>
>
--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Version error running latest Freevo 1.9.0

2009-06-05 Thread Bernard Mentink
Hi Duncan,

Thanks for that info. I have installed it fine, my files are all installed
into a separate directory
freevo-1.9.0  and have a symbol link ~Freevo pointing to that directory. The
bin/lib etc directories are in that directory..

I have copied local_conf.py to that directory and have issued the command:
 bin/freevo convert_config local_conf.py

.. but I still get the error.

I have exported the variables before running the above command.

There is a script on the ubuntu install site that I have followed ..
--> http://doc.freevo.org/FreevoAptUbuntu

Any other suggestions?

On Sat, Jun 6, 2009 at 3:43 AM, Duncan Webb  wrote:

> Bernard Mentink wrote:
> > Hi All,
> >
> > I have compiled Freevo 1.9.0 and the kaa packages with the script on the
> > Ubuntu page. All compiles ok, but I am getting the following run-time
> error:
> >
> > ~/freevo/bin$ ./freevo
> > Traceback (most recent call last):
> >   File "./freevo", line 516, in 
> > (opts, args) = parse_options(defaults, versions)
> >   File "./freevo", line 401, in parse_options
> > usage=help_usage % '\n  '.join(get_helpers()), version='%prog-' +
> > versions['version'])
> > KeyError: 'version'
> >
> > Anyone have any idea what to do next?
>
> Bit confused by what you mean by compiled. Normally you would type:
>
> freevo
>
> But I think you need to install it correctly first, this is done with
> the command:
>
> python setup.py install --prefix=~/freevo
>
> Same command for the kaa packages, if you are using ~/freevo.
>
> Then you will also need to set PYTHONPATH and path like:
> export PYTHONPATH=~/freevo/lib:${PYTHONPATH}
> export PATH=~/freevo/bin:${PATH}
>
> >
> > I suspect it is the format of my local_conf.py file, but I have tried
> > running the convert_script.py over it and all
> > I get is:
>
> The commands are:
> freevo convert_config /path/to/local_conf.py
> freevo convert_config /path/to/local_conf.py -w
>
> not ./convert_config.py
>
> > ./convert_config.py: line 124: MIXER_MIXER_:: command not found
>
> Duncan
>
>
> --
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Version error running latest Freevo 1.9.0

2009-06-05 Thread Duncan Webb
Bernard Mentink wrote:
> Hi All,
> 
> I have compiled Freevo 1.9.0 and the kaa packages with the script on the
> Ubuntu page. All compiles ok, but I am getting the following run-time error:
> 
> ~/freevo/bin$ ./freevo
> Traceback (most recent call last):
>   File "./freevo", line 516, in 
> (opts, args) = parse_options(defaults, versions)
>   File "./freevo", line 401, in parse_options
> usage=help_usage % '\n  '.join(get_helpers()), version='%prog-' +
> versions['version'])
> KeyError: 'version'
> 
> Anyone have any idea what to do next?

Bit confused by what you mean by compiled. Normally you would type:

freevo

But I think you need to install it correctly first, this is done with
the command:

python setup.py install --prefix=~/freevo

Same command for the kaa packages, if you are using ~/freevo.

Then you will also need to set PYTHONPATH and path like:
export PYTHONPATH=~/freevo/lib:${PYTHONPATH}
export PATH=~/freevo/bin:${PATH}

> 
> I suspect it is the format of my local_conf.py file, but I have tried
> running the convert_script.py over it and all
> I get is:

The commands are:
freevo convert_config /path/to/local_conf.py
freevo convert_config /path/to/local_conf.py -w

not ./convert_config.py

> ./convert_config.py: line 124: MIXER_MIXER_:: command not found

Duncan

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Version error running latest Freevo 1.9.0

2009-06-05 Thread Evan Hisey
2009/6/5 Bernard Mentink :
> Hi All,
>
> I have compiled Freevo 1.9.0 and the kaa packages with the script on the
> Ubuntu page. All compiles ok, but I am getting the following run-time error:
>
> ~/freevo/bin$ ./freevo
> Traceback (most recent call last):
>   File "./freevo", line 516, in 
>     (opts, args) = parse_options(defaults, versions)
>   File "./freevo", line 401, in parse_options
>     usage=help_usage % '\n  '.join(get_helpers()), version='%prog-' +
> versions['version'])
> KeyError: 'version'
>
> Anyone have any idea what to do next?
>
> I suspect it is the format of my local_conf.py file, but I have tried
> running the convert_script.py over it and all
> I get is:
>
> ./convert_config.py: line 124: MIXER_MIXER_:: command not found
> ./convert_config.py: line 125: SHUTDOWN_CONFIRM:: command not found
> ./convert_config.py: line 126: SHUTDOWN_SYS_CMD:: command not found
> ./convert_config.py: line 127: RESTART_SYS_CMD:: command not found
> ./convert_config.py: line 128: SHUTDOWN_SYS_ENABLE:: command not found
> ./convert_config.py: line 129: AUTOSYS_SHUTDOWN_CONFIRM:: command not found
> ./convert_config.py: line 130: ICECAST_WWW_PAGE:: command not found
> ./convert_config.py: line 131: USE_SDL_KEYBOARD:: command not found
> ./convert_config.py: line 132: USE_NETWORK:: command not found
> ./convert_config.py: line 133: SYS_SYS_USE_NETWORK:: command not found
> ./convert_config.py: line 134: MPLAYERVIS_FAST_FULLSCREEN:: command not
> found
> ./convert_config.py: line 135: IMAGEVIEWER_ASPECT:: command not found
> ./convert_config.py: line 136: ENCODINGSERVER_SAVE_DIR:: command not found
> ./convert_config.py: line 137: syntax error near unexpected token `}'
> ./convert_config.py: line 137: `}'
>
>
> Thanks.
IT looks like your local_conf.py is broken. See the last lines of the
log. Try using the example file and see if freevo works then.

Evan

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users