[mythtv-commits] Ticket #12299: Mysql error stoping listing view or show detail view

MythTV noreply at mythtv.org
Wed Oct 15 02:54:01 UTC 2014


#12299: Mysql error stoping listing view or show detail view
---------------------------------------+-------------------------
     Reporter:  Christopher.holcomb@…  |      Owner:
         Type:  Bug Report - General   |     Status:  new
     Priority:  minor                  |  Milestone:  unknown
    Component:  MythTV - General       |    Version:  Unspecified
     Severity:  medium                 |   Keywords:
Ticket locked:  0                      |
---------------------------------------+-------------------------
 datetime:  2014-10-14 21:52:14 (CDT)
     errornum:  256
   error type:  User Error
 error string:  !!NoTrans: SQL Error: Table './mythconverg/credits' is
 marked as crashed and last (automatic?) repair failed [#144]!!
     filename:  /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php
   error line:  79

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

 Backtrace:

     file:  /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php
     line:  79
    class:
 function:  trigger_error
     type:
     args:  Array
 (
     [0] => SQL Error: Table './mythconverg/credits' is marked as crashed
 and last (automatic?) repair failed [#144]
     [1] => 256
 )

     file:  /usr/share/mythtv/mythweb/classes/Database.php
     line:  261
    class:  Database_Query_mysql
 function:  execute
     type:  ->
     args:  Array
 (
     [0] => Array
         (
             [0] => host
             [1] => 1613
             [2] => 1413334800
         )

 )

     file:  /usr/share/mythtv/mythweb/modules/tv/classes/Program.php
     line:  551
    class:  Database
 function:  query
     type:  ->
     args:  Array
 (
     [0] => SELECT people.name
                                      FROM credits, people
                                     WHERE credits.person    =
 people.person
                                       AND credits.role      = ?
                                       AND credits.chanid    = ?
                                       AND credits.starttime =
 FROM_UNIXTIME(?)
     [1] => host
     [2] => 1613
     [3] => 1413334800
 )

     file:  /usr/share/mythtv/mythweb/modules/tv/tmpl/default/detail.php
     line:  330
    class:  Program
 function:  get_credits
     type:  ->
     args:  Array
 (
     [0] => host
     [1] => 1
 )

     file:  /usr/share/mythtv/mythweb/modules/tv/detail.php
     line:  325
    class:
 function:  require_once
     type:
     args:  Array
 (
     [0] => /usr/share/mythtv/mythweb/modules/tv/tmpl/default/detail.php
 )

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

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


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

 $_GET: Array
 (
     [chanid] => 1613
     [starttime] => 1413334740
     [manualid] => 0
 )

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

 $_SESSION: Array
 (
     [cache_engine] => Cache_Null
     [stream] => Array
         (
             [include_user_and_password] =>
         )

     [prefer_channum] => 1
     [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
                                 )

                         )

                 )

         )

     [backend] => Array
         (
             [192.168.10.19] => Array
                 (
                     [proto_version] => Array
                         (
                             [last_check_version] => 77
                             [last_check_time] => 1413341331
                         )

                 )

             [timezone] => Array
                 (
                     [value] => America/Chicago
                     [last_check_time] => 1413341332
                 )

         )

     [language] => English
     [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
     [tv] => Array
         (
             [last] => Array
                 (
                     [0] => detail
                     [1] => 1613
                     [2] => 1413334740
                 )

             [show_advanced_schedule] => 1
         )

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

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

         )

     [search] => Array
         (
             [type] => q
             [s] => Mickey Mouse clubhouse
             [ctype] => Array
                 (
                     [0] =>
                     [1] => movie
                     [2] => series
                     [3] => sports
                     [4] => tvshow
                 )

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

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

                 )

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

         )

     [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
         )

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

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

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

         )

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

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

         )

     [list_time] => 1407369600
     [recorded_title] => Marvel's Agents of S.H.I.E.L.D.
     [recorded_recgroup] =>
 )

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

 $_SERVER: Array
 (
     [REDIRECT_STATUS] => 200
     [HTTP_HOST] => cholcomb.dyndns-home.com
     [HTTP_ACCEPT] =>
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
     [HTTP_CONNECTION] => keep-alive
     [HTTP_COOKIE] => mythweb_id=so16tj3i9n52b3pofn6ce10md4
     [HTTP_USER_AGENT] => Mozilla/5.0 (iPad; CPU OS 8_0_2 like Mac OS X)
 AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12A405
 Safari/600.1.4
     [HTTP_ACCEPT_LANGUAGE] => en-us
     [HTTP_REFERER] => http://cholcomb.dyndns-
 home.com:8019/html/mythweb/tv/recorded?recgroup=&title=Marvel%27s+Agents+of+S.H.I.E.L.D.
     [HTTP_ACCEPT_ENCODING] => gzip, deflate
     [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
     [SERVER_SIGNATURE] => <address>Apache/2.4.7 (Ubuntu) Server at
 cholcomb.dyndns-home.com Port 8019</address>

     [SERVER_SOFTWARE] => Apache/2.4.7 (Ubuntu)
     [SERVER_NAME] => cholcomb.dyndns-home.com
     [SERVER_ADDR] => 192.168.10.19
     [SERVER_PORT] => 8019
     [REMOTE_ADDR] => 192.168.10.1
     [DOCUMENT_ROOT] => /var/www
     [REQUEST_SCHEME] => http
     [CONTEXT_PREFIX] =>
     [CONTEXT_DOCUMENT_ROOT] => /var/www
     [SERVER_ADMIN] => [no address given]
     [SCRIPT_FILENAME] => /var/www/html/mythweb/mythweb.php
     [REMOTE_PORT] => 60352
     [REDIRECT_URL] => /html/mythweb/tv/detail/1613/1413334740
     [GATEWAY_INTERFACE] => CGI/1.1
     [SERVER_PROTOCOL] => HTTP/1.1
     [REQUEST_METHOD] => GET
     [QUERY_STRING] =>
     [REQUEST_URI] => /tv/detail/1613/1413334740
     [SCRIPT_NAME] => /html/mythweb/mythweb.php
     [PATH_INFO] => /tv/detail/1613/1413334740
     [PATH_TRANSLATED] => /var/www/tv/detail/1613/1413334740
     [PHP_SELF] => /html/mythweb/mythweb.php/tv/detail/1613/1413334740
     [REQUEST_TIME_FLOAT] => 1413341534.131
     [REQUEST_TIME] => 1413341534
     [STATUS] => 200
     [URL] => /html/mythweb/tv/detail/1613/1413334740
     [HTTP_PORT] => 8019
 )

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

 $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] => MythTV
     [http_host] => cholcomb.dyndns-home.com:8019
     [kb] => 1024
     [max_stars] => 4
     [mb] => 1048576
     [module] => tv
     [modules_path] => /usr/share/mythtv/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] => /html/mythweb/
     [root_auth_url] => http://cholcomb.dyndns-home.com:8019/html/mythweb/
     [root_url] => http://cholcomb.dyndns-home.com:8019/html/mythweb/
     [searchtype_keyword] => 3
     [searchtype_manual] => 5
     [searchtype_people] => 4
     [searchtype_power] => 1
     [searchtype_title] => 2
     [skin] => default
     [skin_img_url] => http://cholcomb.dyndns-
 home.com:8019/html/mythweb/skins/default/img/
     [skin_url] => http://cholcomb.dyndns-
 home.com:8019/html/mythweb/skins/default/
     [star_character] => &#9733;
     [stream_url] => http://cholcomb.dyndns-home.com:8019//html/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/12299>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list