[mythtv-commits] Ticket #12406: Recording Schedules Error

MythTV noreply at mythtv.org
Mon Mar 9 00:27:36 UTC 2015


#12406: Recording Schedules Error
--------------------------------------+-------------------------
     Reporter:  spideyk21@…           |      Owner:
         Type:  Bug Report - General  |     Status:  new
     Priority:  minor                 |  Milestone:  unknown
    Component:  MythTV - General      |    Version:  Unspecified
     Severity:  medium                |   Keywords:
Ticket locked:  0                     |
--------------------------------------+-------------------------
 Trying to set the a Recording, The Odd Couple, to HD only.


     datetime:  2015-03-08 20:24:25 (EDT)
     errornum:  256
   error type:  User Error
 error string:  !!NoTrans: SQL Error: Out of range value for column
 'chanid' at row 1 [#1264]!!
     filename:  /data/srv/httpd/mythweb/classes/Database/Query/mysql.php
   error line:  79

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

 Backtrace:

     file:  /data/srv/httpd/mythweb/classes/Database/Query/mysql.php
     line:  79
    class:
 function:  trigger_error
     type:
     args:  Array
 (
     [0] => SQL Error: Out of range value for column 'chanid' at row 1
 [#1264]
     [1] => 256
 )

     file:  /data/srv/httpd/mythweb/classes/Database.php
     line:  261
    class:  Database_Query_mysql
 function:  execute
     type:  ->
     args:  Array
 (
     [0] => Array
         (
             [0] => 551
             [1] => 4
             [2] => -1
             [3] => 1424395800
             [4] => 1424395800
             [5] => 1424397600
             [6] => 1424397600
             [7] => 0
             [8] => The Odd Couple
             [9] => Pilot
             [10] => After both of their marriages fail, Oscar Madison and
 his uptight, former college roommate, Felix Unger, decide to live
 together.
             [11] => Default
             [12] => 0
             [13] => Sitcom
             [14] => 0
             [15] => 0
             [16] => 0
             [17] => 0
             [18] => 1
             [19] => 1
             [20] => Default
             [21] => 6
             [22] => 15
             [23] => CBSHD
             [24] => EP01922417
             [25] => EP019224170001
             [26] => 0
             [27] => 5
             [28] => 20:30:00
             [29] => 736014
             [30] => 0
             [31] => 0
             [32] => 0
             [33] => 0
             [34] => 0
             [35] => 0
             [36] => 0
             [37] => 1
             [38] => Default
             [39] => Default
             [40] => 0
             [41] => 2015-03-13 00:30:00
             [42] => 2015-03-06 01:29:15
             [43] => 2015-02-22 15:37:50
             [44] =>
             [45] => 1
             [46] => 1
             [47] => 35
         )

 )

     file:  /data/srv/httpd/mythweb/modules/tv/classes/Schedule.php
     line:  386
    class:  Database
 function:  query
     type:  ->
     args:  Array
 (
     [0] => REPLACE INTO record
 (recordid,type,chanid,starttime,startdate,endtime,enddate,search,
 title,subtitle,description,profile,recpriority,category,
 maxnewest,inactive,maxepisodes,autoexpire,startoffset,endoffset,
 recgroup,dupmethod,dupin,station,seriesid,programid,autocommflag,
 findday,findtime,findid,autotranscode,parentid,transcoder,
 autouserjob1,autouserjob2,autouserjob3,autouserjob4,autometadata,
 playgroup,storagegroup,prefinput,
 next_record,last_record,last_delete,inetref,season,episode,filter)
                                        VALUES (?,?,?,
 FROM_UNIXTIME(?),FROM_UNIXTIME(?),FROM_UNIXTIME(?),FROM_UNIXTIME(?),
 ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
     [1] => 551
     [2] => 4
     [3] => -1
     [4] => 1424395800
     [5] => 1424395800
     [6] => 1424397600
     [7] => 1424397600
     [8] => 0
     [9] => The Odd Couple
     [10] => Pilot
     [11] => After both of their marriages fail, Oscar Madison and his
 uptight, former college roommate, Felix Unger, decide to live together.
     [12] => Default
     [13] => 0
     [14] => Sitcom
     [15] => 0
     [16] => 0
     [17] => 0
     [18] => 0
     [19] => 1
     [20] => 1
     [21] => Default
     [22] => 6
     [23] => 15
     [24] => CBSHD
     [25] => EP01922417
     [26] => EP019224170001
     [27] => 0
     [28] => 5
     [29] => 20:30:00
     [30] => 736014
     [31] => 0
     [32] => 0
     [33] => 0
     [34] => 0
     [35] => 0
     [36] => 0
     [37] => 0
     [38] => 1
     [39] => Default
     [40] => Default
     [41] => 0
     [42] => 2015-03-13 00:30:00
     [43] => 2015-03-06 01:29:15
     [44] => 2015-02-22 15:37:50
     [45] =>
     [46] => 1
     [47] => 1
     [48] => 35
 )

     file:  /data/srv/httpd/mythweb/modules/tv/detail.php
     line:  250
    class:  Schedule
 function:  save
     type:  ->
     args:  Array
 (
     [0] => 4
 )

     file:  /data/srv/httpd/mythweb/modules/tv/handler.php
     line:  82
    class:
 function:  require_once
     type:
     args:  Array
 (
     [0] => /data/srv/httpd/mythweb/modules/tv/detail.php
 )

     file:  /data/srv/httpd/mythweb/mythweb.php
     line:  35
    class:
 function:  require_once
     type:
     args:  Array
 (
     [0] => /data/srv/httpd/mythweb/modules/tv/handler.php
 )


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

 $_GET: Array
 (
     [recordid] => 551
     [chanid] => 0
     [starttime] => 0
     [manualid] => 0
 )

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

 $_POST: Array
 (
     [record] => 4
     [profile] => Default
     [transcoder] => 0
     [recgroup] => Default
     [storagegroup] => Default
     [playgroup] => Default
     [recpriority] => 0
     [dupmethod] => 6
     [dupin] => 15
     [prefinput] => 0
     [inetref] =>
     [season] => 1
     [episode] => 1
     [recordfilter_0] => 1
     [recordfilter_1] => 1
     [recordfilter_5] => 1
     [autometadata] => 1
     [maxepisodes] => 0
     [startoffset] => 1
     [endoffset] => 1
     [save] => Update Recording Settings
 )

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

 $_SESSION: Array
 (
     [language] => English
     [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
     [recorded_pixmaps] => 1
     [guide_favonly] =>
     [timeslot_size] => 300
     [num_time_slots] => 36
     [timeslot_blocks] => 3
     [timeslotbar_skip] => 20
     [max_stars] => 4
     [star_character] => ★
     [show_popup_info] => 1
     [show_channel_icons] => 1
     [sortby_channum] => 1
     [recorded_paging] =>
     [genre_colors] => 1
     [show_video_covers] => 1
     [settings] => Array
         (
             [screens] => Array
                 (
                     [tv] => Array
                         (
                             [upcoming recordings] => Array
                                 (
                                     [title] => on
                                     [channel] => on
                                     [record date] => on
                                     [length] => on
                                 )

                         )

                 )

             [last] => Array
                 (
                     [0] => tv
                     [1] => channels
                 )

             [host] => main_htpc
         )

     [backend] => Array
         (
             [192.168.1.47] => Array
                 (
                     [proto_version] => Array
                         (
                             [last_check_version] => 77
                             [last_check_time] => 1425860531
                         )

                 )

             [timezone] => Array
                 (
                     [value] => America/Detroit
                     [last_check_time] => 1425788149
                 )

         )

     [tv] => Array
         (
             [last] => Array
                 (
                     [0] => detail
                 )

             [show_advanced_schedule] => 1
             [set] => Array
                 (
                     [chan_sort] => channum
                 )

         )

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

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

         )

     [scheduled_recordings] => Array
         (
             [disp_scheduled] => 1
             [disp_duplicates] =>
             [disp_deactivated] =>
             [disp_conflicts] =>
             [disp_recgroup] =>
             [disp_title] =>
         )

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

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

             [2] => Array
                 (
                     [field] => airdate
                     [reverse] =>
                 )

         )

     [search] => Array
         (
             [type] => q
             [s] => ninja turtles
             [ctype] => Array
                 (
                     [0] => movie
                     [1] => series
                     [2] => sports
                     [3] => tvshow
                 )

             [categories] => Array ( )
             [stars_gt] => 0
             [stars_lt] => 1
             [starttime] => now
             [endtime] => + 2 weeks
             [as] => Array
                 (
                     [0] => 26
                     [1] => rally
                 )

             [af] => Array
                 (
                     [0] => Array
                         (
                             [0] => channum
                         )

                     [1] => Array
                         (
                             [0] => title
                         )

                 )

             [aj] => Array
                 (
                     [0] => AND
                     [1] => AND
                 )

             [hd] =>
             [commfree] =>
             [unwatched] =>
             [scheduled] =>
             [generic] =>
             [airdate_start] =>
             [airdate_end] =>
             [distinctTitle] =>
         )

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

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

         )

     [recording_details] => Array
         (
             [show_Conflict] => 1
             [show_PreviousRecording] => 1
             [show_EarlierShowing] => 1
             [show_CurrentRecording] => 1
             [show_WillRecord] => 1
         )

     [recorded_sortby] => Array
         (
             [0] => Array
                 (
                     [field] => airdate
                     [reverse] => 1
                 )

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

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

         )

     [list_time] => 1424550600
     [video_sortby] => Array
         (
             [0] => Array
                 (
                     [field] => title
                     [reverse] =>
                 )

         )

     [video] => Array
         (
             [path] => /TV/Comic Book Men
             [browse] => -1
             [VideoAdminPassword] =>
         )

     [cache_engine] => Cache_Null
     [stream] => Array
         (
             [include_user_and_password] =>
         )

     [] => Array ( )
     [recorded_title] =>
     [recorded_recgroup] =>
 )

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

 $_SERVER: Array
 (
     [TERM] => linux
     [PATH] => /usr/local/bin:/usr/bin
     [PWD] => /etc/sv/lighttpd
     [LANG] => en_US.UTF-8
     [SHLVL] => 0
     [PHP_FCGI_CHILDREN] => 1
     [ORIG_PATH_TRANSLATED] => /data/srv/httpd/mythweb//tv/detail
     [ORIG_SCRIPT_FILENAME] =>
 /data/srv/httpd/mythweb//mythweb.php/tv/detail
     [DB_PASSWORD] => mythtv
     [DB_LOGIN] => mythtv
     [DB_NAME] => mythconverg
     [DB_SERVER] => localhost
     [AUTH_TYPE] => Basic
     [REMOTE_USER] => spideyk21
     [HTTP_COOKIE] => mythweb_id=4bvegpp1amdpciarbovsv4re23
     [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.8
     [HTTP_ACCEPT_ENCODING] => gzip, deflate
     [HTTP_REFERER] => http://192.168.1.47/mythweb/tv/detail?recordid=551
     [CONTENT_TYPE] => application/x-www-form-urlencoded
     [HTTP_USER_AGENT] => Mozilla/5.0 (X11; Linux x86_64)
 AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36
     [HTTP_ORIGIN] => http://192.168.1.47
     [HTTP_ACCEPT] =>
 text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
     [HTTP_AUTHORIZATION] => Basic c3BpZGV5azIxOmVhZ2xlMTk5OQ==
     [HTTP_CACHE_CONTROL] => max-age=0
     [HTTP_CONTENT_LENGTH] => 305
     [HTTP_CONNECTION] => keep-alive
     [HTTP_HOST] => 192.168.1.47
     [SERVER_PROTOCOL] => HTTP/1.1
     [REDIRECT_STATUS] => 200
     [REQUEST_METHOD] => POST
     [QUERY_STRING] => recordid=551
     [REDIRECT_URI] => /mythweb/mythweb.php/tv/detail?recordid=551
     [REQUEST_URI] => /tv/detail?recordid=551
     [DOCUMENT_ROOT] => /data/srv/httpd/mythweb
     [SCRIPT_FILENAME] => /data/srv/httpd/mythweb//mythweb.php
     [PATH_TRANSLATED] => /data/srv/httpd/mythweb/tv/detail
     [PATH_INFO] => /tv/detail
     [SCRIPT_NAME] => /mythweb/mythweb.php
     [CONTENT_LENGTH] => 305
     [REMOTE_ADDR] => 192.168.1.9
     [REMOTE_PORT] => 57015
     [SERVER_ADDR] => 192.168.1.47
     [SERVER_PORT] => 80
     [GATEWAY_INTERFACE] => CGI/1.1
     [SERVER_NAME] => 192.168.1.47
     [SERVER_SOFTWARE] => lighttpd/1.4.35
     [FCGI_ROLE] => RESPONDER
     [PHP_SELF] => /mythweb/mythweb.php/tv/detail
     [PHP_AUTH_USER] => spideyk21
     [PHP_AUTH_PW] => eagle1999
     [REQUEST_TIME_FLOAT] => 1425860665.1043
     [REQUEST_TIME] => 1425860665
     [STATUS] => 200
     [URI] => /mythweb/mythweb.php/tv/detail?recordid=551
     [HTTP_PORT] => 80
 )

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

 $constant_list["user"]: Array
 (
     [ERROR] => 512
     [E_ASSERT_ERROR] => 4096
     [FATAL] => 256
     [JOB_ABORTED] => 288
     [JOB_ABORTING] => 9
     [JOB_CANCELLED] => 320
     [JOB_COMMFLAG] => 2
     [JOB_DONE] => 256
     [JOB_ERRORED] => 304
     [JOB_ERRORING] => 8
     [JOB_EXTERNAL] => 4
     [JOB_FINISHED] => 272
     [JOB_LIST_ALL] => 1
     [JOB_LIST_DONE] => 2
     [JOB_LIST_ERROR] => 8
     [JOB_LIST_NOT_DONE] => 4
     [JOB_LIST_RECENT] => 16
     [JOB_LIVE_REC] => 2
     [JOB_METADATA] => 4
     [JOB_NONE] => 0
     [JOB_NO_FLAGS] => 0
     [JOB_PAUSE] => 1
     [JOB_PAUSED] => 6
     [JOB_PENDING] => 2
     [JOB_QUEUED] => 1
     [JOB_RESTART] => 8
     [JOB_RESUME] => 2
     [JOB_RETRY] => 7
     [JOB_RUN] => 0
     [JOB_RUNNING] => 4
     [JOB_STARTING] => 3
     [JOB_STOP] => 4
     [JOB_STOPPING] => 5
     [JOB_SYSTEMJOB] => 255
     [JOB_TRANSCODE] => 1
     [JOB_UNKNOWN] => 0
     [JOB_USERJOB] => 65280
     [JOB_USERJOB1] => 256
     [JOB_USERJOB2] => 512
     [JOB_USERJOB3] => 1024
     [JOB_USERJOB4] => 2048
     [JOB_USE_CUTLIST] => 1
     [PHP_MIN_VERSION] => 5.3
     [WARNING] => 1024
     [WebDBSchemaVer] => 4
     [dupsin_all] => 15
     [dupsin_newepisodes] => 16
     [dupsin_oldrecorded] => 2
     [dupsin_recorded] => 1
     [error_email] =>
     [gb] => 1073741824
     [hostname] => main_htpc
     [http_host] => 192.168.1.47
     [kb] => 1024
     [max_stars] => 4
     [mb] => 1048576
     [module] => tv
     [modules_path] => /data/srv/httpd/mythweb/modules
     [num_time_slots] => 36
     [prefer_channum] => 1
     [rectype_always] => 4
     [rectype_daily] => 2
     [rectype_dontrec] => 8
     [rectype_findone] => 6
     [rectype_once] => 1
     [rectype_override] => 7
     [rectype_template] => 11
     [rectype_weekly] => 5
     [root] => /mythweb/
     [root_auth_url] => http://192.168.1.47/mythweb/
     [root_url] => http://192.168.1.47/mythweb/
     [searchtype_keyword] => 3
     [searchtype_manual] => 5
     [searchtype_people] => 4
     [searchtype_power] => 1
     [searchtype_title] => 2
     [skin] => default
     [skin_img_url] => http://192.168.1.47/mythweb/skins/default/img/
     [skin_url] => http://192.168.1.47/mythweb/skins/default/
     [star_character] => ★
     [stream_url] => http://192.168.1.47:80//mythweb/
     [tb] => 1099511627776
     [timeslot_blocks] => 3
     [timeslot_size] => 300
     [timeslotbar_skip] => 20
     [tmpl] => default
     [tmpl_dir] => modules/tv/tmpl/default/
 )

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12406>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list