Based on the line above it:
log('  Starting item (%s)' % cmd)

The log file (freevo_record.log) should contain the command being
called. 

You could also check for the return value (os.system() returns the
error code)

i.e.

return = os.system(cmd)
log('%s' % return)

where the 

os.system(cmd)

was.

Aubin


On Wed, Mar 26, 2003 at 08:35:22PM -0600, K. Creason wrote:
> This is driving me crazy.
> 
> How can I debug the python system call "os.system(cmd)" on line 174 of the
> record_daemon.py?
> 
> I can't see that the operation is ever fired; it runs the rewrite and builds
> the command just dandy, but no starting of the mencoder command.
> 
> Help python people, please.
> 
> Background: this is 1.3.2.pre2; it is not recording. The crontab is
> scheduled and it is readying the record.lst, building the command,
> commenting out the old entries, and writing the new record.lst but there is
> no mencoder job started and no log file created from the mencoder operation.
> It's like it never was executed. How can I put the record_daemon.py into a
> debug mode and see what's going on? Is this command getting executed? where
> is the error output if so, because there is no success at all.
> 
> Thanks.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of K. Creason
> Sent: Sunday, March 23, 2003 10:45 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Freevo-users] How to do TV recording??
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> Freevo-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-users


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to