18th May, 2019, 07:58 PM
Software
XBian version: 20190215-0 (from /etc/motd)
XBMC/Kodi version: 17.6
Overclock settings: default
Auto-update is enabled. Up to date with patching.
Hardware
Device type and model: Raspberry Pi 3 Model B
Power supply rating: 2A
SD card size and make/type: SanDisk EVO+ microSD 32GB
Network (Ethernet or wireless): Ethernet
Connected devices: TV
Problem description:
The xbian-config Kodi addon has stopped working. I haven't used it for about 6 months so I can't be sure when it stopped.
Running the addon gives the message: "xbian-config error: Check the log file"
The relevant lines in kodi.log are:
20:14:32.660 170.239182 T:1710941104 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'bsddb.db.DBFileExistsError'>
Error Contents: (17, 'File exists -- BDB0002 __fop_file_setup: Retry limit (100) exceeded')
Traceback (most recent call last):
File "/usr/local/share/kodi/addons/plugin.xbianconfig/services.py", line 8, in <module>
from services.firstrun import firstrun
File "/usr/local/share/kodi/addons/plugin.xbianconfig/services/firstrun.py", line 4, in <module>
from resources.lib.utils import *
File "/usr/local/share/kodi/addons/plugin.xbianconfig/resources/lib/utils.py", line 13, in <module>
import resources.lib.translation
File "/usr/local/share/kodi/addons/plugin.xbianconfig/resources/lib/translation.py", line 23, in <module>
xbian_lang = xbianConfig('locales', 'select')[0].split('.')[0]
File "/usr/local/share/kodi/addons/plugin.xbianconfig/resources/lib/xbianconfig.py", line 109, in xbianConfig
cacheDB = shelve.open(os.path.join(CACHEDIR, CACHEFILE), 'c', writeback=True)
File "/usr/lib/python2.7/shelve.py", line 239, in open
return DbfilenameShelf(filename, flag, protocol, writeback)
File "/usr/lib/python2.7/shelve.py", line 223, in __init__
Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback)
File "/usr/lib/python2.7/anydbm.py", line 85, in open
return mod.open(file, flag, mode)
File "/usr/lib/python2.7/dbhash.py", line 18, in open
return bsddb.hashopen(file, flag, mode)
File "/usr/lib/python2.7/bsddb/__init__.py", line 364, in hashopen
d.open(file, db.DB_HASH, flags, mode)
DBFileExistsError: (17, 'File exists -- BDB0002 __fop_file_setup: Retry limit (100) exceeded')
-->End of Python script error report<--
How to reproduce:
Run the xbian-config addon.
Note: the xbian-config CLI command runs without error.
XBian version: 20190215-0 (from /etc/motd)
XBMC/Kodi version: 17.6
Overclock settings: default
Auto-update is enabled. Up to date with patching.
Hardware
Device type and model: Raspberry Pi 3 Model B
Power supply rating: 2A
SD card size and make/type: SanDisk EVO+ microSD 32GB
Network (Ethernet or wireless): Ethernet
Connected devices: TV
Problem description:
The xbian-config Kodi addon has stopped working. I haven't used it for about 6 months so I can't be sure when it stopped.
Running the addon gives the message: "xbian-config error: Check the log file"
The relevant lines in kodi.log are:
20:14:32.660 170.239182 T:1710941104 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'bsddb.db.DBFileExistsError'>
Error Contents: (17, 'File exists -- BDB0002 __fop_file_setup: Retry limit (100) exceeded')
Traceback (most recent call last):
File "/usr/local/share/kodi/addons/plugin.xbianconfig/services.py", line 8, in <module>
from services.firstrun import firstrun
File "/usr/local/share/kodi/addons/plugin.xbianconfig/services/firstrun.py", line 4, in <module>
from resources.lib.utils import *
File "/usr/local/share/kodi/addons/plugin.xbianconfig/resources/lib/utils.py", line 13, in <module>
import resources.lib.translation
File "/usr/local/share/kodi/addons/plugin.xbianconfig/resources/lib/translation.py", line 23, in <module>
xbian_lang = xbianConfig('locales', 'select')[0].split('.')[0]
File "/usr/local/share/kodi/addons/plugin.xbianconfig/resources/lib/xbianconfig.py", line 109, in xbianConfig
cacheDB = shelve.open(os.path.join(CACHEDIR, CACHEFILE), 'c', writeback=True)
File "/usr/lib/python2.7/shelve.py", line 239, in open
return DbfilenameShelf(filename, flag, protocol, writeback)
File "/usr/lib/python2.7/shelve.py", line 223, in __init__
Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback)
File "/usr/lib/python2.7/anydbm.py", line 85, in open
return mod.open(file, flag, mode)
File "/usr/lib/python2.7/dbhash.py", line 18, in open
return bsddb.hashopen(file, flag, mode)
File "/usr/lib/python2.7/bsddb/__init__.py", line 364, in hashopen
d.open(file, db.DB_HASH, flags, mode)
DBFileExistsError: (17, 'File exists -- BDB0002 __fop_file_setup: Retry limit (100) exceeded')
-->End of Python script error report<--
How to reproduce:
Run the xbian-config addon.
Note: the xbian-config CLI command runs without error.