gs_gtfsdb_build: command not found

189 views
Skip to first unread message

kkumbada

unread,
Feb 6, 2011, 3:37:35 PM2/6/11
to Graphserver, ph...@lirr.org
Hello all,

I had the error above while I was working through the tutorial section
of "Loading Public Transit Data" of the Graphserver site.

Has the above command (gs_gtfsdb_build) been replaced with a new one?

Or, do I have to install some other package beside the one that I have
installed before from the site below?

$ git clone git://github.com/graphserver/graphserver.git

Thank you for help in advance,

Christopher Osborne

unread,
Mar 8, 2011, 5:16:53 AM3/8/11
to graph...@googlegroups.com, ph...@lirr.org
Likewise. Was just running through the tutorial and came across the same error.

Christopher Osborne

unread,
Mar 8, 2011, 11:03:13 AM3/8/11
to graph...@googlegroups.com, ph...@lirr.org
I guess this is the answer - https://github.com/graphserver/graphserver/issues#issue/11

"Use 'gtfs' module instead of gtfsdb, provided that 'gtfs' has gone to 1.0"

ejel

unread,
Mar 17, 2011, 6:02:16 PM3/17/11
to Graphserver
I also encounter the error. The exact error is "TypeError: type()
argument 1 must be string, not unicode". The following are some
excerpt from traceback:

compiler = GTFSGraphCompiler( gtfsdb, agency_namespace, agency_id,
reporter )
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/
lib/python2.6/site-packages/graphserver-1.0.0-py2.6.egg/graphserver/
compiler/gdb_import_gtfs.py", line 22, in __init__
self.tz = Timezone.generate( timezone_name )
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/
lib/python2.6/site-packages/graphserver-1.0.0-py2.6.egg/graphserver/
core.py", line 1014, in generate
timezone = pytz.timezone(timezone_string)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/
lib/python2.6/site-packages/pytz-2011b-py2.6.egg/pytz/__init__.py",
line 154, in timezone
_tzinfo_cache[zone] = build_tzinfo(zone, open_resource(zone))
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/
lib/python2.6/site-packages/pytz-2011b-py2.6.egg/pytz/tzfile.py", line
121, in build_tzinfo
_transition_info=transition_info))
TypeError: type() argument 1 must be string, not unicode


On Mar 8, 12:03 pm, Christopher Osborne <chris.gai...@gmail.com>
wrote:
> I guess this is the answer
> -https://github.com/graphserver/graphserver/issues#issue/11

Richard Law

unread,
Mar 19, 2014, 11:59:51 PM3/19/14
to graph...@googlegroups.com, ph...@lirr.org
Use gs_gtfsdb_compile instead.
Reply all
Reply to author
Forward
0 new messages