[GeoNode-devel] 2.8rc11 API errors

Paolo Pasquali paolo.pasquali at gmail.com
Thu Feb 15 03:27:27 PST 2018


Yep.

My tastypie version was 0.13.0 and upgrading to 0.13.3 solved the problem.

Thanks Dave!

Best,

P.



On Thu, Feb 15, 2018 at 12:23 PM, Paolo Pasquali <paolo.pasquali at gmail.com>
wrote:

> Oops!
>
> I've missed Dave's reply. I'm going to check my tastypie version.
>
> Best,
>
> P.
>
>
>
>
> On Thu, Feb 15, 2018 at 12:21 PM, Paolo Pasquali <paolo.pasquali at gmail.com
> > wrote:
>
>> Hi,
>>
>> I'm getting the same error as Dave's.
>>
>> I've installed the 2.7.x branch in a virtualenv+Postgresql+GeoServer2.12.x
>> on Ubuntu 16.04
>>
>> Is there a way to solve this issue without giving up my installation?
>>
>>
>> Thanks,
>>
>> Paolo
>>
>>
>>
>> On Mon, Feb 12, 2018 at 3:28 AM, Jonathan Doig <j.doig at unsw.edu.au>
>> wrote:
>>
>>> 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
>>>
>>>
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Alessio Fabiani <alessio.fabiani at geo-solutions.it>
>>> To: Paolo Corti <pcorti at gmail.com>
>>> Cc: geonode-devel <geonode-devel at lists.osgeo.org>
>>> Bcc:
>>> Date: Fri, 19 Jan 2018 13:19:32 +0000
>>> Subject: Re: [GeoNode-devel] Move to Release 2.8
>>> Release process ongoing.
>>>
>>> For whom willing to try geonode 2.8.0, on a clean Ubuntu 16.04 instance
>>> just run the following commands
>>>
>>>
>>> sudo add-apt-repository ppa:geonode/testing
>>> sudo apt update
>>> sudo apt install geonode
>>>
>>> geonode createsuperuser
>>>
>>> IP_ADDRESS=$(ip route get 8.8.8.8 | awk '{print $NF; exit}')
>>> sudo geonode-updateip $IP_ADDRESS
>>>
>>> sudo service apache2 restart
>>>
>>>
>>>
>>> This is still under testing, so 1. do not try this on production servers
>>> - or on server where you have installations you don't want to break ; 2. it
>>> is possible that something goes wrong - in this case please report to me
>>>
>>>
>>>
>>> Regards,
>>>
>>> Alessio Fabiani
>>>
>>> ==
>>> GeoServer Professional Services from the experts! Visit
>>> http://goo.gl/it488V for more information.
>>> ==
>>>
>>> Ing. Alessio Fabiani
>>>
>>> @alfa7691
>>> Founder/Technical Lead
>>>
>>>
>>> GeoSolutions S.A.S.
>>> Via di Montramito 3/A
>>> 55054  Massarosa (LU)
>>> Italy
>>> phone: +39 0584 962313 <+39%200584%20962313>
>>> fax:     +39 0584 1660272 <+39%200584%20166%200272>
>>> mob:   +39 331 6233686 <+39%20331%20623%203686>
>>>
>>> http://www.geo-solutions.it
>>> http://twitter.com/geosolutions_it
>>>
>>> -------------------------------------------------------
>>>
>>> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
>>>
>>> Le informazioni contenute in questo messaggio di posta elettronica e/o
>>> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
>>> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
>>> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
>>> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
>>> darcene notizia via e-mail e di procedere alla distruzione del messaggio
>>> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
>>> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
>>> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
>>> principi dettati dal D.Lgs. 196/2003.
>>>
>>> The information in this message and/or attachments, is intended solely
>>> for the attention and use of the named addressee(s) and may be confidential
>>> or proprietary in nature or covered by the provisions of privacy act
>>> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
>>> Code).Any use not in accord with its purpose, any disclosure, reproduction,
>>> copying, distribution, or either dissemination, either whole or partial, is
>>> strictly forbidden except previous formal approval of the named
>>> addressee(s). If you are not the intended recipient, please contact
>>> immediately the sender by telephone, fax or e-mail and delete the
>>> information in this message that has been received in error. The sender
>>> does not give any warranty or accept liability as the content, accuracy or
>>> completeness of sent messages and accepts no responsibility  for changes
>>> made after they were sent or for other risks which arise as a result of
>>> e-mail transmission, viruses, etc.
>>>
>>> 2017-12-23 11:29 GMT+01:00 Paolo Corti <pcorti at gmail.com>:
>>>
>>>> +1!
>>>> of course
>>>> Paolo
>>>>
>>>> On Fri, Dec 22, 2017 at 12:47 AM, Francesco Bartoli
>>>> <xbartolone at gmail.com> wrote:
>>>> > Hi Rizky,
>>>> >
>>>> > yes you should backport it to 2.7.x which will become 2.8.0 then.
>>>> >
>>>> > Ciao
>>>> >
>>>> > Il giorno 21/dic/2017, alle ore 22:49, Rizky Maulana Nugraha
>>>> > <rizky at kartoza.com> ha scritto:
>>>> >
>>>> > +1
>>>> >
>>>> > Can I also know how are you going to release 2.8? Is it coming from
>>>> 2.7.x
>>>> > branch? I would like to include qgis-server backend if possible, but
>>>> that
>>>> > depends on how much effort that would be. At the moment, only master
>>>> branch
>>>> > have qgis-server backend.
>>>> >
>>>> > --
>>>> > Rizky Maulana Nugraha
>>>> > Software Developer
>>>> > Kartoza.com
>>>> >
>>>> > On Dec 22, 2017 02:15, "Tom Kralidis" <tomkralidis at gmail.com> wrote:
>>>> >>
>>>> >> +1
>>>> >>
>>>> >> ..Tom
>>>> >>
>>>> >> Sent from my iPhone
>>>> >>
>>>> >> On Dec 21, 2017, at 14:13, Simone Dalmasso <
>>>> simone.dalmasso at gmail.com>
>>>> >> wrote:
>>>> >>
>>>> >> +1!
>>>> >>
>>>> >> 2017-12-21 19:52 GMT+01:00 Jeremiah Cooper <
>>>> jcooper at jeremiahcooper.com>:
>>>> >>>
>>>> >>> +1.
>>>> >>>
>>>> >>> Thanks.
>>>> >>>
>>>> >>> Jeremiah Cooper
>>>> >>>
>>>> >>> On Thu, Dec 21, 2017 at 1:06 PM, Alessio Fabiani
>>>> >>> <alessio.fabiani at geo-solutions.it> wrote:
>>>> >>>>
>>>> >>>> +1
>>>> >>>>
>>>> >>>> Regards,
>>>> >>>> Alessio Fabiani
>>>> >>>> ==
>>>> >>>> GeoServer Professional Services from the experts! Visit
>>>> >>>> http://goo.gl/it488V for more information.
>>>> >>>> ==
>>>> >>>>
>>>> >>>> Ing. Alessio Fabiani
>>>> >>>> @alfa7691
>>>> >>>> Founder/Technical Lead
>>>> >>>>
>>>> >>>> GeoSolutions S.A.S.
>>>> >>>> Via di Montramito 3/A
>>>> >>>> 55054  Massarosa (LU)
>>>> >>>> Italy
>>>> >>>> phone: +39 0584 962313
>>>> >>>> fax:     +39 0584 1660272
>>>> >>>> mob:   +39 331 6233686
>>>> >>>>
>>>> >>>> http://www.geo-solutions.it
>>>> >>>> http://twitter.com/geosolutions_it
>>>> >>>>
>>>> >>>> -------------------------------------------------------
>>>> >>>> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
>>>> >>>> Le informazioni contenute in questo messaggio di posta elettronica
>>>> e/o
>>>> >>>> nel/i file/s allegato/i sono da considerarsi strettamente
>>>> riservate. Il loro
>>>> >>>> utilizzo è consentito esclusivamente al destinatario del
>>>> messaggio, per le
>>>> >>>> finalità indicate nel messaggio stesso. Qualora riceviate questo
>>>> messaggio
>>>> >>>> senza esserne il destinatario, Vi preghiamo cortesemente di
>>>> darcene notizia
>>>> >>>> via e-mail e di procedere alla distruzione del messaggio stesso,
>>>> >>>> cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
>>>> divulgarlo
>>>> >>>> anche in parte, distribuirlo ad altri soggetti, copiarlo, od
>>>> utilizzarlo per
>>>> >>>> finalità diverse, costituisce comportamento contrario ai principi
>>>> dettati
>>>> >>>> dal D.Lgs. 196/2003.
>>>> >>>>
>>>> >>>> The information in this message and/or attachments, is intended
>>>> solely
>>>> >>>> for the attention and use of the named addressee(s) and may be
>>>> confidential
>>>> >>>> or proprietary in nature or covered by the provisions of privacy
>>>> act
>>>> >>>> (Legislative Decree June, 30 2003, no.196 - Italy's New Data
>>>> Protection
>>>> >>>> Code).Any use not in accord with its purpose, any disclosure,
>>>> reproduction,
>>>> >>>> copying, distribution, or either dissemination, either whole or
>>>> partial, is
>>>> >>>> strictly forbidden except previous formal approval of the named
>>>> >>>> addressee(s). If you are not the intended recipient, please contact
>>>> >>>> immediately the sender by telephone, fax or e-mail and delete the
>>>> >>>> information in this message that has been received in error. The
>>>> sender does
>>>> >>>> not give any warranty or accept liability as the content, accuracy
>>>> or
>>>> >>>> completeness of sent messages and accepts no responsibility  for
>>>> changes
>>>> >>>> made after they were sent or for other risks which arise as a
>>>> result of
>>>> >>>> e-mail transmission, viruses, etc.
>>>> >>>>
>>>> >>>> On 21 dicembre 2017 17:43, Francesco Bartoli <xbartolone at gmail.com
>>>> >
>>>> >>>> wrote:
>>>> >>>>>
>>>> >>>>> Hi devs,
>>>> >>>>>
>>>> >>>>> as 2.7.x became quite stable we should be ready to move to
>>>> releasing
>>>> >>>>> 2.8.0 as new stable version. Any feedback or concern?
>>>> >>>>>
>>>> >>>>> At the moment we don’t have a release manager but Alessio,
>>>> Angelos and
>>>> >>>>> me can volunteer. However it’s likely we need some guidance to
>>>> the overall
>>>> >>>>> procedure.
>>>> >>>>>
>>>> >>>>> Thanks and Merry Christmas to all of you
>>>> >>>>> Francesco
>>>> >>>>> _______________________________________________
>>>> >>>>> geonode-devel mailing list
>>>> >>>>> geonode-devel at lists.osgeo.org
>>>> >>>>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>> >>>>
>>>> >>>>
>>>> >>>>
>>>> >>>> _______________________________________________
>>>> >>>> geonode-devel mailing list
>>>> >>>> geonode-devel at lists.osgeo.org
>>>> >>>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>> >>>>
>>>> >>>
>>>> >>>
>>>> >>> _______________________________________________
>>>> >>> geonode-devel mailing list
>>>> >>> geonode-devel at lists.osgeo.org
>>>> >>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>> >>>
>>>> >>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> Simone
>>>> >>
>>>> >> _______________________________________________
>>>> >> geonode-devel mailing list
>>>> >> geonode-devel at lists.osgeo.org
>>>> >> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>> >>
>>>> >>
>>>> >> _______________________________________________
>>>> >> geonode-devel mailing list
>>>> >> geonode-devel at lists.osgeo.org
>>>> >> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>> >>
>>>> > _______________________________________________
>>>> > geonode-devel mailing list
>>>> > geonode-devel at lists.osgeo.org
>>>> > https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>> >
>>>> >
>>>> >
>>>> > _______________________________________________
>>>> > geonode-devel mailing list
>>>> > geonode-devel at lists.osgeo.org
>>>> > https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Paolo Corti
>>>> Geospatial software developer
>>>> web: http://www.paolocorti.net
>>>> twitter: @capooti
>>>> skype: capooti
>>>> _______________________________________________
>>>> geonode-devel mailing list
>>>> geonode-devel at lists.osgeo.org
>>>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>>
>>>
>>>
>>> _______________________________________________
>>> geonode-devel mailing list
>>> geonode-devel at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180215/86a005b4/attachment-0001.html>


More information about the geonode-devel mailing list