Pirlouwi wrote:
> What is strange is that the command seems to be launched, but nothing
> is logged in the two log files:
> Here is some log from my linux:
> # ps -ef | grep record
> croisez  26313  4997  0 20:53 ?        00:00:00 /bin/sh -c 
> /usr/share/freevo/record.sh E7 2807
> "/var/cache/freevo/vfs/home/croisez/records/10-08_20:50_Cold_case:_affaires_class_es.avi"
>
> croisez  26316 26313  0 20:53 ?        00:00:00 /bin/bash -x
> /usr/share/freevo/record.sh E7 2807
> /var/cache/freevo/vfs/home/croisez/records/10-08_20:50_Cold_case:_affaires_class_es.avi
>
>
> # ls -l /tmp/freevo (snipped)
> -rw-rw-r-- 1 croisez croisez     0 2007-10-08 20:51 recorder_stderr.log
> -rw-rw-r-- 1 croisez croisez     0 2007-10-08 20:51 recorder_stdout.log
> -rw-r--r-- 1 root    root     7026 2007-10-08 20:53 recordserver-0.log
> -rw-rw-r-- 1 croisez croisez  5032 2007-10-08 20:55 recordserver-1000.log
> -rw-rw-r-- 1 croisez croisez     0 2007-10-08 20:53
> record.sh-stderr-1000.log
> -rw-rw-r-- 1 croisez croisez     0 2007-10-08 20:53
> record.sh-stdout-1000.log
>
> I dont understand this behavior, because the record.sh script works
> very well when launched from a terminal, and it displays some
> informations that should appear inside the record.sh-stdout-1000.log file.
> In attachement, I joined my record.sh script.
> Best Regards,
> Pirlouwi.
>
> 2007/10/8, Pirlouwi <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
>
>     Hello all, hello Duncan, and thx for your response.
>
>     For sure, I do have echo commands inside my bash script, mainly
>     because it is still in debug stage.
>     Concerning the passed arguments, I know I give 3 args from inside
>     freevo, so making an "echo $1 $2 $3" inside my script is enough.
>     My problem is that I don't see any echo inside
>     record.sh.stdout.log.  Despite the 2 log files are well created,
>     the commands inside my record.sh seems not to being executed.
>     ==> Is it possible that there is a problem/bug between the moment
>     when freevo creates the 2 log files and the moment when it
>     executes the VCR_CMD command? <==
>

What is your VCR_CMD in local_conf.py?

>
>     BTW could you explain me the way python handle the code
>     modification with respect to its execution cache? I had modified
>     my local_conf.my, and every time I restarted freevo, it did not
>     took my modif into account. I had been forced to reboot my linux
>     for these mods to be taken into account. Is there a command to
>     force the rebuild of that supposed freevo execution cache?
>

Every time freevo is started. Don't forget that the recording server
needs a restart after changing you local_conf.py too.
freevo recordserver stop
freevo recordserver start

I used to forget this.

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