Black screen and crash on startup after kodi reinstall
#1
http://paste.ubuntu.com/p/yTsXbNxYxg/

kodi was working fantastic for some time
then I updated some packages in ubuntu
next thing I know netflix addon for kodi stops working saying something about bad dependency xbnc,python 3.0.0 not met
so I uninstalled the addon and reinstalled it from master then it says it can't even install because of the same error
I read online that you should reinstall kodi to fix this error. so I ran
sudo apt purge kodi
sudo apt install kodi
and now the situation is that every time I launch kodi I get a black screen for about 5 seconds and then it disappears leaving kodi crashed
I ran it from terminal then it gave me a crash log having only these 2 errors:
Quote:cat ~/kodi_crashlog-20200428_002031.log | grep -i error
2020-04-28 00:20:25.079 T:140404846102656   ERROR: CSettings: unable to load settings from special://masterprofile/guisettings.xml, creating new default settings
2020-04-28 00:20:25.461 T:140404846102656   ERROR: DBus error: org.freedesktop.DBus.Error.InvalidArgs - No such property 'OnLowBattery'
and I could not extract anything useful from that.

The rest is here:
https://paste.kodi.tv/zebajofewe.kodi

I really am not interesting in having to reinstall my entire os, or delete kodi addons and customizations I made for myself over time (as googleable kodi posts always tend to suggest that as a solution to every kodi error out there nowadays)
as it cost me a great deal of time to set up my setup.

Please if anybody can help - assist me debugging this issue and solve the black screen.


I'd like to start by trying to temporarily remove the addons and see if it automagically causes kodi to stop starting in a crashing black screen. so I tried removing the addons from /usr/share/kodi and ~/.kodi but it did not make the error stop (so I brought them back)
so that did not work.

next I want to track what exactly did my recent ubuntu apt installs touched before this issue started, anybody here good with apt logs?
is it possible kodi will crash by updating ubuntu packages? does that even make sense?

let me know if you need me to paste more logs. thank you.
Reply
#2
SERIOUSLY?! I can't edit original posts? what kind of a forums is this?

anyways I wanted to add for my reference and for helpers
that what I installed was some "vulcan"-related intel graphic card drivers for ubuntu that Lutris asked me to install for gaming
maybe it could be related somehow.
Reply
#3
I'm not an expert but I know you can change the log level to debug in the advanced settings file.

https://kodi.wiki/view/Log_file/Advanced

If you do that and re-run, then kodi might give more information that will be useful to the more knowledgeable on here to see.
Reply
#4
Is it just my user being blocked from deleting/editing my posts? or is that a policy in kodi forums??

anyways I meant to add my specs info:

installed current latest kodi which I believe is suppose to be 
Kodi v18.6 "Leia"

$uname -a
5.3.0-46-generic #38~18.04.1-Ubuntu

Intel® Core™ i7-6600U CPU @ 2.60GHz × 4 
Intel® HD Graphics 520 (Skylake GT2)

GNOME 3.28.2
OS type 64-bit
Disk 314.8 GB
Reply
#5
I've just edited my reply post fine, both in the web forum and via Tapatalk.
Reply
#6
(2020-04-28, 00:22)littlejeem Wrote: I'm not an expert but I know you can change the log level to debug in the advanced settings file.

https://kodi.wiki/view/Log_file/Advanced

If you do that and re-run, then kodi might give more information that will be useful to the more knowledgeable on here to see.

Thanks for the tip, I created the missing xml and put there the logging level, reproduced the crash and here is the new log result:

https://paste.kodi.tv/lexewiwovo.kodi
Reply
#7
Log level change didn't work.

See lines 171 & 175 of the log. is there an error in the advanced settings file syntax?
Reply
#8
Also, have you read the 'banned add-ons' info on the forum, no help will be given and threads closed if systems contain them...
Reply
#9
For future references, I was able to fix this after booting with grub into recovery mode
(by trying to undo some of the installs I thought were causing this, my ubuntu stopped being able to boot, so I had no choice)
and performing restoration of packages and an upgrade (it was a console menu but it probably performed sudo apt upgrade)
and then everything went back to normal and kodi was not crashing anymore. still no idea what was the cause.

Still netflix addon demands:
the dependency on python.xbmc 3.0.0 could not be... (notification disappears)

Where do I get python.xbmc 3.0.0 from anyways?

(and why is edit and delete still missing for my user? tried from google chrome on ubuntu and on android)
Reply
#10
I am so happy, finally solved this, apparently I had an old netflix addon that stopped working suddenly but it was not installed from any repo so I could not update it

after tons of googling I was able to find this:
https://makingstuffwork.net/technology/w...rime-kodi/

in there I found these repos:
Quote:Dave Hinz on April 5, 2020 at 9:23 am
Versions of the plugins have changed. I found them at:
https://github.com/castagnait/repository...-1.0.1.zip
https://github.com/Sandmann79/xbmc/relea...matrix.zip

without thinking about it I immediately added them to kodi and there it was! the next version of netflix was available for installation, and so I attempted to install it (1.2) and it worked!
and now everything is back to normal Smile


except me not being able to edit my posts! Sad
Reply

Logout Mark Read Team Forum Stats Members Help
Black screen and crash on startup after kodi reinstall0