2016-12-08, 16:52
I am running kodibuntu.
I am getting these errors when running texturecache and I do not know how to fix it:
root@kod:~# /home/kodi/python/texturecache.py C
Traceback (most recent call last):
File "/home/kodi/python/texturecache.py", line 8583, in <module>
main(sys.argv[1:])
File "/home/kodi/python/texturecache.py", line 8283, in main
if not checkConfig(argv[0]): sys.exit(2)
File "/home/kodi/python/texturecache.py", line 7868, in checkConfig
gConfig.HAS_PVR = ("result" in data and data["result"].get("System.GetBool(pvrmanager.enabled)", False))
AttributeError: 'NoneType' object has no attribute 'get'
This is my config file:
root@kodi-CF-31ACB7FDM:~# cat /home/kodi/python/texturecache.cfg
#userdata = ~/.xbmc/userdata/
#userdata = /home/osmc/.kodi/userdata/
userdata = ~/.kodi/userdata/
#dbfile = Database/Textures13.db
dbfile = ~/.kodi/userdata/Database/Textures13.db
#thumbnails = Thumbnails/
thumbnails = ~/.kodi/userdata/Thumbnails/
webserver.username = user
webserver.password = pwd
xbmc.host = localhost
webserver.port = 8080
rpc.port = 9090
download.threads = 2
#extrajson.albums =
#extrajson.artists =
#extrajson.songs =
#extrajson.movies =
#extrajson.sets =
#extrajson.tvshows.tvshow =
#extrajson.tvshows.season =
#extrajson.tvshows.episode=
qaperiod = 30
#qa.file = no
cache.castthumb = yes
#logfile =
#logfile.verbose = no
#network.mac = aa:bb:cc:dd:ee:ff
Thanx alot!
I am getting these errors when running texturecache and I do not know how to fix it:
root@kod:~# /home/kodi/python/texturecache.py C
Traceback (most recent call last):
File "/home/kodi/python/texturecache.py", line 8583, in <module>
main(sys.argv[1:])
File "/home/kodi/python/texturecache.py", line 8283, in main
if not checkConfig(argv[0]): sys.exit(2)
File "/home/kodi/python/texturecache.py", line 7868, in checkConfig
gConfig.HAS_PVR = ("result" in data and data["result"].get("System.GetBool(pvrmanager.enabled)", False))
AttributeError: 'NoneType' object has no attribute 'get'
This is my config file:
root@kodi-CF-31ACB7FDM:~# cat /home/kodi/python/texturecache.cfg
#userdata = ~/.xbmc/userdata/
#userdata = /home/osmc/.kodi/userdata/
userdata = ~/.kodi/userdata/
#dbfile = Database/Textures13.db
dbfile = ~/.kodi/userdata/Database/Textures13.db
#thumbnails = Thumbnails/
thumbnails = ~/.kodi/userdata/Thumbnails/
webserver.username = user
webserver.password = pwd
xbmc.host = localhost
webserver.port = 8080
rpc.port = 9090
download.threads = 2
#extrajson.albums =
#extrajson.artists =
#extrajson.songs =
#extrajson.movies =
#extrajson.sets =
#extrajson.tvshows.tvshow =
#extrajson.tvshows.season =
#extrajson.tvshows.episode=
qaperiod = 30
#qa.file = no
cache.castthumb = yes
#logfile =
#logfile.verbose = no
#network.mac = aa:bb:cc:dd:ee:ff
Thanx alot!