Valentin271 / DeezerKodi

Deezer client for Kodi
GNU General Public License v3.0
24 stars 4 forks source link

Plugin crashes immediately #26

Closed freijon closed 1 year ago

freijon commented 1 year ago

Since a few days the plugin doesn't work at all. I can't even get go the screen where we select Personal / Search.

Here is my logfile: https://paste.kodi.tv/ipuzusosix

Valentin271 commented 1 year ago

Hello, Sorry for my late reply.

Does this still happen ?

freijon commented 1 year ago

Unfortunately yes

Valentin271 commented 1 year ago

Could you provide me another log file ?

The previous one expired because I took so long to respond 😅

freijon commented 1 year ago

Sure, here you go: https://paste.kodi.tv/ecuhapuluq

Valentin271 commented 1 year ago

At first glance, it looks like the file at /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp/deezer-api.pickle is empty, it shouldn't. If this is the case, deleting it should do the trick.

Let me know if that work, I can probably include some sort of failsafe.

freijon commented 1 year ago

That seems to have solved the issue, thank you! How can this happen all of a sudden?

Valentin271 commented 1 year ago

Great!

My guess right now is a wrongly written file. The library I'm using for that doesn't say anything about this error. Maybe there is some differences in Android python execution too ...

Anyway I will probably include a failsafe deleting the file in case of this error.