mozilla/pdf.js — Issue #1168: Make server script crashes if testing PDF files cannot be downloaded
Author: xavier114fch
Created: 2012-02-03 10:06:39+00:00
State: open

Do a fresh git clone and "make server" seems cannot get this file.
http://speech.tifr.res.in/tutorials/hmmTutExamplesAlgo.pdf

The script would then be crashed with exception:

''Downloading http://speech.tifr.res.in/tutorials/hmmTutExamplesAlgo.pdf
to pdfs/hmm.pdf ...Traceback (most recent call last):
File "test.py", line 609, in
main()
File "test.py", line 596, in main
browsers = setUp(options)
File "test.py", line 369, in setUp
downloadLinkedPDFs(manifestList)
File "test.py", line 316, in downloadLinkedPDFs
response = urllib2.urlopen(link)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
raise URLError(err)
urllib2.URLError:
make: *** [server] Error 1''