On Sun, 19 Apr 2015, Allan Duncan <[email protected]> wrote:
> On 18/04/15 14:27, Russell Coker wrote:
> > On Sat, 18 Apr 2015 03:26:21 AM Allan Duncan wrote:
> >> I just did another pull and News now downloads, either due to code or
> >> web site changes.
> >> Haven't got the time at the moment to see what was altered, but the
> >> 
> >> files that changed are:
> >>       iview/comm.py
> >>       iview/hds.py
> >>       iview/parser.py
> > 
> > Where did you pull it from?
> 
> https://github.com/vadmium/python-iview/

I just fetched that and tried to run it on Debian/Jessie with the following 
result.  The last line indicates that the root cause is a HTTP 404 error which 
is the same problem I have been having with the old version.

$ ./iview-cli -d news/ASTb_Tx_1304.mp4
Traceback (most recent call last):                                              
                                                                                
                                                                                
                                                                                
                                  
  File "./iview-cli", line 303, in <module>                                     
                                                                                
                                                                                
                                                                                
                                  
    main()                                                                      
                                                                                
                                                                                
                                                                                
                                  
  File "./iview-cli", line 292, in main                                         
                                                                                
                                                                                
                                                                                
                                  
    download(args.download, args.output)                                        
                                                                                
                                                                                
                                                                                
                                  
  File "./iview-cli", line 100, in download                                     
                                                                                
                                                                                
                                                                                
                                  
    iview.fetch.fetch_program(url, execvp=True, dest_file=output)               
                                                                                
                                                                                
                                                                                
                                  
  File "/tmp/p/p/iview/fetch.py", line 177, in fetch_program                    
                                                                                
                                                                                
                                                                                
                                  
    quiet=quiet, frontend=frontend)                                             
                                                                                
                                                                                
                                                                                
                                  
  File "/tmp/p/p/iview/fetch.py", line 243, in fetch                            
                                                                                
                                                                                
                                                                                
                                  
    **kw)                                                                       
                                                                                
                                                                                
                                                                                
                                  
  File "/tmp/p/p/iview/fetch.py", line 284, in hds_open_file                    
                                                                                
                                                                                
                                                                                
                                  
    return hds.fetch(*pos, dest_file=dest_file, **kw)                           
                                                                                
                                                                                
                                                                                
                                  
  File "/tmp/p/p/iview/hds.py", line 46, in fetch                               
                                                                                
                                                                                
                                                                                
                                  
    manifest = get_manifest(url, session)                                       
                                                                                
                                                                                
                                                                                
                                  
  File "/tmp/p/p/iview/hds.py", line 534, in get_manifest                       
                                                                                
                                                                                
                                                                                
                                  
    with http_get(session, url, ("video/f4m",)) as response:                    
                                                                                
                                                                                
                                                                                
                                  
  File "/tmp/p/p/iview/utils.py", line 224, in http_get                         
                                                                                
                                                                                
                                                                                
                                  
    response = session.open(req)                                                
                                                                                
                                                                                
                                                                                
                                  
  File "/usr/lib/python3.4/urllib/request.py", line 469, in open                
                                                                                
                                                                                
                                                                                
                                  
    response = meth(req, response)                                              
                                                                                
                                                                                
                                                                                
                                  
  File "/usr/lib/python3.4/urllib/request.py", line 579, in http_response       
                                                                                
                                                                                
                                                                                
                                  
    'http', request, response, code, msg, hdrs)                                 
                                                                                
                                                                                
                                                                                
                                  
  File "/usr/lib/python3.4/urllib/request.py", line 507, in error               
                                                                                
                                                                                
                                                                                
                                  
    return self._call_chain(*args)                                              
                                                                                
                                                                                
                                                                                
                                  
  File "/usr/lib/python3.4/urllib/request.py", line 441, in _call_chain         
                                                                                
                                                                                
                                                                                
                                  
    result = func(*args)                                                        
                                                                                
                                                                                
                                                                                
                                  
  File "/usr/lib/python3.4/urllib/request.py", line 587, in http_error_default  
                                                                                
                                                                                
                                                                                
                                  
    raise HTTPError(req.full_url, code, msg, hdrs, fp)                          
                                                                                
                                                                                
                                                                                
                                  
urllib.error.HTTPError: HTTP Error 404: Not Found

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to