[mythtv-commits] Ticket #4036: fatal error when deleting an upcoming recording

MythTV mythtv at cvs.mythtv.org
Mon Nov 12 00:22:28 UTC 2007


#4036: fatal error when deleting an upcoming recording
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |        Owner:  kormoc  
     Type:  defect     |       Status:  assigned
 Priority:  minor      |    Milestone:  unknown 
Component:  mythweb    |      Version:  0.20.2  
 Severity:  medium     |   Resolution:          
  Mlocked:  0          |  
-----------------------+----------------------------------------------------
Changes (by kormoc):

  * owner:  xris => kormoc
  * status:  new => assigned


Old description:

> I wanted to be sure that my one-time recording of High School Musical (5
> p.m. on 9/30) would not be cut off when the regularly scheduled recording
> of Seinfeld began at 6:30 p.m.  I went into "Upcoming Recordings" to
> click "Don't Record" on that Seinfeld, and it resulted in a "fatal
> error."  Specifically, it read:
>
> Fatal Error at /var/www/mythweb/modules/tv/includes/objects/Program.php,
> line 792:
> Unknown schedule for this program's recordid:
>
> If you choose to submit a bug report, please make sure to include a
> brief description of what you were doing, along with the following
> backtrace as an attachment (please don't paste the whole thing into
> the ticket).
>
> Backtrace:
>     datetime:  2007-09-30 17:03:08 (CDT)
>     errornum:  256
>   error type:  User Error
> error string:  Unknown schedule for this program's recordid:
>     filename:  /var/www/mythweb/modules/tv/includes/objects/Program.php
>   error line:  792
>
> ==========================================================================
>
> Backtrace:
>
>     file:  /var/www/mythweb/modules/tv/includes/objects/Program.php
>     line:  792
>    class:
> function:  trigger_error
>     type:
>     args:  Array
> (
>     [0] => Unknown schedule for this program's recordid:
>     [1] => 256
> )
>
>     file:  /var/www/mythweb/modules/tv/upcoming.php
>     line:  48
>    class:  Program
> function:  rec_override
>     type:  ->
>     args:  Array
> (
>     [0] => 8
> )
>
>     file:  /var/www/mythweb/modules/tv/handler.php
>     line:  75
>    class:
> function:  require_once
>     type:
>     args:  Array
> (
>     [0] => /var/www/mythweb/modules/tv/upcoming.php
> )
>
>     file:  /var/www/mythweb/mythweb.php
>     line:  28
>    class:
> function:  require_once
>     type:
>     args:  Array
> (
>     [0] => /var/www/mythweb/modules/tv/handler.php
> )
>

> ==========================================================================
>
> $_GET: Array
> (
>     [dontrec] => yes
>     [chanid] => 1002
>     [starttime] => 1191195000
>     [manualid] => 0
> )
>
> ==========================================================================
>
> $_SESSION: Array
> (
>     [language] => English
>     [tmpl] => default
>     [skin] => default
>     [prefer_channum] => 1
>     [date_statusbar] => %a %b %e, %Y, %I:%M %p
>     [date_scheduled] => %a %b %e, %Y (%I:%M %p)
>     [date_scheduled_popup] => %a %b %e, %Y
>     [date_recorded] => %a %b %e, %Y (%I:%M %p)
>     [date_search] => %a %b %e, %Y, %I:%M %p
>     [date_listing_key] => %a %b %e, %Y, %I:%M %p
>     [date_listing_jump] => %a %b %e, %Y
>     [date_channel_jump] => %a %b %e, %Y
>     [date_job_status] => %a %b %e, %Y, %I:%M %p
>     [time_format] => %I:%M %p
>     [use_myth_uri] => 1
>     [recorded_pixmaps] => 1
>     [guide_favonly] =>
>     [timeslot_size] => 300
>     [num_time_slots] => 36
>     [timeslot_blocks] => 3
>     [timeslotbar_skip] => 20
>     [max_stars] => 4
>     [star_character] => ♦
>     [tv] => Array
>         (
>             [last] => Array
>                 (
>                     [0] => upcoming
>                     [1] => 1002
>                     [2] => 1191195000
>                 )
>
>             [show_advanced_schedule] => 1
>         )
>
>     [list_time] => 1191189600
>     [scheduled_recordings] => Array
>         (
>             [disp_scheduled] => 1
>             [disp_duplicates] => 1
>             [disp_deactivated] => 1
>             [disp_conflicts] => 1
>         )
>
>     [scheduled_sortby] => Array
>         (
>             [0] => Array
>                 (
>                     [field] => airdate
>                     [reverse] =>
>                 )
>
>             [1] => Array
>                 (
>                     [field] => title
>                     [reverse] =>
>                 )
>
>         )
>
> )
>
> ==========================================================================
>
> $_SERVER: Array
> (
>     [REDIRECT_STATUS] => 200
>     [HTTP_ACCEPT] => */*
>     [HTTP_ACCEPT_LANGUAGE] => en
>     [HTTP_ACCEPT_ENCODING] => gzip, deflate
>     [HTTP_COOKIE] => mythweb_id=28ad138ff9b512c9ea95e219dba1d4c4
>     [HTTP_REFERER] => http://192.168.1.108/mythweb/tv/upcoming
>     [HTTP_USER_AGENT] => Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en)
> AppleWebKit/419 (KHTML, like Gecko) Safari/419.3
>     [HTTP_CONNECTION] => keep-alive
>     [HTTP_HOST] => 192.168.1.108
>     [PATH] => /usr/local/bin:/usr/bin:/bin
>     [SERVER_SIGNATURE] => <address>Apache/2.0.55 (Ubuntu) PHP/5.1.2
> Server at 192.168.1.108 Port 80</address>
>
>     [SERVER_SOFTWARE] => Apache/2.0.55 (Ubuntu) PHP/5.1.2
>     [SERVER_NAME] => 192.168.1.108
>     [SERVER_ADDR] => 192.168.1.108
>     [SERVER_PORT] => 80
>     [REMOTE_ADDR] => 192.168.1.105
>     [DOCUMENT_ROOT] => /var/www
>     [SERVER_ADMIN] => webmaster at localhost
>     [SCRIPT_FILENAME] => /var/www/mythweb/mythweb.php
>     [REMOTE_PORT] => 56676
>     [REDIRECT_QUERY_STRING] => dontrec=yes
>     [REDIRECT_URL] => /mythweb/tv/upcoming/1002/1191195000
>     [GATEWAY_INTERFACE] => CGI/1.1
>     [SERVER_PROTOCOL] => HTTP/1.1
>     [REQUEST_METHOD] => GET
>     [QUERY_STRING] => dontrec=yes
>     [REQUEST_URI] => /mythweb/tv/upcoming/1002/1191195000?dontrec=yes
>     [SCRIPT_NAME] => /mythweb/mythweb.php
>     [PATH_INFO] => /tv/upcoming/1002/1191195000
>     [PATH_TRANSLATED] => /var/www/tv/upcoming/1002/1191195000
>     [PHP_SELF] => /mythweb/mythweb.php/tv/upcoming/1002/1191195000
>     [REQUEST_TIME] => 1191189788
>     [argv] => Array
>         (
>             [0] => dontrec=yes
>         )
>
>     [argc] => 1
>     [STATUS] => 200
>     [URL] => /mythweb/tv/upcoming/1002/1191195000
> )

New description:

 I wanted to be sure that my one-time recording of High School Musical (5
 p.m. on 9/30) would not be cut off when the regularly scheduled recording
 of Seinfeld began at 6:30 p.m.  I went into "Upcoming Recordings" to click
 "Don't Record" on that Seinfeld, and it resulted in a "fatal error."
 Specifically, it read:
 {{{
 Fatal Error at /var/www/mythweb/modules/tv/includes/objects/Program.php,
 line 792:
 Unknown schedule for this program's recordid:

 If you choose to submit a bug report, please make sure to include a
 brief description of what you were doing, along with the following
 backtrace as an attachment (please don't paste the whole thing into
 the ticket).

 Backtrace:
     datetime:  2007-09-30 17:03:08 (CDT)
     errornum:  256
   error type:  User Error
 error string:  Unknown schedule for this program's recordid:
     filename:  /var/www/mythweb/modules/tv/includes/objects/Program.php
   error line:  792

 ==========================================================================

 Backtrace:

     file:  /var/www/mythweb/modules/tv/includes/objects/Program.php
     line:  792
    class:
 function:  trigger_error
     type:
     args:  Array
 (
     [0] => Unknown schedule for this program's recordid:
     [1] => 256
 )

     file:  /var/www/mythweb/modules/tv/upcoming.php
     line:  48
    class:  Program
 function:  rec_override
     type:  ->
     args:  Array
 (
     [0] => 8
 )

     file:  /var/www/mythweb/modules/tv/handler.php
     line:  75
    class:
 function:  require_once
     type:
     args:  Array
 (
     [0] => /var/www/mythweb/modules/tv/upcoming.php
 )

     file:  /var/www/mythweb/mythweb.php
     line:  28
    class:
 function:  require_once
     type:
     args:  Array
 (
     [0] => /var/www/mythweb/modules/tv/handler.php
 )


 ==========================================================================

 $_GET: Array
 (
     [dontrec] => yes
     [chanid] => 1002
     [starttime] => 1191195000
     [manualid] => 0
 )

 ==========================================================================

 $_SESSION: Array
 (
     [language] => English
     [tmpl] => default
     [skin] => default
     [prefer_channum] => 1
     [date_statusbar] => %a %b %e, %Y, %I:%M %p
     [date_scheduled] => %a %b %e, %Y (%I:%M %p)
     [date_scheduled_popup] => %a %b %e, %Y
     [date_recorded] => %a %b %e, %Y (%I:%M %p)
     [date_search] => %a %b %e, %Y, %I:%M %p
     [date_listing_key] => %a %b %e, %Y, %I:%M %p
     [date_listing_jump] => %a %b %e, %Y
     [date_channel_jump] => %a %b %e, %Y
     [date_job_status] => %a %b %e, %Y, %I:%M %p
     [time_format] => %I:%M %p
     [use_myth_uri] => 1
     [recorded_pixmaps] => 1
     [guide_favonly] =>
     [timeslot_size] => 300
     [num_time_slots] => 36
     [timeslot_blocks] => 3
     [timeslotbar_skip] => 20
     [max_stars] => 4
     [star_character] => &diams;
     [tv] => Array
         (
             [last] => Array
                 (
                     [0] => upcoming
                     [1] => 1002
                     [2] => 1191195000
                 )

             [show_advanced_schedule] => 1
         )

     [list_time] => 1191189600
     [scheduled_recordings] => Array
         (
             [disp_scheduled] => 1
             [disp_duplicates] => 1
             [disp_deactivated] => 1
             [disp_conflicts] => 1
         )

     [scheduled_sortby] => Array
         (
             [0] => Array
                 (
                     [field] => airdate
                     [reverse] =>
                 )

             [1] => Array
                 (
                     [field] => title
                     [reverse] =>
                 )

         )

 )

 ==========================================================================

 $_SERVER: Array
 (
     [REDIRECT_STATUS] => 200
     [HTTP_ACCEPT] => */*
     [HTTP_ACCEPT_LANGUAGE] => en
     [HTTP_ACCEPT_ENCODING] => gzip, deflate
     [HTTP_COOKIE] => mythweb_id=28ad138ff9b512c9ea95e219dba1d4c4
     [HTTP_REFERER] => http://192.168.1.108/mythweb/tv/upcoming
     [HTTP_USER_AGENT] => Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en)
 AppleWebKit/419 (KHTML, like Gecko) Safari/419.3
     [HTTP_CONNECTION] => keep-alive
     [HTTP_HOST] => 192.168.1.108
     [PATH] => /usr/local/bin:/usr/bin:/bin
     [SERVER_SIGNATURE] => <address>Apache/2.0.55 (Ubuntu) PHP/5.1.2 Server
 at 192.168.1.108 Port 80</address>

     [SERVER_SOFTWARE] => Apache/2.0.55 (Ubuntu) PHP/5.1.2
     [SERVER_NAME] => 192.168.1.108
     [SERVER_ADDR] => 192.168.1.108
     [SERVER_PORT] => 80
     [REMOTE_ADDR] => 192.168.1.105
     [DOCUMENT_ROOT] => /var/www
     [SERVER_ADMIN] => webmaster at localhost
     [SCRIPT_FILENAME] => /var/www/mythweb/mythweb.php
     [REMOTE_PORT] => 56676
     [REDIRECT_QUERY_STRING] => dontrec=yes
     [REDIRECT_URL] => /mythweb/tv/upcoming/1002/1191195000
     [GATEWAY_INTERFACE] => CGI/1.1
     [SERVER_PROTOCOL] => HTTP/1.1
     [REQUEST_METHOD] => GET
     [QUERY_STRING] => dontrec=yes
     [REQUEST_URI] => /mythweb/tv/upcoming/1002/1191195000?dontrec=yes
     [SCRIPT_NAME] => /mythweb/mythweb.php
     [PATH_INFO] => /tv/upcoming/1002/1191195000
     [PATH_TRANSLATED] => /var/www/tv/upcoming/1002/1191195000
     [PHP_SELF] => /mythweb/mythweb.php/tv/upcoming/1002/1191195000
     [REQUEST_TIME] => 1191189788
     [argv] => Array
         (
             [0] => dontrec=yes
         )

     [argc] => 1
     [STATUS] => 200
     [URL] => /mythweb/tv/upcoming/1002/1191195000
 )
 }}}

--

Comment:

 Do you get this with the current version? I can't seem to reproduce it....

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4036#comment:2>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list