Coder Social home page Coder Social logo

Comments (7)

tuxpoldo avatar tuxpoldo commented on July 22, 2024

Hier das Logfile von @Nicklas2751
kodi.log

from plugin.video.mediathekview.

tuxpoldo avatar tuxpoldo commented on July 22, 2024

Das hier ist die kritische Stelle:

19:10:14.091 T:139912566175488  NOTICE: [plugin.video.mediathekview-0.3.4:StoreMySQL]: ===== RESET: Database will be deleted and regenerated =====
19:10:14.621 T:139912547092224  NOTICE: Previous line repeats 1 times.

Das ist der Beweis, dass auf manchen Systemen bei der Installation (und wie wir nun wissen auch beim Update) der Service-Thread mehrfach gestartet wird. Dieses Problem ist übel uns sollte so schnell wie möglich behoben werden.

Es wurde bis jetzt nur auf reinem Linux (also nicht Android) beobachtet - auch auf LibreELEC, ist aber nicht zuverlässig reproduzierbar.

from plugin.video.mediathekview.

Wikinaut avatar Wikinaut commented on July 22, 2024

Ich installierte gestern erstmals das Plugin auf OSMC auf Raspberry 3. Nachdem mir alles sehr langsam schien. installierte ich MySQL (MariaDB), einen Benutzer und die Datenbank. Dann gingen die Probleme los.

Inzwischen hat das System zumindest eine differentielle Datei geladen, aber der Gesamtdownload sollte auch per Menü triggerbar sein. Dazu werde ich ggfs. noch ein separates Issue aufmachen.

Eventuell - falls noch nicht so gemacht - sollte man dies tun:

DROP TABLE IF EXISTS `mediathekview`;
CREATE TABLE IF NOT EXISTS `mediathekview` ( ... );

from plugin.video.mediathekview.

domschl avatar domschl commented on July 22, 2024

In #16 gibts schon den feature request für einen DB-update button.

from plugin.video.mediathekview.

Wikinaut avatar Wikinaut commented on July 22, 2024

@domschl super, danke. (Hatte ich gestern auch gelesen, aber leider verdrängt....)

from plugin.video.mediathekview.

tuxpoldo avatar tuxpoldo commented on July 22, 2024

Ich konnte inzwischen sogar auf dem Mac das Verhalten nachstellen (Bei Installation/Update aus dem Repository wird der Service-Thread manchmal mehrmals gestartet).

Da ein hohes Maß an Isolation zwischen allen Instanzierungen des Addons existiert, ist es nicht so einfach das Problem zu lösen. Der Erste Versuch folgt nun....

from plugin.video.mediathekview.

tuxpoldo avatar tuxpoldo commented on July 22, 2024

Der scheint auch zu funktionieren. Nachfolgend kann man sehen, wie erst die Instanz 93f17fd5fc94640fd51478d0e2ab1865 und dann die Instanz d224c56ba3c1383c9ebcdfc356b00786 startet. Der letzte gewinnt und der vorherige fügt sich seinem Schicksal und fährt runter.

16:26:06.615 T:123145372061696  NOTICE: [plugin.video.mediathekview-0.4.0.3:Service]: Init (instance id: 93f17fd5fc94640fd51478d0e2ab1865)
16:26:06.643 T:123145372061696  NOTICE: [plugin.video.mediathekview-0.4.0.3:Updater]: Database driver: Internal (sqlite)
16:26:06.643 T:123145372061696  NOTICE: [plugin.video.mediathekview-0.4.0.3:StoreSQLite]: Using SQLite version 3.14.2, python library sqlite3 version 2.6.0
16:26:06.688 T:123145372061696  NOTICE: [plugin.video.mediathekview-0.4.0.3:Service]: Starting up... (instance id: 93f17fd5fc94640fd51478d0e2ab1865)
16:26:06.694 T:123145371525120  NOTICE: [plugin.video.mediathekview-0.4.0.3:Service]: Init (instance id: d224c56ba3c1383c9ebcdfc356b00786)
16:26:06.694 T:123145371525120  NOTICE: [plugin.video.mediathekview-0.4.0.3:Service]: Found other instance with id d224c56ba3c1383c9ebcdfc356b00786
16:26:06.694 T:123145371525120  NOTICE: [plugin.video.mediathekview-0.4.0.3:Service]: Startup delayed by 1 second(s) waiting the other instance to shut down
16:26:07.697 T:123145372061696  NOTICE: [plugin.video.mediathekview-0.4.0.3:Service]: Shutting down... (instance id: 93f17fd5fc94640fd51478d0e2ab1865)
16:26:07.697 T:123145372061696  NOTICE: [plugin.video.mediathekview-0.4.0.3:Service]: Exit (instance id: 93f17fd5fc94640fd51478d0e2ab1865)
16:26:07.697 T:123145371525120  NOTICE: [plugin.video.mediathekview-0.4.0.3:Updater]: Database driver: Internal (sqlite)
16:26:07.697 T:123145371525120  NOTICE: [plugin.video.mediathekview-0.4.0.3:StoreSQLite]: Using SQLite version 3.14.2, python library sqlite3 version 2.6.0
16:26:07.712 T:123145371525120  NOTICE: [plugin.video.mediathekview-0.4.0.3:Service]: Starting up... (instance id: d224c56ba3c1383c9ebcdfc356b00786)

from plugin.video.mediathekview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.