jordan85824 / navi-x

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

Python exception when trying to download YouTube video #137

Open GoogleCodeExporter opened 8 years ago

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

When trying to download some videos hosted on YouTube, the download doesn't 
start, no error message is shown but one is logged in xbmc.log, and no buttons 
work except for Up / Down. Only pressing one of the shortcut buttons for Video, 
Music etc. lets me get out of navi-x.

2. What steps will reproduce the problem?

- Select a video from the AP feed, e.g. "AP Top Stories"
- Choose "Download" from the context menu
- Try to play or download another video or go back to the previous page

3. What is the expected output?

Download should start normally.

What do you see instead?

The following is logged in xbmc.log:
16:39:19 T:140128206976768   ERROR: Exception in python script's onAction
16:39:19 T:140128206976768   ERROR: Traceback (most recent call last):
16:39:19 T:140128206976768   ERROR:   File 
"/storage/.xbmc/addons/Navi-X/src/navix.py", line 247, 
in onAction
16:39:19 T:140128206976768   ERROR: self.onAction1(action)
16:39:19 T:140128206976768   ERROR:   File 
"/storage/.xbmc/addons/Navi-X/src/navix.py", line 414, 
in onAction1
16:39:19 T:140128206976768   ERROR: self.selectBoxMainList()
16:39:19 T:140128206976768   ERROR:   File 
"/storage/.xbmc/addons/Navi-X/src/navix.py", line 2173,
 in selectBoxMainList
16:39:19 T:140128206976768   ERROR: self.onDownload()
16:39:19 T:140128206976768   ERROR:   File 
"/storage/.xbmc/addons/Navi-X/src/navix.py", line 2042,
 in onDownload
16:39:19 T:140128206976768   ERROR: self.downloader.browse(entry, self.dwnlddir)
16:39:19 T:140128206976768   ERROR:   File 
"/storage/.xbmc/addons/Navi-X/src/CDownLoader.py", line
 150, in browse
16:39:19 T:140128206976768   ERROR: ext, size = self.read_file_info(entry)
16:39:19 T:140128206976768   ERROR:   File 
"/storage/.xbmc/addons/Navi-X/src/CDownLoader.py", line
 264, in read_file_info
16:39:19 T:140128206976768   ERROR: if [5,6,34,35].index(fmt) >= 0:
16:39:19 T:140128206976768   ERROR: ValueError
16:39:19 T:140128206976768   ERROR: :
16:39:19 T:140128206976768   ERROR: 18 is not in list

4. What version number of Navi-X are you using?

Latest SVN

5. What media center platform, version and operating system are you using?

OpenELEC devel build, r11050

6. Please provide any additional information below:

This is very easy to fix, replace:

if [5,6,34,35].index(fmt) >= 0:

with:

if fmt in [5,6,34,35]:

Kind regards,

Alain

Original issue reported on code.google.com by a.c.kal...@gmail.com on 30 May 2012 at 9:33

GoogleCodeExporter commented 8 years ago
Hello Alain,

OpenELEC technically is not a supported platform for Navi-X. While it is 
technically the same guts as XBMC, modifications may cause differentiations in 
interoperability of each platform. I will still help attempt to troubleshoot 
this to see if we uncover the issue at hand.

It appears you are pointing out an issue with the YouTube processor. Next time, 
you can post about "processor" issues here: 
http://www.navixtreme.com/forums/?action=topic_view&id=270

This will bring it to Turner3d's attention sooner. If you want to post in the 
forum here now, Turner3d may see it sooner. Otherwise he'll get here soon 
enough. Thanks!

Bill 

Original comment by billdaly111@gmail.com on 1 Jun 2012 at 10:12