hmmm. return didn't work, I think that's reserved. I tried bozo = os.system(cmd) and logged that.
I get (and have been getting) the log entry that says "starting /usr/blah/menocoder" with all the entries. The command works when run from the command line. Now with the bozo log, I get that previous log and a five digit number-- 32512 for instance. Looks like a pid, but the pids at this time aren't that high. And it's the both times now. What is that? Should I get on the developer list with this problem? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Aubin Paul Sent: Wednesday, March 26, 2003 9:42 PM To: [EMAIL PROTECTED] Subject: Re: [Freevo-users] record_daemon.py probs 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 ------------------------------------------------------- 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
