我已经安装了最新版本的 Kodi (xbmc)。我已经多次安装/卸载/重新安装了它。
每当我尝试打开它时,什么都没有发生(请参阅下面的错误日志)。即使我可以在启动器中看到 Kodis 图标(表明它正在运行)。有人能帮我吗?
日志档案
15:05:44.942 T:139935054596480 NOTICE: special://profile/ is mapped to: special://masterprofile/
15:05:44.942 T:139935054596480 NOTICE: -----------------------------------------------------------------------
15:05:44.942 T:139935054596480 NOTICE: Starting Kodi (17.0 Git:20170210-nogitfound). Platform: Linux x86 64-bit
15:05:44.942 T:139935054596480 NOTICE: Using Release Kodi x64 build
15:05:44.942 T:139935054596480 NOTICE: Kodi compiled Nov 4 2012 by GCC 5.4.0 for Linux x86 64-bit version 4.4.40 (263208)
15:05:44.942 T:139935054596480 NOTICE: Running on Ubuntu 16.04.2 LTS, kernel: Linux x86 64-bit version 4.8.0-39-generic
15:05:44.942 T:139935054596480 NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
15:05:44.942 T:139935054596480 NOTICE: Host CPU: Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz, 4 cores available
15:05:44.942 T:139935054596480 NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
15:05:44.942 T:139935054596480 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/x86_64-linux-gnu/kodi
15:05:44.942 T:139935054596480 NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/x86_64-linux-gnu/kodi/addons
15:05:44.942 T:139935054596480 NOTICE: special://masterprofile/ is mapped to: /home/mbkm/.kodi/userdata
15:05:44.942 T:139935054596480 NOTICE: special://envhome/ is mapped to: /home/mbkm
15:05:44.942 T:139935054596480 NOTICE: special://home/ is mapped to: /home/mbkm/.kodi
15:05:44.942 T:139935054596480 NOTICE: special://temp/ is mapped to: /home/mbkm/.kodi/temp
15:05:44.942 T:139935054596480 NOTICE: special://logpath/ is mapped to: /home/mbkm/.kodi/temp
15:05:44.942 T:139935054596480 NOTICE: The executable running is: /usr/lib/x86_64-linux-gnu/kodi/kodi.bin
15:05:44.942 T:139935054596480 NOTICE: Local hostname: mbkm-ThinkPad-X240
15:05:44.942 T:139935054596480 NOTICE: Log File is located: /home/mbkm/.kodi/temp//kodi.log
15:05:44.942 T:139935054596480 NOTICE: -----------------------------------------------------------------------
15:05:44.955 T:139935054596480 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property 'OnLowBattery'
15:05:44.957 T:139935054596480 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property 'CanSuspend'
15:05:44.957 T:139935054596480 ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - No such property 'CanHibernate'
15:05:44.960 T:139935054596480 NOTICE: load settings...
15:05:44.971 T:139935054596480 NOTICE: Found 1 Lists of Devices
15:05:44.971 T:139935054596480 NOTICE: Enumerated PULSE devices:
15:05:44.971 T:139935054596480 NOTICE: Device 1
15:05:44.971 T:139935054596480 NOTICE: m_deviceName : Default
15:05:44.971 T:139935054596480 NOTICE: m_displayName : Default
15:05:44.971 T:139935054596480 NOTICE: m_displayNameExtra: Default Output Device (PULSEAUDIO)
15:05:44.971 T:139935054596480 NOTICE: m_deviceType : AE_DEVTYPE_PCM
15:05:44.971 T:139935054596480 NOTICE: m_channels : FL,FR
15:05:44.971 T:139935054596480 NOTICE: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
15:05:44.971 T:139935054596480 NOTICE: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
15:05:44.971 T:139935054596480 NOTICE: m_streamTypes : No passthrough capabilities
15:05:44.971 T:139935054596480 NOTICE: Device 2
15:05:44.971 T:139935054596480 NOTICE: m_deviceName : alsa_output.pci-0000_00_03.0.hdmi-stereo
15:05:44.971 T:139935054596480 NOTICE: m_displayName : Built-in Audio Digital Stereo (HDMI)
15:05:44.971 T:139935054596480 NOTICE: m_displayNameExtra: HDMI / DisplayPort (PULSEAUDIO)
15:05:44.971 T:139935054596480 NOTICE: m_deviceType : AE_DEVTYPE_PCM
15:05:44.971 T:139935054596480 NOTICE: m_channels : FL,FR
15:05:44.971 T:139935054596480 NOTICE: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
15:05:44.971 T:139935054596480 NOTICE: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
15:05:44.971 T:139935054596480 NOTICE: m_streamTypes : No passthrough capabilities
15:05:44.971 T:139935054596480 NOTICE: Device 3
15:05:44.971 T:139935054596480 NOTICE: m_deviceName : alsa_output.pci-0000_00_1b.0.analog-stereo
15:05:44.971 T:139935054596480 NOTICE: m_displayName : Built-in Audio Analog Stereo
15:05:44.971 T:139935054596480 NOTICE: m_displayNameExtra: Headphones (PULSEAUDIO)
15:05:44.971 T:139935054596480 NOTICE: m_deviceType : AE_DEVTYPE_PCM
15:05:44.971 T:139935054596480 NOTICE: m_channels : FL,FR
15:05:44.971 T:139935054596480 NOTICE: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
15:05:44.971 T:139935054596480 NOTICE: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
15:05:44.971 T:139935054596480 NOTICE: m_streamTypes : No passthrough capabilities
15:05:44.974 T:139935054596480 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
15:05:44.974 T:139935054596480 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
15:05:44.974 T:139935054596480 NOTICE: Default Video Player: VideoPlayer
15:05:44.974 T:139935054596480 NOTICE: Default Audio Player: paplayer
15:05:44.974 T:139935054596480 NOTICE: Disabled debug logging due to GUI setting. Level 0.
15:05:44.974 T:139935054596480 NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
15:05:44.974 T:139935054596480 NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
15:05:44.974 T:139935054596480 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
15:05:44.974 T:139935054596480 NOTICE: Loaded playercorefactory configuration
15:05:44.974 T:139935054596480 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
15:05:44.974 T:139935054596480 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
15:05:44.978 T:139935054596480 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT idVersion FROM version
答案1
问题出在配置文件层面,一个或多个插件可能是罪魁祸首。重新安装不会改变任何事情,因为用户配置文件设置、插件等都保留了下来。
删除隐藏文件夹.kodi
就可以了。
请注意,这将重置所有 Kodi 设置。
答案2
如果你看一下日志的最后一行,你会发现
15:05:44.978 T:139935054596480 ERROR: SQL: [Addons27.db] SQL error
or missing database
Query: SELECT idVersion FROM version
version
这表明 Kodi 尝试从数据库查询表时失败Addons27.db
您的数据库似乎有问题,您可以在 中找到userdata/Database/
。如果您正在使用 mysql,则错误通常会引用它。
Addons27.db
最简单的解决方法是从 中删除userdata/Database
。这将删除您的插件数据库,但所有其他配置(包括源、库、插件包和配置)将保持原样。如果您有 的备份Addons27.db
(无论如何您都应该保留数据库文件夹的备份 - 我个人备份了整个 kodi 用户文件夹),您可以随时恢复到工作副本。
删除整个.kodi
目录之所以有效,是因为在这样做的同时,您还删除了有故障的Addons27.db
,同时还删除了所有其他设置,这就是为什么我更喜欢只删除有故障的文件。