<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hei,<br>
<br>
yes it is. Perhaps something changed meanwhile? I am using GeoNode
2.0<br>
I don't have good esxperiences uploading large files, due to webpage
feedback issues. However, I think that such large files should not
uploaded by "normal users", but rather administrators. So what I do
now is copying the large shapefiles (400-700MB) to the server (via
sftp) and then use "
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<span style="color: rgb(0, 0, 0); font-family: monospace, Courier;
font-size: 12.8000001907349px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
19.2000007629395px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: 1;
word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
!important; float: none; background-color: rgb(249, 249, 249);">sudo
geonode importlayers /home/myuser/xxx/</span>". Later on I update
the meta data as normal using the web interface. The only issue I
found with that, is that I can not set the charset (having spanish
data). <br>
<br>
Huge rasters/images (50MB> ... 5GB) I also copy via ftp to a
dedicated web folder on the server (with appropriate permissions),
and then use the GeoServer interface to create a separate store and
add the resources/layers. Afterwards using
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<span style="color: rgb(0, 0, 0); font-family: sans-serif;
font-size: 12.8000001907349px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
19.2000007629395px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: 1;
word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
!important; float: none; background-color: rgb(255, 255, 255);">geonode
updatelayers --ignore-errors --skip-geonode-registered</span><br>
<br>
hth<br>
Stefan<br>
<br>
<div class="moz-cite-prefix">On 07/01/2015 11:06 AM, Miguel-Angel
Manso-Callejo (UPM) wrote:<br>
</div>
<blockquote cite="mid:5593F3F2.6060809@upm.es" type="cite">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
<br>
<br>
El 01/07/2015 a las 15:30, Stefan Steiniger escribió:
<br>
<blockquote type="cite">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 type="cite">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 class="moz-txt-link-abbreviated" href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a>
<br>
</blockquote>
_______________________________________________
<br>
geonode-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a>
<br>
<br>
</blockquote>
<br>
_______________________________________________
<br>
geonode-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a>
<br>
</blockquote>
<br>
</body>
</html>