s7alhani / 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

GoogleCodeExporter commented 8 years ago

Original comment by turne...@gmail.com on 16 Nov 2013 at 11:48

GoogleCodeExporter commented 8 years ago
How do I apply this patch?

Original comment by faruke.l...@gmail.com on 23 Jan 2014 at 4:16

GoogleCodeExporter commented 8 years ago
Download .patch file.

Go to cd ~/.xbmc/addons/Navi-X/src/ directory and run command:

patch -p0 < .../path/to/file.patch

Original comment by zst...@gmail.com on 23 Jan 2014 at 10:16

GoogleCodeExporter commented 8 years ago
How we apply this patch on Android version devices?
Thank you.

Original comment by Panayiot...@gmail.com on 9 Mar 2014 at 6:11

GoogleCodeExporter commented 8 years ago
Worked for me on 4.1.2
On android, you'll most likely need busybox.  Look at the manual page, pretty 
straight forward.  

Also, it helps to rename the download to CFileLoader.patch and move it directly 
into the ../src/ folder first.

Original comment by nathan.h...@gmail.com on 13 Mar 2014 at 7:33

GoogleCodeExporter commented 8 years ago
as always, make backups.

Original comment by nathan.h...@gmail.com on 13 Mar 2014 at 7:43

GoogleCodeExporter commented 8 years ago
how apply this patch on windows 7?

Original comment by varo...@gmail.com on 19 Mar 2014 at 9:40

GoogleCodeExporter commented 8 years ago
yea i also wanted to know how do we apply this patch to windows 7/8 because its 
not working for me.

Original comment by Robbie.S...@gmail.com on 2 Apr 2014 at 11:04

GoogleCodeExporter commented 8 years ago
how to apply this patch to winows 7, please respond

Original comment by Kamal.La...@gmail.com on 2 Apr 2014 at 5:13

GoogleCodeExporter commented 8 years ago
navi x does not seem to be working on xbmc for windows 7 and has not been 
working for me for a few weeks now does anyone know what the problem is and 
wether they are going to bring out an updated navi-x 

Original comment by predmond...@googlemail.com on 10 Apr 2014 at 3:19

GoogleCodeExporter commented 8 years ago
Can you apply this patch on apple tv2

Original comment by andyta...@gmail.com on 19 Apr 2014 at 4:41

GoogleCodeExporter commented 8 years ago
How do you patch on Windows 7? no patch command on windows 7 ....

Original comment by jaysmith...@gmail.com on 22 Apr 2014 at 4:35

GoogleCodeExporter commented 8 years ago
how do i install the patch 

Original comment by poswald...@gmail.com on 5 May 2014 at 2:08

GoogleCodeExporter commented 8 years ago
Tried to install the patch on my mbox using busybox and sdhell CD into 
directory and use patch and file name the nothing at all :/ 

Anyone got any ideas ? 

Also what stopping the devs justbadding this patch to the available version on 
the apps own update page ? 

I have tried downgrading doesn't fix the problem

Original comment by robertki...@gmail.com on 7 May 2014 at 10:26

GoogleCodeExporter commented 8 years ago
how do i use this on imac ? plz help

Original comment by andrewlo...@aol.com on 9 Jun 2014 at 11:36