[epgd] Ständig "SQL-Error in 'execute(stmt_execute)' - Division by 0 (1365) 'Division by 0' [call mergeepg]"

  • Habe auch etliche Einträge mit Länge 0, aber keine SQL-Fehler im syslog.

    MyVDR: yaVDR-Ansible (Ubuntu 20) - softhddevice-openglosd (ffmpeg 2.8) - epgd/epg2vdr - skindesigner estuary4vdr (adaptiert) - 1920x1080@50 Hz | kodi 18 - inputstream + amazon vod
    Aerocube M40 | 300W | ASRock H61M-GE | Intel G530 | Asus ENGT520 | 2 x TT-budget S2-3200 | ASRock Smart Remote (CIR) | 4 GB RAM | 120 GB SSD | 3 TB HDD

  • Hi zusammen,


    hat bei mir diese Woche auch epgd-Probleme behoben. Hatte SQL-Fehlermeldungen, division by zero.


    Viele Grüße,

    Chriss

  • Ich grabe das Thema nochmals aus, ich bekomme die

    Code
    epgd: SQL-Error in 'execute(stmt_execute)' - Division by 0 (1365) 'Division by 0' [call mergeepg]

    aktuell auch wieder.

    Code
    mysql -u epg2vdr -pepg -Depg2vdr -e 'select * from events where duration=0;' > envents-duration0.txt

    bringt:

    Code
    eventid channelid       masterid        useid   source  fileref inssp   updsp   updflg  delflg  tableid version title   comptitle       shorttext       compshorttext   longdescription complongdescription     starttime       duration        parentalrating  vps     contents        shortdescription        actor   audio   category        country director        commentator     flags   genre   music   producer        screenplay      shortreview     tipp    topic   year    rating  numrating       txtrating       movieid moderator       other   guest   camera  extepnum        imagecount      episodecompname episodecompshortname    episodecomppartname     episodelang     scrseriesid     scrseriesepisode        scrmovieid      scrsp
    171045739       S19.2E-1-1011-11110     4410    4410    epgdata 20220103_20211230_de_qy.zip-1341145     1641053662      1641053662      A       NULL    0       255     Keine Programminformationen verfuegbar  KEINEPROGRAMMINFORMATIONENVERFUEGBAR    NULL    NULL    -               1641242440      0       NULL    NULL    NULL    NULL    NULL    NULL    Information     NULL    NULL    NULL    [PrimeTime] [16:9]      Verschiedenes   NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL    1       NULL    NULL    NULL    NULL    NULL    0       NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL


    Nach

    Code
    update events set duration=1 where duration=0;

    ist das Problem weg.

    Kann man den Fall auch noch abfangen ?

  • /etc/epgd/userexit.sql mit:


    Hab kein "epgdata", daher ... geraten. ;)


    Stefan

  • Ja genau, die Fehler in den Quellfdaten treten auch anderswo auf, damit sollte es aber gehen.

    CKone: yavdr-ansible/18.04 LTS/2.4.1/kodi18 auf Intel DH67BL, Intel Celeron G540, 2x 2GB Kingston DDR3, Zotac GT630 1GB, S2-1600, Ocz Agility 3 60GB, LG GH24NS DVD, 15.6" Selbstbau TFT, Harmony 665, CIR Selbstbau - das Ganze im Silverstone SST-SG03B
    CKtwo: yavdr-ansible/18.04 LTS/2.4.1/kodi18 auf Intel DH67BL, Intel Celeron G1610, 2x 2GB Corsair DDR3, Zotac GT630 1GB, TT S2-1600, Ocz Vertex 2 50 GB, 92 Kanal Seduatmo, Harmony 665, atric USB
    CKthree: yavdr-ansible/22.04 LTS/2.6.1/kodi19.3 auf Intel NUC, Celeron J4005, UHD Graphics 600, 4GB Crucial DDR4, Ocz Vertex2 50 GB, Harmony 350

    PowerEdge: Ubuntu Server 16.04 LTS / VDR 2.4.1 auf Dell PowerEdge T20, Xeon E3-1225 v3, 16GB ECC DDR3, 2x Cine S2 V6 mit Duoflex, Samsung 840 EVO 120GB, 3x WD White WD80EZAZ 8TB in SW Raid5



  • Danke, hab es drin.

    Wäre es nicht sicherer, sowas erst gar nicht in die Datenbank zu schreiben, statt es über ein userexit danach wieder raus zu löschen ?

  • Die einen sagen so, die anderen anders.

    Du kannst es im XSLT korrigieren, verhindern die Zeile einzulesen, den User EXIT nehmen oder hinten die Funktion reparieren die auf die Nase fällt, am Ende ist es egal.

    Der User EXIT ist halt immer ein Quick Deal!

    CKone: yavdr-ansible/18.04 LTS/2.4.1/kodi18 auf Intel DH67BL, Intel Celeron G540, 2x 2GB Kingston DDR3, Zotac GT630 1GB, S2-1600, Ocz Agility 3 60GB, LG GH24NS DVD, 15.6" Selbstbau TFT, Harmony 665, CIR Selbstbau - das Ganze im Silverstone SST-SG03B
    CKtwo: yavdr-ansible/18.04 LTS/2.4.1/kodi18 auf Intel DH67BL, Intel Celeron G1610, 2x 2GB Corsair DDR3, Zotac GT630 1GB, TT S2-1600, Ocz Vertex 2 50 GB, 92 Kanal Seduatmo, Harmony 665, atric USB
    CKthree: yavdr-ansible/22.04 LTS/2.6.1/kodi19.3 auf Intel NUC, Celeron J4005, UHD Graphics 600, 4GB Crucial DDR4, Ocz Vertex2 50 GB, Harmony 350

    PowerEdge: Ubuntu Server 16.04 LTS / VDR 2.4.1 auf Dell PowerEdge T20, Xeon E3-1225 v3, 16GB ECC DDR3, 2x Cine S2 V6 mit Duoflex, Samsung 840 EVO 120GB, 3x WD White WD80EZAZ 8TB in SW Raid5



  • bei mir hab ich es übrigens so drin:


    CKone: yavdr-ansible/18.04 LTS/2.4.1/kodi18 auf Intel DH67BL, Intel Celeron G540, 2x 2GB Kingston DDR3, Zotac GT630 1GB, S2-1600, Ocz Agility 3 60GB, LG GH24NS DVD, 15.6" Selbstbau TFT, Harmony 665, CIR Selbstbau - das Ganze im Silverstone SST-SG03B
    CKtwo: yavdr-ansible/18.04 LTS/2.4.1/kodi18 auf Intel DH67BL, Intel Celeron G1610, 2x 2GB Corsair DDR3, Zotac GT630 1GB, TT S2-1600, Ocz Vertex 2 50 GB, 92 Kanal Seduatmo, Harmony 665, atric USB
    CKthree: yavdr-ansible/22.04 LTS/2.6.1/kodi19.3 auf Intel NUC, Celeron J4005, UHD Graphics 600, 4GB Crucial DDR4, Ocz Vertex2 50 GB, Harmony 350

    PowerEdge: Ubuntu Server 16.04 LTS / VDR 2.4.1 auf Dell PowerEdge T20, Xeon E3-1225 v3, 16GB ECC DDR3, 2x Cine S2 V6 mit Duoflex, Samsung 840 EVO 120GB, 3x WD White WD80EZAZ 8TB in SW Raid5



Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!