Can't run path, only path_raw. How to interpret the path_raw output. Ubuntu 12.04 LTS

29 views
Skip to first unread message

Filipe Valeriano

unread,
Nov 7, 2012, 5:41:21 AM11/7/12
to graph...@googlegroups.com

Get a route narrative

http://YOUR_DOMAIN_NAME/path?origin="osm-92011649"&dest="sta-3803"&currtime=1260839444

or

http://YOUR_DOMAIN_NAME/path_raw?origin="osm-92011649"&dest="sta-3803"&currtime=1260839444

At this point of the instalation/example instructions found in http://graphserver.github.com/graphserver/, which I'm running on Ubuntu 12.04 LTS, the first one returns:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/servable-2009c-py2.7.egg/servable.py", line 107, in myapp
      rr = xstr( pfunc(self,**args) )
        File "/usr/local/lib/python2.7/dist-packages/graphserver-1.0.0-py2.7.egg/graphserver/ext/routeserver/routeserver.py", line 146, in path
            narrative = list(postprocess_path(vertices, edges, self.vertex_events, self.edge_events))
              File "/usr/local/lib/python2.7/dist-packages/graphserver-1.0.0-py2.7.egg/graphserver/ext/routeserver/routeserver.py", line 59, in postprocess_path
                  event = handler( vertex1, edge2, vertex2, context=context )
                    File "/usr/local/lib/python2.7/dist-packages/graphserver-1.0.0-py2.7.egg/graphserver/ext/routeserver/events.py", line 38, in __call__
                        route_desc = "-".join([str(x) for x in list( self.gtfsdb.execute( "SELECT routes.route_short_name, routes.route_long_name FROM routes, trips WHERE routes.route_id=trips.route_id AND trip_id=?", (trip_id,) ) )[0]])
                          File "/usr/local/lib/python2.7/dist-packages/graphserver-1.0.0-py2.7.egg/graphserver/ext/gtfs/gtfsdb.py", line 366, in execute
                              c.execute( query, args )
                              OperationalError: no such table: routes


The second one returns what I think to be the output of graphserver which I can't quite grasp how to interpret.

Thanks in advance
Filipe Valeriano
Reply all
Reply to author
Forward
0 new messages