jordan85824 / navi-x

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

stay on please wait on load playlist [PATCH attached] #254

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
1. What is the technical error you are experiencing?

Stay on please wait if try to load play list with doesnt exist, URL with return 
404.

2. What steps will reproduce the problem?

in favorite.plx put:

#
type=playlist
name=not found
URL=http://www.google.com/not-found
#

and try to load this item.

3. What is the expected output? What do you see instead?

error...

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?

linux debian on xbmc frodo

6. Please provide any additional information below:

xbmc.log

15:03:05 T:140089055237888  NOTICE: Thread XBPyThread start, auto delete: false
15:03:05 T:140089055237888  NOTICE: -->Python Interpreter Initialized<--
15:03:09 T:140089055237888  NOTICE: failed to get 
URL=http://www.google.com/not-found
15:03:09 T:140089055237888  NOTICE: Reason:
15:03:09 T:140089055237888  NOTICE: Not Found
15:03:09 T:140089055237888   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/zsteva/.xbmc/addons/Navi-X/src/navix.py", line 451, in onClick
                                                self.onAction1(ACTION_SELECT_ITEM)
                                              File "/home/zsteva/.xbmc/addons/Navi-X/src/navix.py", line 284, in onAction1
                                                self.SelectItem(self.playlist, pos)
                                              File "/home/zsteva/.xbmc/addons/Navi-X/src/navix.py", line 998, in SelectItem
                                                result = self.ParsePlaylist(mediaitem=mediaitem)
                                              File "/home/zsteva/.xbmc/addons/Navi-X/src/navix.py", line 580, in ParsePlaylist
                                                result = playlist.load_plx(URL, mediaitem, proxy="SMARTCACHE")
                                              File "/home/zsteva/.xbmc/addons/Navi-X/src/CPlayList.py", line 137, in load_plx
                                                loader.load(self.URL, proxy=proxy)
                                              File "/home/zsteva/.xbmc/addons/Navi-X/src/CFileLoader.py", line 104, in load
                                                self.loadSmartCache(URL, destfile, timeout, proxy, content_type, retries)
                                              File "/home/zsteva/.xbmc/addons/Navi-X/src/CFileLoader.py", line 195, in loadSmartCache
                                                self.writeMetaData(self.localfile)
                                            AttributeError: CFileLoader2 instance has no attribute 'localfile'
                                            -->End of Python script error report<--

Patch for solving problem is attached.

regars,

Original issue reported on code.google.com by zst...@gmail.com on 19 Oct 2013 at 1:08

Attachments:

GoogleCodeExporter commented 8 years ago

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