[GeoNode-devel] 2.8rc11 API errors

Jonathan Doig j.doig at unsw.edu.au
Sun Feb 11 18:28:15 PST 2018


Hi Dave

Those API URLs work fine for me on a fresh 2.8rc11 installed last week per Alessio’s instructions (attached).

I’m using a bare Ubuntu 16.04 on AWS EC2 tx2-large: 16 GB RAM,  4 cores.

Jonathan

From: geonode-devel [mailto:geonode-devel-bounces at lists.osgeo.org] On Behalf Of Dave Kennewell
Sent: Sunday, 11 February 2018 9:55 PM
To: geonode-devel <geonode-devel at lists.osgeo.org>
Subject: [GeoNode-devel] 2.8rc11 API errors

Hi all,

I'm testing 2.8rc11, and any call to the /api/base or /api/layers or /api/maps endpoint gives the following error:


Internal Server Error: /api/layers/
 Traceback (most recent call last):
   File "/usr/local/lib/python2.7/dist-packages/tastypie/resources.py", line 211, in wrapper
     response = callback(request, *args, **kwargs)
   File "/usr/local/lib/python2.7/dist-packages/tastypie/resources.py", line 438, in dispatch_list
     return self.dispatch('list', request, **kwargs)
   File "/usr/local/lib/python2.7/dist-packages/tastypie/resources.py", line 470, in dispatch
     response = method(request, **kwargs)
   File "/usr/local/lib/python2.7/dist-packages/geonode/api/resourcebase_api.py", line 666, in get_list
     **self.remove_api_resource_names(kwargs))
   File "/usr/local/lib/python2.7/dist-packages/tastypie/resources.py", line 2100, in obj_get_list
     applicable_filters = self.build_filters(filters=filters)
   File "/usr/local/lib/python2.7/dist-packages/geonode/api/resourcebase_api.py", line 134, in build_filters
     filters=filters, ignore_bad_filters=False, **kwargs)
 TypeError: build_filters() got an unexpected keyword argument 'ignore_bad_filters'
Can someone replicate this or is it my config error?

thanks
Dave

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180212/b7e52e48/attachment-0001.html>
-------------- next part --------------
An embedded message was scrubbed...
From: Alessio Fabiani <alessio.fabiani at geo-solutions.it>
Subject: Re: [GeoNode-devel] Move to Release 2.8
Date: Fri, 19 Jan 2018 13:19:32 +0000
Size: 47490
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180212/b7e52e48/attachment-0001.mht>


More information about the geonode-devel mailing list