> I might have jumped the gun in my reply.  Can you show the source to a
> complete example (that can be put in src/helpers/foo.py) that reproduces
> the problem when running "freevo foo"?
>
Well, this is an eye opener..  Running as a helper the code works.  I have
attached anyway, just in case it helps..

Run with:
freevo cd_burn_cl existing_mp3_file_name

(eg) freevo cd_burn_cl /music/Sting\ \&\ Cheb\ Mami\ -\ Desert\ Rose.mp3

Seccessful run output (using the helper):

cd_burn_cl.py (248): CDBURN : run_child pid is 15285
CDBURN : Waitting for 15285
cd_burn_cl.py (252): CDBURN : run_child runtime is 0
cd_burn_cl.py (258): Checking for WNOHANG
cd_burn_cl.py (262): WNOHANG went well..????
cd_burn_cl.py (271): CDBURN : run_child runtime is 0
CDBURN : Polled mplayer -ao pcm -waveheader -vc dummy -vo null "/music/Sting
& Cheb Mami - Desert Rose.mp3" 2>&1 (pid : 15285), status is -1
cd_burn_cl.py (258): Checking for WNOHANG
cd_burn_cl.py (262): WNOHANG went well..????
cd_burn_cl.py (271): CDBURN : run_child runtime is 1

Unseccssful output(same code, as a plugin):

cd_burn.py (368): CDBURN : run_child pid is 10125
CDBURN : Waitting for 10125
cd_burn.py (372): CDBURN : run_child runtime is 0
cd_burn.py (378): Checking for WNOHANG
cd_burn.py (389): WNOHANG error [Errno 10] No child processes
cd_burn.py (391): CDBURN : run_child runtime is 0
CDBURN : Polled mplayer -ao pcm -waveheader -vc dummy -vo null
"/music/Coldplay/A Rush Of Blood TO The Head/01 - Politik.mp3" 2>&1 (pid :
10125), status is -1
cd_burn.py (378): Checking for WNOHANG
cd_burn.py (389): WNOHANG error [Errno 10] No child processes
cd_burn.py (391): CDBURN : run_child runtime is 1

Soo, yes this is the issue.. but what does it mean?

I'm thinking maybe its an environment issue??  Here are my environment
variables (yes, i'm really lost.. any ideas are welcome)
freevo root # export
declare -x CC="gcc"
declare -x CONFIG_PROTECT="/usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config
/usr/share/config"
declare -x CONFIG_PROTECT_MASK="/etc/gconf"
declare -x CVS_RSH="ssh"
declare -x CXX="g++"
declare -x EDITOR="/usr/bin/vim"
declare -x GDK_USE_XFT="1"
declare -x GLIBC_SSP_CHECKED="1"
declare -x G_BROKEN_FILENAMES="1"
declare -x HOME="/mnt"
declare -x HOSTNAME="freevo"
declare -x INFODIR="/usr/share/info:/usr/X11R6/info"
declare -x
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info"
declare -x INPUTRC="/etc/inputrc"
declare -x KDEDIR="/usr/kde/3.2"
declare -x KDEDIRS="/usr"
declare -x LESS="-R"
declare -x LESSOPEN="|lesspipe.sh %s"
declare -x LOGNAME="root"
declare -x MAIL="/var/mail/root"
declare -x
MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-lin
ux-gnu/3.3/man:/usr/X11R6/man:/usr/qt/3/doc/man"
declare -x OLDPWD
declare -x PAGER="/usr/bin/less"
declare -x
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-lin
ux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/usr/qt/3/bin:/usr/kde/3.2/sbin:/usr/kde/3
.2/bin"
declare -x PS1="\\[\\033[01;31m\\]\\h \\[\\033[01;34m\\]\\W \\\$
\\[\\033[00m\\]"
declare -x PWD="/root"
declare -x QMAKESPEC="linux-g++"
declare -x QTDIR="/usr/qt/3"
declare -x SDL_NOMOUSE="1"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_CLIENT="192.168.0.10 3784 22"
declare -x SSH_CONNECTION="192.168.0.10 3784 192.168.0.20 22"
declare -x SSH_TTY="/dev/pts/0"
declare -x TERM="xterm"
declare -x USER="root"
declare -x XINITRC="/etc/X11/xinit/xinitrc"

Cheers,

Mick

Attachment: cd_burn_cl.py
Description: Binary data

Reply via email to