<div dir="ltr"><div class="gmail_extra">Hi,</div><div class="gmail_extra">here I am again.</div><div class="gmail_extra">The issue was due to celery and rabbitmq that need to be started... (thanks @simod)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Now when I try to create a layer I get this:</div><div class="gmail_extra"><br></div><div class="gmail_extra">Response</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra"><div class="gmail_extra">{</div><div class="gmail_extra"> "error_message": "",</div><div class="gmail_extra"> "traceback": "Traceback (most recent call last):\n\n File \"/Users/paolo/Venvs/haitidata/lib/python2.7/site-packages/tastypie/resources.py\", line 211, in wrapper\n response = callback(request, *args, **kwargs)\n\n File \"/Users/paolo/Venvs/haitidata/lib/python2.7/site-packages/osgeo_importer/api.py\", line 99, in import_layer\n request_user=request.user\n\n File \"/Users/paolo/Venvs/haitidata/lib/python2.7/site-packages/celery/app/task.py\", line 461, in delay\n return self.apply_async(args, kwargs)\n\n File \"/Users/paolo/Venvs/haitidata/lib/python2.7/site-packages/celery/app/task.py\", line 565, in apply_async\n link=link, link_error=link_error, **options)\n\n File \"/Users/paolo/Venvs/haitidata/lib/python2.7/site-packages/celery/app/task.py\", line 763, in apply\n request=request, propagate=throw)\n\n File \"/Users/paolo/Venvs/haitidata/lib/python2.7/site-packages/celery/app/trace.py\", line 355, in eager_trace_task\n uuid, args, kwargs, request)\n\n File \"/Users/paolo/Venvs/haitidata/lib/python2.7/site-packages/celery/app/trace.py\", line 253, in trace_task\n I, R, state, retval = on_error(task_request, exc, uuid)\n\n File \"/Users/paolo/Venvs/haitidata/lib/python2.7/site-packages/celery/app/trace.py\", line 240, in trace_task\n R = retval = fun(*args, **kwargs)\n\n File \"/Users/paolo/Venvs/haitidata/lib/python2.7/site-packages/osgeo_importer/tasks.py\", line 87, in import_object\n gi.handle(configuration_options=configuration_options, request_cookies=request_cookies, request_user=request_user)\n\n File \"/Users/paolo/Venvs/haitidata/lib/python2.7/site-packages/osgeo_importer/importers.py\", line 113, in handle\n layers = self.import_file(configuration_options=configuration_options)\n\n File \"/Users/paolo/Venvs/haitidata/lib/python2.7/site-packages/osgeo_importer/importers.py\", line 340, in import_file\n target_file, _ = self.open_target_datastore(self.target_store)\n\n File \"/Users/paolo/Venvs/haitidata/lib/python2.7/site-packages/osgeo_importer/importers.py\", line 184, in open_target_datastore\n return self.open_datastore(connection_string, self.target_inspectors, *args, **kwargs)\n\n File \"/Users/paolo/Venvs/haitidata/lib/python2.7/site-packages/osgeo_importer/importers.py\", line 147, in open_datastore\n data = insp.open()\n\n File \"/Users/paolo/Venvs/haitidata/lib/python2.7/site-packages/osgeo_importer/inspectors.py\", line 70, in open\n raise NoDataSourceFound\n\nNoDataSourceFound\n"</div><div class="gmail_extra">}</div></div></div></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">Request</div><div class="gmail_extra"><br></div><div class="gmail_extra">{"always_geogig":true,"configureTime":false,"editable":false,"convert_to_date":[],"index":0,"name":"Ground_Overlays","permissions":{"users":{"AnonymousUser":["download_resourcebase","view_resourcebase"]}},"start_date":null,"end_date":null}<br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">The data appears in Django Admin and in the uploaded folder.</div><div class="gmail_extra">Any help would be much appreciated.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks!</div><div class="gmail_extra"><br></div><div class="gmail_extra">Paolo</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Wed, Apr 26, 2017 at 3:47 PM, Paolo Pasquali <span dir="ltr"><<a href="mailto:paolo.pasquali@gmail.com" target="_blank">paolo.pasquali@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Hi devs,</div><div class="gmail_extra">I think I was able to install the osgeo-importer but I have some issue with the configuration.</div><div class="gmail_extra">Data can be uploaded (I've tried with kml and shp) but I cannot create a layer.</div><div class="gmail_extra">I'm getting a [Errno 61] Connection refused when I try to create a layer from the uploaded data.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><b style="color:rgb(213,59,211);font-family:menlo;font-size:11px">"POST /importer-api/data-layers/43/<wbr>configure/ HTTP/1.1" 500 3030</b><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">I am using GeoServer as a backend. I've tried some changes in the OGC_SERVER settings but without any success.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Am I missing something?</div><span class="gmail-"><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for your help.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Best,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Paolo</div><div class="gmail_extra"><br></div></span><div><div class="gmail-h5"><div class="gmail_extra">
<br><div class="gmail_quote">On Wed, Apr 19, 2017 at 6:15 PM, Paolo Pasquali <span dir="ltr"><<a href="mailto:paolo.pasquali@gmail.com" target="_blank">paolo.pasquali@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Ok, Jeff. Thanks.<div>I'll let you know if I succeed or find some issue.</div><div><br></div><div>Ciao</div><div><br></div><div>P.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail-m_6618092467895023898gmail-m_415113029352647651gmail_signature">--------------------<br>Paolo Pasquali<br>ITHACA - Information Technology for Humanitarian Assistance, Cooperation and Action<br>via Pier Carlo Boggio, 61<br>10138 Torino - Italy<br>Tel. <a href="tel:+39%20011%201975%201872" value="+3901119751872" target="_blank">+39 011 1975 1872</a><br>Fax <a href="tel:+39%20011%201975%201122" value="+3901119751122" target="_blank">+39 011 1975 1122</a></div></div><div><div class="gmail-m_6618092467895023898gmail-h5">
<br><div class="gmail_quote">On Wed, Apr 19, 2017 at 6:09 PM, Jeffrey Johnson <span dir="ltr"><<a href="mailto:ortelius@gmail.com" target="_blank">ortelius@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Just realizing that there really is no documentation on how to install<br>
and use it. We should rectify that! Maybe you can help once you are up<br>
and running?<br>
<br>
The basic steps are outlined here though in the ansible config<br>
<a href="https://github.com/GeoNode/ansible-geonode/blob/master/tasks/osgeo_importer.yml" rel="noreferrer" target="_blank">https://github.com/GeoNode/ans<wbr>ible-geonode/blob/master/tasks<wbr>/osgeo_importer.yml</a><br>
<br>
Let us know if you run into any issues.<br>
<br>
Fwiw, the new importer UI is being developed here for now<br>
<a href="https://github.com/terranodo/importer-client" rel="noreferrer" target="_blank">https://github.com/terranodo/i<wbr>mporter-client</a> (will get moved over to<br>
the GeoNode org at some point)<br>
<div><div class="gmail-m_6618092467895023898gmail-m_415113029352647651h5"><br>
On Wed, Apr 19, 2017 at 9:05 AM, Paolo Pasquali<br>
<<a href="mailto:paolo.pasquali@gmail.com" target="_blank">paolo.pasquali@gmail.com</a>> wrote:<br>
> Hi devs,<br>
> I would like to include in my GeoNode project the django-osgeo-importer and<br>
> I wonder if there is some documentation on this.<br>
> How can I install and configure it in GeoNode?<br>
><br>
> Thanks for your help.<br>
><br>
> Best,<br>
><br>
> Paolo<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> geonode-devel mailing list<br>
> <a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-devel</a><br>
><br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div>