1. What is the technical error you are experiencing?
Please wait on entering HOME
2. What steps will reproduce the problem?
Just click on home and it will hang
3. What is the expected output? What do you see instead?
The home menu
4. What version number of Navi-X are you using?
3.7.8
5. What media center platform, version and operating system are you using?
Using raspberry pi newest version of official release (I am too lazy to look)
6. Please provide any additional information below:
Ok checked the log this is the exception thrown :
08:00:06 T:2737824832 ERROR: EXCEPTION Thrown (PythonToCppException) :
-->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: CFileLoader2 instance has no attribute 'localfile'
Traceback (most recent call last):
File "/home/pi/.xbmc/addons/Navi-X/src/navix.py", line 451, in onClick
self.onAction1(ACTION_SELECT_ITEM)
File "/home/pi/.xbmc/addons/Navi-X/src/navix.py", line 284, in onAction1
self.SelectItem(self.playlist, pos)
File "/home/pi/.xbmc/addons/Navi-X/src/navix.py", line 998, in SelectItem
result = self.ParsePlaylist(mediaitem=mediaitem)
File "/home/pi/.xbmc/addons/Navi-X/src/navix.py", line 580, in ParsePlaylist
result = playlist.load_plx(URL, mediaitem, proxy="SMARTCACHE")
File "/home/pi/.xbmc/addons/Navi-X/src/CPlayList.py", line 137, in load_plx
loader.load(self.URL, proxy=proxy)
File "/home/pi/.xbmc/addons/Navi-X/src/CFileLoader.py", line 104, in load
self.loadSmartCache(URL, destfile, timeout, proxy, content_type, retries)
File "/home/pi/.xbmc/addons/Navi-X/src/CFileLoader.py", line 186, in loadSmartCache
if filecmp.cmp(self.localfile, localfile + ".old") == True:
AttributeError: CFileLoader2 instance has no attribute 'localfile'
-->End of Python script error report<--
So I checked the source too where it's pointing the problem :
if os.path.exists(localfile + ".old") == True:
#compare the file
if filecmp.cmp(self.localfile, localfile + ".old") == True:
if expires < (128*3600):
expires = expires * 2
else:
expires = 3600
os.remove(localfile + ".old") // this line 186 is where the exception is thrown yet as you see from the if above it should exist yet it doesnt xD
I dont have much time else I would have fixed it myself.
Original issue reported on code.google.com by robertal...@gmail.com on 26 Aug 2013 at 8:20
Original issue reported on code.google.com by
robertal...@gmail.com
on 26 Aug 2013 at 8:20