Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1553- ERRORE rilevato alla riga : 445
- 1554- Riga del CODICE : json1= urllib3.PoolManager().request("GET", Url_omdb, timeout=TimeOut)
- 1555- Tipo Errore : 'ascii' codec can't encode character '\u2019' in position 33: ordinal not in range(128)
- Traceback (most recent call last):
- File "/home/pi/poster_downloader/poster_downloader.py", line 445, in <module>
- json1= urllib3.PoolManager().request("GET", Url_omdb, timeout=TimeOut)
- File "/usr/lib/python3/dist-packages/urllib3/request.py", line 68, in request
- **urlopen_kw)
- File "/usr/lib/python3/dist-packages/urllib3/request.py", line 89, in request_encode_url
- return self.urlopen(method, url, **extra_kw)
- File "/usr/lib/python3/dist-packages/urllib3/poolmanager.py", line 323, in urlopen
- response = conn.urlopen(method, u.request_uri, **kw)
- File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
- chunked=chunked)
- File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
- conn.request(method, url, **httplib_request_kw)
- File "/usr/lib/python3.7/http/client.py", line 1260, in request
- self._send_request(method, url, body, headers, encode_chunked)
- File "/usr/lib/python3.7/http/client.py", line 1271, in _send_request
- self.putrequest(method, url, **skips)
- File "/usr/lib/python3.7/http/client.py", line 1128, in putrequest
- self._output(request.encode('ascii'))
- UnicodeEncodeError: 'ascii' codec can't encode character '\u2019' in position 33: ordinal not in range(128)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement