<div dir="ltr">Hi Miguel,<div>your error is something related to Windows I think. I see you are trying to upload a Layer and not a document so the <span style="font-size:12.8000001907349px">MAX_DOCUMENT_SIZE won't take effect for you.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Unfortunately I have no knowledge of GeoNode installation on windows. Maybe others developers have so I invite others to comment.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-01 16:06 GMT+02:00 Miguel-Angel Manso-Callejo (UPM) <span dir="ltr"><<a href="mailto:m.manso@upm.es" target="_blank">m.manso@upm.es</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, Stefan<br>
<br>
It is strange. Because i can upload a geotif file of 178MB with the setting of 50 #MB and when i tryed to upload a file with 400MB appear the error.<br>
<br>
This is the complete log:<br>
<br>
<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236] Error creating import session<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236] Traceback (most recent call last):<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]   File "c:/GeoNode/GeoNode\\geonode\\upload\\upload.py", line 266, in save_step<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]     mosaic=len(spatial_files) > 1)<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]   File "C:\\GeoNode\\venv\\Lib\\site-packages\\gsimporter\\client.py", line 95, in upload_files<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]     session.upload_task(files, use_url, intial_opts)<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]   File "C:\\GeoNode\\venv\\Lib\\site-packages\\gsimporter\\api.py", line 390, in upload_task<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]     resp = self._client().post_multipart(addopts(url), files)<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]   File "C:\\GeoNode\\venv\\Lib\\site-packages\\gsimporter\\client.py", line 250, in post_multipart<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]     'Content-Type' : 'multipart/form-data; boundary=%s' % BOUNDARY<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]   File "C:\\GeoNode\\venv\\Lib\\site-packages\\gsimporter\\client.py", line 160, in _request<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]     resp, content = self.http.request(url, method, data, headers)<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]   File "C:\\GeoNode\\venv\\Lib\\site-packages\\httplib2\\__init__.py", line 1570, in request<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]     (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]   File "C:\\GeoNode\\venv\\Lib\\site-packages\\httplib2\\__init__.py", line 1317, in _request<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]     (response, content) = self._conn_request(conn, request_uri, method, body, headers)<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]   File "C:\\GeoNode\\venv\\Lib\\site-packages\\httplib2\\__init__.py", line 1253, in _conn_request<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]     conn.request(method, request_uri, body, headers)<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]   File "C:\\Python27\\Lib\\httplib.py", line 1053, in request<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]     self._send_request(method, url, body, headers)<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]   File "C:\\Python27\\Lib\\httplib.py", line 1093, in _send_request<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]     self.endheaders(body)<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]   File "C:\\Python27\\Lib\\httplib.py", line 1049, in endheaders<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]     self._send_output(message_body)<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]   File "C:\\Python27\\Lib\\httplib.py", line 891, in _send_output<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236]     msg += message_body<br>
[Wed Jul 01 15:52:22.098121 2015] [wsgi:error] [pid 3608:tid 1236] MemoryError<br>
[Wed Jul 01 15:52:22.176250 2015] [wsgi:error] [pid 3608:tid 1236] Unexpected error in upload step<br>
[Wed Jul 01 15:52:22.176250 2015] [wsgi:error] [pid 3608:tid 1236] Traceback (most recent call last):<br>
[Wed Jul 01 15:52:22.176250 2015] [wsgi:error] [pid 3608:tid 1236]   File "c:/GeoNode/GeoNode\\geonode\\upload\\views.py", line 604, in view<br>
[Wed Jul 01 15:52:22.176250 2015] [wsgi:error] [pid 3608:tid 1236]     resp = _steps[step](req, upload_session)<br>
[Wed Jul 01 15:52:22.176250 2015] [wsgi:error] [pid 3608:tid 1236]   File "c:/GeoNode/GeoNode\\geonode\\upload\\views.py", line 257, in save_step_view<br>
[Wed Jul 01 15:52:22.176250 2015] [wsgi:error] [pid 3608:tid 1236]     overwrite=False)<br>
[Wed Jul 01 15:52:22.176250 2015] [wsgi:error] [pid 3608:tid 1236]   File "c:/GeoNode/GeoNode\\geonode\\upload\\upload.py", line 303, in save_step<br>
[Wed Jul 01 15:52:22.176250 2015] [wsgi:error] [pid 3608:tid 1236]     raise e<br>
[Wed Jul 01 15:52:22.176250 2015] [wsgi:error] [pid 3608:tid 1236] MemoryError<br>
<br>
<br>
Best regards<br>
Miguel A<div class="HOEnZb"><div class="h5"><br>
<br>
El 01/07/2015 a las 15:30, Stefan Steiniger escribió:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Its possible to change the size limit in /etc/geonode/local_settings.py with the entry MAX_DOCUMENT_SIZE = 100 # MB. Afterwards, restart Apache.<br>
<br>
stefan<br>
<br>
Am 30.06.15 um 11:11 schrieb Miguel-Angel Manso-Callejo (UPM):<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear all,<br>
<br>
I am trying to upload big size image file and one error related to<br>
Memory error appear in Apache error log file.<br>
<br>
there are any way to increase the size of file that can be uploaded?<br>
Where can i do it?<br>
<br>
Regards,<br>
Miguel A. Manso<br>
<br>
<br>
[Tue Jun 30 17:03:08.292163 2015] [wsgi:error] [pid 3768:tid 1236]<br>
Traceback (most recent call last):<br>
[Tue Jun 30 17:03:08.292163 2015] [wsgi:error] [pid 3768:tid 1236] File<br>
"c:/GeoNode/GeoNode\\geonode\\upload\\views.py", line 604, in view<br>
[Tue Jun 30 17:03:08.292163 2015] [wsgi:error] [pid 3768:tid 1236] resp<br>
= _steps[step](req, upload_session)<br>
[Tue Jun 30 17:03:08.292163 2015] [wsgi:error] [pid 3768:tid 1236] File<br>
"c:/GeoNode/GeoNode\\geonode\\upload\\views.py", line 257, in<br>
save_step_view<br>
[Tue Jun 30 17:03:08.292163 2015] [wsgi:error] [pid 3768:tid 1236]<br>
overwrite=False)<br>
[Tue Jun 30 17:03:08.292163 2015] [wsgi:error] [pid 3768:tid 1236] File<br>
"c:/GeoNode/GeoNode\\geonode\\upload\\upload.py", line 303, in save_step<br>
[Tue Jun 30 17:03:08.292163 2015] [wsgi:error] [pid 3768:tid 1236] raise e<br>
[Tue Jun 30 17:03:08.292163 2015] [wsgi:error] [pid 3768:tid 1236]<br>
MemoryError<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
</blockquote>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
<br>
</blockquote>
<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>