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