Ticket #12341: backtrace.txt

File backtrace.txt, 11.9 KB (added by andrew.villano@…, 9 years ago)

backtrace

Line 
1!!NoTrans: SQL Error: Duplicate entry '1731-2014-12-27 10:35:00-1-2015-01-01 02:41:30' for key 'chanid' [#1062]!!    datetime:  2014-12-31 21:41:30 (EST)
2    errornum:  256
3  error type:  User Error
4error string:  !!NoTrans: SQL Error: Duplicate entry '1731-2014-12-27 10:35:00-1-2015-01-01 02:41:30' for key 'chanid' [#1062]!!
5    filename:  /usr/share/mythweb/classes/Database/Query/mysql.php
6  error line:  79
7
8==========================================================================
9
10Backtrace:
11
12    file:  /usr/share/mythweb/classes/Database/Query/mysql.php
13    line:  79
14   class: 
15function:  trigger_error
16    type: 
17    args:  Array
18(
19    [0] => SQL Error: Duplicate entry '1731-2014-12-27 10:35:00-1-2015-01-01 02:41:30' for key 'chanid' [#1062]
20    [1] => 256
21)
22
23    file:  /usr/share/mythweb/classes/Database.php
24    line:  261
25   class:  Database_Query_mysql
26function:  execute
27    type:  ->
28    args:  Array
29(
30    [0] => Array
31        (
32            [0] => 1731
33            [1] => 1419676500
34            [2] => 1
35            [3] =>
36            [4] => 1
37            [5] => 1
38        )
39
40)
41
42    file:  /usr/share/mythweb/modules/tv/detail.php
43    line:  158
44   class:  Database
45function:  query
46    type:  ->
47    args:  Array
48(
49    [0] => INSERT INTO jobqueue
50                       SET chanid       = ?,
51                           starttime    = FROM_UNIXTIME(?),
52                           inserttime   = NOW(),
53                           type         = ?,
54                           hostname     = ?,
55                           args         = "",
56                           status       = ?,
57                           statustime   = NOW(),
58                           schedruntime = NOW(),
59                           comment      = "Queued via MythWeb",
60                           flags        = ?
61    [1] => 1731
62    [2] => 1419676500
63    [3] => 1
64    [4] =>
65    [5] => 1
66    [6] => 1
67)
68
69    file:  /usr/share/mythweb/modules/tv/handler.php
70    line:  82
71   class: 
72function:  require_once
73    type: 
74    args:  Array
75(
76    [0] => /usr/share/mythweb/modules/tv/detail.php
77)
78
79    file:  /usr/share/mythweb/mythweb.php
80    line:  35
81   class: 
82function:  require_once
83    type: 
84    args:  Array
85(
86    [0] => /usr/share/mythweb/modules/tv/handler.php
87)
88
89
90==========================================================================
91
92$_GET: Array
93(
94    [job] => 1
95    [chanid] => 1731
96    [starttime] => 1419676500
97    [manualid] => 0
98)
99
100==========================================================================
101
102$_SESSION: Array
103(
104    [cache_engine] => Cache_Null
105    [stream] => Array
106        (
107            [include_user_and_password] =>
108        )
109
110    [prefer_channum] => 1
111    [recorded_pixmaps] => 1
112    [guide_favonly] =>
113    [timeslot_size] => 300
114    [num_time_slots] => 36
115    [timeslot_blocks] => 3
116    [timeslotbar_skip] => 20
117    [max_stars] => 4
118    [star_character] => ★
119    [show_popup_info] => 1
120    [show_channel_icons] => 1
121    [sortby_channum] => 1
122    [recorded_paging] =>
123    [genre_colors] => 1
124    [show_video_covers] => 1
125    [settings] => Array
126        (
127            [screens] => Array
128                (
129                    [tv] => Array
130                        (
131                            [upcoming recordings] => Array
132                                (
133                                    [title] => on
134                                    [channel] => on
135                                    [record date] => on
136                                    [length] => on
137                                )
138
139                        )
140
141                )
142
143            [last] => Array
144                (
145                    [0] => database
146                    [1] => settings
147                )
148
149        )
150
151    [backend] => Array
152        (
153            [192.168.1.25] => Array
154                (
155                    [proto_version] => Array
156                        (
157                            [last_check_version] => 77
158                            [last_check_time] => 1420078463
159                        )
160
161                )
162
163            [timezone] => Array
164                (
165                    [value] => America/New_York
166                    [last_check_time] => 1420078463
167                )
168
169        )
170
171    [language] => English
172    [date_statusbar] => %a %b %e, %Y, %I:%M %p
173    [date_scheduled] => %a %b %e, %Y (%I:%M %p)
174    [date_scheduled_popup] => %a %b %e, %Y
175    [date_recorded] => %a %b %e, %Y (%I:%M %p)
176    [date_search] => %a %b %e, %Y, %I:%M %p
177    [date_listing_key] => %a %b %e, %Y, %I:%M %p
178    [date_listing_jump] => %a %b %e, %Y
179    [date_channel_jump] => %a %b %e, %Y
180    [date_job_status] => %a %b %e, %Y, %I:%M %p
181    [time_format] => %I:%M %p
182    [tv] => Array
183        (
184            [last] => Array
185                (
186                    [0] => detail
187                    [1] => 1731
188                    [2] => 1419676500
189                )
190
191            [show_advanced_schedule] => 1
192        )
193
194    [scheduled_recordings] => Array
195        (
196            [disp_scheduled] => 1
197            [disp_duplicates] =>
198            [disp_deactivated] =>
199            [disp_conflicts] => 1
200        )
201
202    [scheduled_sortby] => Array
203        (
204            [0] => Array
205                (
206                    [field] => airdate
207                    [reverse] =>
208                )
209
210            [1] => Array
211                (
212                    [field] => title
213                    [reverse] =>
214                )
215
216        )
217
218    [recording_details] => Array
219        (
220            [show_Conflict] => 1
221            [show_PreviousRecording] => 1
222            [show_EarlierShowing] => 1
223            [show_CurrentRecording] => 1
224            [show_WillRecord] => 1
225        )
226
227    [schedules_sortby] => Array
228        (
229            [0] => Array
230                (
231                    [field] => airdate
232                    [reverse] =>
233                )
234
235            [1] => Array
236                (
237                    [field] => title
238                    [reverse] =>
239                )
240
241        )
242
243    [recorded_sortby] => Array
244        (
245            [0] => Array
246                (
247                    [field] => airdate
248                    [reverse] => 1
249                )
250
251            [1] => Array
252                (
253                    [field] => title
254                    [reverse] =>
255                )
256
257        )
258
259    [recorded_title] => The Three Stooges
260    [recorded_recgroup] =>
261    [search] => Array
262        (
263            [type] => q
264            [s] => odd couple
265            [ctype] => Array
266                (
267                    [0] => movie
268                    [1] => series
269                    [2] => sports
270                    [3] => tvshow
271                )
272
273            [categories] => Array ( )
274            [stars_gt] => 0
275            [stars_lt] => 1
276            [starttime] => 12/20/2014
277            [endtime] => + 2 weeks
278            [as] => Array
279                (
280                    [0] =>
281                )
282
283            [af] => Array
284                (
285                    [0] => Array
286                        (
287                            [0] => title
288                        )
289
290                )
291
292            [aj] => Array
293                (
294                    [0] => AND
295                )
296
297            [hd] =>
298            [commfree] =>
299            [unwatched] =>
300            [scheduled] =>
301            [generic] =>
302            [distinctTitle] =>
303            [airdate_start] =>
304            [airdate_end] =>
305        )
306
307    [search_sortby] => Array
308        (
309            [0] => Array
310                (
311                    [field] => airdate
312                    [reverse] =>
313                )
314
315            [1] => Array
316                (
317                    [field] => title
318                    [reverse] =>
319                )
320
321        )
322
323)
324
325==========================================================================
326
327$_SERVER: Array
328(
329    [REDIRECT_UNIQUE_ID] => VKSz2g@HUFSGNIP-44zNLQAAAAQ
330    [REDIRECT_STATUS] => 200
331    [UNIQUE_ID] => VKSz2g@HUFSGNIP-44zNLQAAAAQ
332    [HTTP_HOST] => 192.168.1.25
333    [HTTP_USER_AGENT] => Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0
334    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
335    [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.5
336    [HTTP_ACCEPT_ENCODING] => gzip, deflate
337    [HTTP_REFERER] => http://192.168.1.25/mythweb/tv/detail/1731/1419676500
338    [HTTP_COOKIE] => mythweb_id=pultp4jti2235lpdue3dn2eoq3
339    [HTTP_CONNECTION] => keep-alive
340    [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
341    [SERVER_SIGNATURE] =>
342    [SERVER_SOFTWARE] => Apache/2.4.10 (Fedora) PHP/5.5.20
343    [SERVER_NAME] => 192.168.1.25
344    [SERVER_ADDR] => 192.168.1.25
345    [SERVER_PORT] => 80
346    [REMOTE_ADDR] => 192.168.1.25
347    [DOCUMENT_ROOT] => /var/www/html
348    [REQUEST_SCHEME] => http
349    [CONTEXT_PREFIX] => /mythweb
350    [CONTEXT_DOCUMENT_ROOT] => /usr/share/mythweb
351    [SERVER_ADMIN] => root@localhost
352    [SCRIPT_FILENAME] => /usr/share/mythweb/mythweb.php
353    [REMOTE_PORT] => 56803
354    [REDIRECT_QUERY_STRING] => job=1
355    [REDIRECT_URL] => /mythweb/tv/detail/1731/1419676500
356    [GATEWAY_INTERFACE] => CGI/1.1
357    [SERVER_PROTOCOL] => HTTP/1.1
358    [REQUEST_METHOD] => GET
359    [QUERY_STRING] => job=1
360    [REQUEST_URI] => /tv/detail/1731/1419676500?job=1
361    [SCRIPT_NAME] => /mythweb/mythweb.php
362    [PATH_INFO] => /tv/detail/1731/1419676500
363    [PATH_TRANSLATED] => /var/www/html/tv/detail/1731/1419676500
364    [PHP_SELF] => /mythweb/mythweb.php/tv/detail/1731/1419676500
365    [REQUEST_TIME_FLOAT] => 1420080090.396
366    [REQUEST_TIME] => 1420080090
367    [STATUS] => 200
368    [URL] => /mythweb/tv/detail/1731/1419676500
369    [HTTP_PORT] => 80
370)
371
372==========================================================================
373
374$constant_list["user"]: Array
375(
376    [ERROR] => 512
377    [E_ASSERT_ERROR] => 4096
378    [FATAL] => 256
379    [JOB_ABORTED] => 288
380    [JOB_ABORTING] => 9
381    [JOB_CANCELLED] => 320
382    [JOB_COMMFLAG] => 2
383    [JOB_DONE] => 256
384    [JOB_ERRORED] => 304
385    [JOB_ERRORING] => 8
386    [JOB_EXTERNAL] => 4
387    [JOB_FINISHED] => 272
388    [JOB_LIST_ALL] => 1
389    [JOB_LIST_DONE] => 2
390    [JOB_LIST_ERROR] => 8
391    [JOB_LIST_NOT_DONE] => 4
392    [JOB_LIST_RECENT] => 16
393    [JOB_LIVE_REC] => 2
394    [JOB_METADATA] => 4
395    [JOB_NONE] => 0
396    [JOB_NO_FLAGS] => 0
397    [JOB_PAUSE] => 1
398    [JOB_PAUSED] => 6
399    [JOB_PENDING] => 2
400    [JOB_QUEUED] => 1
401    [JOB_RESTART] => 8
402    [JOB_RESUME] => 2
403    [JOB_RETRY] => 7
404    [JOB_RUN] => 0
405    [JOB_RUNNING] => 4
406    [JOB_STARTING] => 3
407    [JOB_STOP] => 4
408    [JOB_STOPPING] => 5
409    [JOB_SYSTEMJOB] => 255
410    [JOB_TRANSCODE] => 1
411    [JOB_UNKNOWN] => 0
412    [JOB_USERJOB] => 65280
413    [JOB_USERJOB1] => 256
414    [JOB_USERJOB2] => 512
415    [JOB_USERJOB3] => 1024
416    [JOB_USERJOB4] => 2048
417    [JOB_USE_CUTLIST] => 1
418    [PHP_MIN_VERSION] => 5.3
419    [WARNING] => 1024
420    [WebDBSchemaVer] => 4
421    [dupsin_all] => 15
422    [dupsin_newepisodes] => 16
423    [dupsin_oldrecorded] => 2
424    [dupsin_recorded] => 1
425    [error_email] =>
426    [gb] => 1073741824
427    [hostname] => new-host-2.home
428    [http_host] => 192.168.1.25
429    [kb] => 1024
430    [max_stars] => 4
431    [mb] => 1048576
432    [module] => tv
433    [modules_path] => /usr/share/mythweb/modules
434    [num_time_slots] => 36
435    [prefer_channum] => 1
436    [rectype_always] => 4
437    [rectype_daily] => 2
438    [rectype_dontrec] => 8
439    [rectype_findone] => 6
440    [rectype_once] => 1
441    [rectype_override] => 7
442    [rectype_template] => 11
443    [rectype_weekly] => 5
444    [root] => /mythweb/
445    [root_auth_url] => http://192.168.1.25/mythweb/
446    [root_url] => http://192.168.1.25/mythweb/
447    [searchtype_keyword] => 3
448    [searchtype_manual] => 5
449    [searchtype_people] => 4
450    [searchtype_power] => 1
451    [searchtype_title] => 2
452    [skin] => default
453    [skin_img_url] => http://192.168.1.25/mythweb/skins/default/img/
454    [skin_url] => http://192.168.1.25/mythweb/skins/default/
455    [star_character] => ★
456    [stream_url] => http://192.168.1.25:80//mythweb/
457    [tb] => 1099511627776
458    [timeslot_blocks] => 3
459    [timeslot_size] => 300
460    [timeslotbar_skip] => 20
461    [tmpl] => default
462    [tmpl_dir] => modules/tv/tmpl/default/
463)
464
465