[OSGeoLive] #2284: Upgrade to pygeoapi 0.9.0 causes demo error

OSGeoLive trac_osgeolive at osgeo.org
Sun Dec 13 02:34:10 PST 2020


#2284: Upgrade to pygeoapi 0.9.0 causes demo error
-----------------------+---------------------------
 Reporter:  kalxas     |      Owner:  osgeolive@…
     Type:  defect     |     Status:  new
 Priority:  critical   |  Milestone:  OSGeoLive14.0
Component:  OSGeoLive  |   Keywords:  pygeoapi
-----------------------+---------------------------
 {{{
 Setting up python3-pygeoapi (0.9.0-1~focal0) ...
 Traceback (most recent call last):
   File "/usr/bin/pygeoapi", line 11, in <module>
     load_entry_point('pygeoapi==0.9.0', 'console_scripts', 'pygeoapi')()
   File "/usr/lib/python3/dist-packages/click/core.py", line 764, in
 __call__
     return self.main(*args, **kwargs)
   File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
     rv = self.invoke(ctx)
   File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in
 invoke
     return _process_result(sub_ctx.command.invoke(sub_ctx))
   File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
     return ctx.invoke(self.callback, **ctx.params)
   File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
     return callback(*args, **kwargs)
   File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in
 new_func
     return f(get_current_context(), *args, **kwargs)
   File "/usr/lib/python3/dist-packages/pygeoapi/openapi.py", line 878, in
 generate_openapi_document
     click.echo(yaml.safe_dump(get_oas(s), default_flow_style=False))
   File "/usr/lib/python3/dist-packages/pygeoapi/openapi.py", line 863, in
 get_oas
     return get_oas_30(cfg)
   File "/usr/lib/python3/dist-packages/pygeoapi/openapi.py", line 422, in
 get_oas_30
     collections[k]['providers'], 'feature'))
 KeyError: 'providers'
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2284>
OSGeoLive <https://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.


More information about the osgeolive mailing list