View Single Post
Hei Lanjelin,

hjertelig takk for oppdatering! Av en eller annen grunn får jeg ikke oppdateringen til å fungere. Jeg har installert Python 2.7.15 og fått oppdatert Pillow (5.2.0).

Dessverre har jeg ikke anelse om hva jeg gjør. Jeg skriver "python nbno.py --id 2011082308178" i Terminal (macOS 10.14) og får følgende resultat:

Laster ned bok med ID: 2011082308178
Traceback (most recent call last):
File "nbno.py", line 225, in <module>
x.updateMaxColRow(str(pageCounter).rjust(4, '0'))
File "nbno.py", line 80, in updateMaxColRow
response = urllib2.urlopen(req)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 467, in error
result = self._call_chain(*args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 654, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)>

...

En mappe lages, men den er dessverre tom. Noen anelse om hva jeg gjør feil, evtl. hva som ikke fungerer?