[Live-demo] [OSGeo] #936: tilelite demo issue
OSGeo
trac_osgeo at osgeo.org
Thu Jul 26 02:49:11 PDT 2012
#936: tilelite demo issue
---------------------+------------------------------------------------------
Reporter: kalxas | Owner: live-demo@…
Type: defect | Status: new
Priority: major | Milestone: OSGeoLive6.0Final
Component: LiveDVD | Keywords: 6.0
---------------------+------------------------------------------------------
Changes (by hamish):
* cc: springmeyer (added)
Comment:
[cc Dane]
Hi,
If I scroll back in the debug terminal I notice this, with a `Broken
Pipe`:
{{{
...
[TileLite Debug] --> Zoom,X,Y: 3,3,3
[TileLite Debug] --> scale_denom: 69885283.0036
127.0.0.1 - - [26/Jul/2012 10:29:18] "GET /3/3/3.png HTTP/1.1" 200 -
[TileLite Debug] --> Zoom,X,Y: 3,4,3
[TileLite Debug] --> scale_denom: 69885283.0036
127.0.0.1 - - [26/Jul/2012 10:29:20] "GET /3/4/3.png HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 60453)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 284, in
_handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 310, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 640, in __init__
self.finish()
File "/usr/lib/python2.7/SocketServer.py", line 693, in finish
self.wfile.flush()
File "/usr/lib/python2.7/socket.py", line 303, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
----------------------------------------
[TileLite Debug] --> Zoom,X,Y: 3,3,4
[TileLite Debug] --> scale_denom: 69885283.0036
127.0.0.1 - - [26/Jul/2012 10:29:21] "GET /3/3/4.png HTTP/1.1" 200 -
[TileLite Debug] --> Zoom,X,Y: 3,4,4
[TileLite Debug] --> scale_denom: 69885283.0036
127.0.0.1 - - [26/Jul/2012 10:29:21] "GET /3/4/4.png HTTP/1.1" 200 -
[TileLite Debug] --> Zoom,X,Y: 3,3,2
...
}}}
the tilelite files to look at are:
/usr/local/bin/liteserv.py
/usr/local/lib/python2.7/dist-packages/tilelite.py
also, I can't see where the .py to set the Google API key. (e.g. a
personal one for testing)
{{{
Google has disabled use of the Maps API for this application. The
provided key is not a valid Google API Key, or it is not authorized
for the Google Maps Javascript API v2 on this site. If you are the
owner of this application, you can learn about obtaining a valid
key here:
http://code.google.com/apis/maps/documentation/javascript/v2/introduction.html#Obtaining_Key
}}}
?
thanks,
Hamish
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/936#comment:7>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Osgeolive
mailing list