Opened 7 years ago

Closed 11 months ago

#11782 closed Bug Report - General (Abandoned)

Fatal Error on encode User Job

Reported by: kebast.shive@… Owned by:
Priority: minor Milestone: unknown
Component: Plugin - MythWeb Version: Master Head
Severity: medium Keywords: SQL Error: Duplicate entry
Cc: Ticket locked: no

Description (last modified by Raymond Wagner)

I cut commercials from a program with a user job passing these parameters: /home/mythtv/ "%DIR%/%FILE%" "%CHANID%" "%STARTTIMEUTC%" to the script with this command: $INSTALLPREFIX/mythtranscode --chanid "$2" --starttime "$3" --mpeg2 --honorcutlist -v all This ran without errors, but when I ran the user job for the encode I received a !NoTrans: SQL Error: Duplicate entry '2122-2013-02-15 01:59:00-512-2013-08-26 01:22:29' for key 'chanid' #1062!!. This user job passes these parameters: /home/mythtv/ "%DIR%/%FILE%" "%TITLE% - %ORIGINALAIRDATE% - %SUBTITLE%" "%TITLE%" and this is the script: mkdir "/myth/HDD-1/videos/$3" # encode using HandBrakeCLI nice HandBrakeCLI -i "$1.tmp" -o "/myth/HDD-1/videos/$3/$2.mp4" --preset="High Profile" -v2 -q 19 -a 1 -E copy:ac3 -B 640 -6 auto -Y 720 --x264-preset slower --x264-tune film >/dev/null 2>&1

Attachments (1)

apache_logs.txt (12.9 KB) - added by Raymond Wagner 7 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 7 years ago by Raymond Wagner

Component: MythTV - GeneralPlugin - MythWeb
Description: modified (diff)
Status: newinfoneeded_new

It sounds like you clicked the link to queue the user job twice. The second time failed, because the job queue schema is configured to only allow one instance of a job type per recording in the database.

Changed 7 years ago by Raymond Wagner

Attachment: apache_logs.txt added

comment:2 Changed 6 years ago by paulh

Status: infoneeded_newnew

comment:3 Changed 11 months ago by Stuart Auchterlonie

Resolution: Abandoned
Status: newclosed
Note: See TracTickets for help on using tickets.