[GeoNode-users] Geonode : Printing error

miloud it design miloud.it.design at gmail.com
Mon May 24 02:27:59 PDT 2021


Hi,
I need help for this error message when i try to print a map:


*Error on printing: <!DOCTYPE html> <html lang="en"> <head> <meta
http-equiv="content-type" content="text/html; charset=utf-8"> <meta
name="robots" content="NONE,NOARCHIVE"> <title>AttributeError at
/proxy/</title> <style type="text/css"> *
*......................................*
*<p> You're seeing this error because you have <code>DEBUG = True</code> in
your Django settings file. Change that to <code>False</code>, and Django
will display a standard page generated by the handler for this status code.
</p> </div> </body> </html>*

Also, the command prompt (Windows) shows a feedback, see attached file.

*Configuration:*
Windows 10 : Python 3.8.9 32bit : Geonode 3.2.0 (Development Mode)

Thanks
Miloud.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20210524/ab4a133f/attachment.html>
-------------- next part --------------
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\pc\Desktop\geonode\geonode\utils.py", line 1461, in request
    response = action(
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\requests\sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\requests\adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='geoserver', port=8080): Max retries exceeded with url: /geoserver/pdf/create.json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x143F1970>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
Internal Server Error: /proxy/
Traceback (most recent call last):
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
    response = get_response(request)
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\django\utils\decorators.py", line 142, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "C:\Users\pc\Desktop\geonode\geonode\proxy\views.py", line 191, in proxy
    content = response.content or response.reason
AttributeError: 'NoneType' object has no attribute 'content'
"POST /proxy/?url=http%3A%2F%2Fgeoserver%3A8080%2Fgeoserver%2Fpdf%2Fcreate.json HTTP/1.1" 500 153475
Wrong number or type of arguments for overloaded function 'Geometry_Transform'.
  Possible C/C++ prototypes are:
    OGRGeometryShadow::Transform(OSRCoordinateTransformationShadow *)
    OGRGeometryShadow::Transform(OGRGeomTransformerShadow *)
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\urllib3\connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\urllib3\connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\urllib3\connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "c:\users\pc\appdata\local\programs\python\python38-32\lib\http\client.py", line 1252, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "c:\users\pc\appdata\local\programs\python\python38-32\lib\http\client.py", line 1298, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "c:\users\pc\appdata\local\programs\python\python38-32\lib\http\client.py", line 1247, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "c:\users\pc\appdata\local\programs\python\python38-32\lib\http\client.py", line 1007, in _send_output
    self.send(msg)
  File "c:\users\pc\appdata\local\programs\python\python38-32\lib\http\client.py", line 947, in send
    self.connect()
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\urllib3\connection.py", line 200, in connect
    conn = self._new_conn()
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\urllib3\connection.py", line 181, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x0135A250>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\requests\adapters.py", line 439, in send
    resp = conn.urlopen(
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\urllib3\connectionpool.py", line 783, in urlopen
    return self.urlopen(
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\urllib3\connectionpool.py", line 783, in urlopen
    return self.urlopen(
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\urllib3\connectionpool.py", line 783, in urlopen
    return self.urlopen(
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\urllib3\connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\urllib3\util\retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='geoserver', port=8080): Max retries exceeded with url: /geoserver/pdf/create.json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0135A250>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\pc\Desktop\geonode\geonode\utils.py", line 1461, in request
    response = action(
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\requests\sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\requests\sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\requests\adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='geoserver', port=8080): Max retries exceeded with url: /geoserver/pdf/create.json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0135A250>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
Internal Server Error: /proxy/
Traceback (most recent call last):
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
    response = get_response(request)
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "C:\cygwin\home\pc\geonode_env\lib\site-packages\django\utils\decorators.py", line 142, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "C:\Users\pc\Desktop\geonode\geonode\proxy\views.py", line 191, in proxy
    content = response.content or response.reason
AttributeError: 'NoneType' object has no attribute 'content'
"POST /proxy/?url=http%3A%2F%2Fgeoserver%3A8080%2Fgeoserver%2Fpdf%2Fcreate.json HTTP/1.1" 500 153447


More information about the geonode-users mailing list