[Live-demo] [OSGeo] #1701: Tilelite 500 internal error

OSGeo trac_osgeo at osgeo.org
Fri Jun 3 09:47:30 PDT 2016


#1701: Tilelite 500 internal error
---------------------+------------------------------
 Reporter:  kalxas   |      Owner:  live-demo@…
     Type:  defect   |     Status:  new
 Priority:  blocker  |  Milestone:  OSGeoLive10.0
Component:  LiveDVD  |   Keywords:  mapnik, tilelite
---------------------+------------------------------
 Mapnik has been upgraded to 3.0.9 for Xenial.
 Tilelite version we ship seems to have problem with the new version of
 python-mapnik:

 {{{
 127.0.0.1 - - [03/Jun/2016 16:44:08] "GET /1/0/0.png HTTP/1.1" 500 -
 Error on request:
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 180,
 in run_wsgi
     execute(self.server.app)
   File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 170,
 in execute
     for data in application_iter:
   File "/usr/local/lib/python2.7/dist-packages/tilelite.py", line 360, in
 __call__
     envelope = self._merc.xyz_to_envelope(x,y,zoom)
   File "/usr/local/lib/python2.7/dist-packages/tilelite.py", line 147, in
 xyz_to_envelope
     lonlat_bbox = mapnik.Envelope(minx,miny,maxx,maxy)
   File "/usr/lib/python2.7/dist-packages/mapnik/__init__.py", line 110, in
 __init__
     Box2d.__init__(self, *args, **kwargs)
 TypeError: unbound method Boost.Python.function object must be called with
 Box2d instance as first argument (got Envelope instance instead)
 127.0.0.1 - - [03/Jun/2016 16:44:25] "GET /1/0/0.png HTTP/1.1" 500 -
 Error on request:
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 180,
 in run_wsgi
     execute(self.server.app)
   File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 170,
 in execute
     for data in application_iter:
   File "/usr/local/lib/python2.7/dist-packages/tilelite.py", line 360, in
 __call__
     envelope = self._merc.xyz_to_envelope(x,y,zoom)
   File "/usr/local/lib/python2.7/dist-packages/tilelite.py", line 147, in
 xyz_to_envelope
     lonlat_bbox = mapnik.Envelope(minx,miny,maxx,maxy)
   File "/usr/lib/python2.7/dist-packages/mapnik/__init__.py", line 110, in
 __init__
     Box2d.__init__(self, *args, **kwargs)
 TypeError: unbound method Boost.Python.function object must be called with
 Box2d instance as first argument (got Envelope instance instead)
 }}}

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1701>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Live-demo mailing list