profscience69 / navi-x

Automatically exported from code.google.com/p/navi-x
0 stars 0 forks source link

Error Contents: CFileLoader2 instance has no attribute 'localfile' #204

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Getting the following error on G box midnight (j1nx build)

2:48:44 T:1194738784  NOTICE: failed to get 
URL=http://www.navixtreme.com/playlist/new.plx?page=2
22:48:44 T:1194738784  NOTICE: Reason:
22:48:44 T:1194738784  NOTICE: [Errno 110] Connection timed out
22:48:44 T:1194738784   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 "/root/.xbmc/addons/Navi-X/src/navix.py", line 451, in onClick
                                                self.onAction1(ACTION_SELECT_ITEM)
                                              File "/root/.xbmc/addons/Navi-X/src/navix.py", line 284, in onAction1
                                                self.SelectItem(self.playlist, pos)
                                              File "/root/.xbmc/addons/Navi-X/src/navix.py", line 998, in SelectItem
                                                result = self.ParsePlaylist(mediaitem=mediaitem)
                                              File "/root/.xbmc/addons/Navi-X/src/navix.py", line 580, in ParsePlaylist
                                                result = playlist.load_plx(URL, mediaitem, proxy="SMARTCACHE")
                                              File "/root/.xbmc/addons/Navi-X/src/CPlayList.py", line 137, in load_plx
                                                loader.load(self.URL, proxy=proxy)
                                              File "/root/.xbmc/addons/Navi-X/src/CFileLoader.py", line 98, in load
                                                self.loadSmartCache(URL, destfile, timeout, proxy, content_type, retries)
                                              File "/root/.xbmc/addons/Navi-X/src/CFileLoader.py", line 189, in loadSmartCache
                                                self.writeMetaData(self.localfile)
                                            AttributeError: CFileLoader2 instance has no attribute 'localfile'
                                            -->End of Python script error report<--
22:48:51 T:1097191072   DEBUG: SECTION:UnloadDelayed(DLL: 
special://xbmcbin/system/ImageLib-arm.so)
22:48:51 T:1097191072   DEBUG: Unloading: ImageLib-arm.so

Original issue reported on code.google.com by limp...@gmail.com on 1 Jun 2013 at 9:52

GoogleCodeExporter commented 9 years ago
So I'm getting the same problem, both on a Raspberry Pi and my laptop. There is 
always a "time out" before this error occurs. On version 3.7.7 and 3.7.8 XBMC 
freezes and the logs show the below error:

ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script 
returned the following error" "CFileLoader2 instance has no attribute 
'localfile'

On version 3.7.6 this happens more elegantly. I receive an error message on the 
screen instead of freezing. I can't recall the exact error message but it is 
something like Can't Open File.

Original comment by fed...@gmail.com on 22 Jun 2013 at 4:17

GoogleCodeExporter commented 9 years ago
I get this same error on the mainline (not nightly) Windows Frodo (12.0) 
release as well.  And it hangs XBMC on Please Wait, and I have to kill it via 
Clt+Alt+Del

11:20:18 T:3288   DEBUG: ------ Window Deinit (Pointer.xml) ------
11:20:18 T:4660  NOTICE: failed to get 
URL=http://scrape.navixtreme.com/boseman/images/watchcartoononline_logo.png
11:20:18 T:4660  NOTICE: Reason:
11:20:18 T:4660  NOTICE: [Errno 10060] A connection attempt failed because the 
connected party did not properly respond after a period of time, or established 
connection failed because connected host has failed to respond
11:20:25 T:3404  NOTICE: failed to get 
URL=http://scrape.navixtreme.com/cgi-bin/justme4u2c/scrapers/HGTV.pl
11:20:25 T:3404  NOTICE: Reason:
11:20:25 T:3404  NOTICE: [Errno 10060] A connection attempt failed because the 
connected party did not properly respond after a period of time, or established 
connection failed because connected host has failed to respond
11:20:25 T:3404   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 "C:\Users\MCAdmin\AppData\Roaming\XBMC\addons\Navi-X\src\navix.py", line 451, in onClick
                                                self.onAction1(ACTION_SELECT_ITEM)
                                              File "C:\Users\MCAdmin\AppData\Roaming\XBMC\addons\Navi-X\src\navix.py", line 284, in onAction1
                                                self.SelectItem(self.playlist, pos)
                                              File "C:\Users\MCAdmin\AppData\Roaming\XBMC\addons\Navi-X\src\navix.py", line 998, in SelectItem
                                                result = self.ParsePlaylist(mediaitem=mediaitem)
                                              File "C:\Users\MCAdmin\AppData\Roaming\XBMC\addons\Navi-X\src\navix.py", line 580, in ParsePlaylist
                                                result = playlist.load_plx(URL, mediaitem, proxy="SMARTCACHE")
                                              File "C:\Users\MCAdmin\AppData\Roaming\XBMC\addons\Navi-X\src\CPlayList.py", line 137, in load_plx
                                                loader.load(self.URL, proxy=proxy)
                                              File "C:\Users\MCAdmin\AppData\Roaming\XBMC\addons\Navi-X\src\CFileLoader.py", line 98, in load
                                                self.loadSmartCache(URL, destfile, timeout, proxy, content_type, retries)
                                              File "C:\Users\MCAdmin\AppData\Roaming\XBMC\addons\Navi-X\src\CFileLoader.py", line 189, in loadSmartCache
                                                self.writeMetaData(self.localfile)
                                            AttributeError: CFileLoader2 instance has no attribute 'localfile'
                                            -->End of Python script error report<--
11:20:27 T:3288   DEBUG: SECTION:UnloadDelayed(DLL: 
special://xbmcbin/system/ImageLib.dll)

Original comment by susan.sm...@gmail.com on 14 Jul 2013 at 3:33

GoogleCodeExporter commented 9 years ago
OK, as an update, I just updated my Windows XBMC to the lastest Frodo 12.2 
release and this error seems to have gone away now and all is working.

Original comment by susan.sm...@gmail.com on 14 Jul 2013 at 3:45

GoogleCodeExporter commented 9 years ago

Original comment by turne...@gmail.com on 14 Nov 2013 at 11:41