http://www2.assemblee-nationale.fr/deputes/liste/departement/(filtre)/Pyrénées-Atlantiques - Mouve

level de log mis à 1

Récupération du document http://www2.assemblee-nationale.fr/deputes/liste/departement/(filtre)/Pyrénées-Atlantiques.

Récupération de l'URL http://www2.assemblee-nationale.fr/deputes/liste/departement/(filtre)/Pyrénées-Atlantiques...

Traceback (most recent call last):
  File "/homez.476/thbz/prog/mouve/mouve.py", line 1257, in main
    res = get_document(requete, cgi_args)
  File "/homez.476/thbz/prog/mouve/mouve.py", line 998, in get_document
    with urllib.request.urlopen(r) as req:
  File "/usr/lib/python3.4/urllib/request.py", line 153, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.4/urllib/request.py", line 455, in open
    response = self._open(req, data)
  File "/usr/lib/python3.4/urllib/request.py", line 473, in _open
    '_open', req)
  File "/usr/lib/python3.4/urllib/request.py", line 433, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.4/urllib/request.py", line 1202, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib/python3.4/urllib/request.py", line 1174, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "/usr/lib/python3.4/http/client.py", line 1142, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.4/http/client.py", line 1170, in _send_request
    self.putrequest(method, url, **skips)
  File "/usr/lib/python3.4/http/client.py", line 1019, in putrequest
    self._output(request.encode('ascii'))
UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 43: ordinal not in range(128)

Raccourcis

Commandes

Fermer