Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gs_routeserver fails with RTreeError exception #15

Open
msoulier opened this issue May 4, 2010 · 0 comments
Open

gs_routeserver fails with RTreeError exception #15

msoulier opened this issue May 4, 2010 · 0 comments

Comments

@msoulier
Copy link

msoulier commented May 4, 2010

I tried starting gs_routeserver on my graphdb file, and got this

 (graphserver)msoulier@egor:...thway_graphserver$ gs_routeserver vancouver.gdb handlers.yaml -p 8000
 Traceback (most recent call last):
   File "/home/msoulier/envs/graphserver/bin/gs_routeserver", line 8, in 
    load_entry_point('graphserver==0.1', 'console_scripts', 'gs_routeserver')()
   File "/home/msoulier/envs/graphserver/lib/python2.6/site-packages/graphserver-0.1-py2.6.egg/graphserver/ext/routeserver/routeserver.py", line 293, in main
    vertex_events = list(get_handler_instances( handler_definitions, 'vertex_handlers' ) )
   File "/home/msoulier/envs/graphserver/lib/python2.6/site-packages/graphserver-0.1-py2.6.egg/graphserver/ext/routeserver/routeserver.py", line 265, in  get_handler_instances
    handler_instance = handler_class(**handler.get("args", {}))
  File "/home/msoulier/envs/graphserver/lib/python2.6/site-packages/graphserver-0.1-py2.6.egg/graphserver/ext/routeserver/events.py", line 344, in __init__
    self.osmdb = OSMDB( osmdb_filename )
  File "/home/msoulier/envs/graphserver/lib/python2.6/site-packages/graphserver-0.1-py2.6.egg/graphserver/ext/osm/osmdb.py", line 88, in __init__
    self.index = Rtree( dbname )
  File "/home/msoulier/envs/graphserver/lib/python2.6/site-packages/Rtree-0.6.0-py2.6.egg/rtree/index.py", line 210, in __init__
    self.handle = core.rt.Index_Create(self.properties.handle)
  File "/home/msoulier/envs/graphserver/lib/python2.6/site-packages/Rtree-0.6.0-py2.6.egg/rtree/core.py", line 25, in check_void
    raise RTreeError(msg)
 rtree.core.RTreeError: Error in "Index_Create": Spatial Index Error:   IllegalStateException: SpatialIndex::DiskStorageManager: Failed reading pageSize.

I'm using spatialindex 1.5.0 and Rtree 0.6.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant