matteo_WIMB
unread,Apr 20, 2011, 8:30:54 AM4/20/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to graph...@googlegroups.com
This is the Stack Track for the segmentation fault:
(gdb) run /usr/local/bin/gs_import_gtfs completo.gdb completo.gtfsdb
Starting program: /usr/bin/python /usr/local/bin/gs_import_gtfs completo.gdb completo.gtfsdb
[Thread debugging using libthread_db enabled]
importing from gtfsdb 'completo.gtfsdb' into graphdb 'completo.gdb'
[New Thread 0xb7e80b70 (LWP 6309)]
[Thread 0xb7e80b70 (LWP 6309) exited]
constructing service calendar for timezone 'Europe/Rome'
Program received signal SIGSEGV, Segmentation fault.
hashtable_search (h=0x84fc8b0, k=0x84a4cd4) at hashtable/hashtable.c:187
187 hashtable/hashtable.c: No such file or directory.
in hashtable/hashtable.c
(gdb) bt
#0 hashtable_search (h=0x84fc8b0, k=0x84a4cd4) at hashtable/hashtable.c:187
#1 0x004a682f in scGetServiceIdInt (this=0x84fc898, service_id=0x84a4cd4 "24802") at servicecalendar.c:45
#2 0x0049301f in ffi_call_SYSV () at /build/buildd/python2.6-2.6.5/Modules/_ctypes/libffi/src/x86/sysv.S:61
#3 0x00492e4c in ffi_call (cif=0xbfffe530, fn=0x4a6800 <scGetServiceIdInt>, rvalue=0xbfffe490, avalue=
0x84a4cda) at /build/buildd/python2.6-2.6.5/Modules/_ctypes/libffi/src/x86/ffi.c:213
#4 0x0048d48d in _call_function_pointer (pProc=0x4a6800 <scGetServiceIdInt>, argtuple=(139446424, '24802'),
flags=<value optimized out>, argtypes=
(<built-in method from_param of _ctypes.SimpleType object at remote 0x837d3b4>, <built-in method from_param of _ctypes.SimpleType object at remote 0x837d1ac>), restype=<_ctypes.SimpleType at remote 0x837586c>,
checker=0x0) at /build/buildd/python2.6-2.6.5/Modules/_ctypes/callproc.c:816
#5 _CallProc (pProc=0x4a6800 <scGetServiceIdInt>, argtuple=(139446424, '24802'),
flags=<value optimized out>, argtypes=
(<built-in method from_param of _ctypes.SimpleType object at remote 0x837d3b4>, <built-in method from_param of _ctypes.SimpleType object at remote 0x837d1ac>), restype=<_ctypes.SimpleType at remote 0x837586c>,
checker=0x0) at /build/buildd/python2.6-2.6.5/Modules/_ctypes/callproc.c:1163
#6 0x00484e1e in CFuncPtr_call (self=0x83a5094, inargs=(139446424, '24802'), kwds=0x0)
at /build/buildd/python2.6-2.6.5/Modules/_ctypes/_ctypes.c:3860
#7 0x0806245a in PyObject_Call (func=
<_FuncPtr(__name__='scGetServiceIdInt', safe=True) at remote 0x83a5094>, arg=(139446424, '24802'), kw=0x0)
at ../Objects/abstract.c:2492
#8 0x080e0471 in do_call (f=
Frame 0x855e38c, for file /usr/local/lib/python2.6/dist-packages/graphserver-1.0.0-py2.6.egg/graphserver/core.py, line 878, in get_service_id_int (self=<ServiceCalendar(soul=139446424) at remote 0x849a18c>, service_id='24802'), throwflag=0) at ../Python/ceval.c:3968
#9 call_function (f=
Frame 0x855e38c, for file /usr/local/lib/python2.6/dist-packages/graphserver-1.0.0-py2.6.egg/graphserver/core.py, line 878, in get_service_id_int (self=<ServiceCalendar(soul=139446424) at remote 0x849a18c>, service_id='24802'), throwflag=0) at ../Python/ceval.c:3773
#10 PyEval_EvalFrameEx (f=
Frame 0x855e38c, for file /usr/local/lib/python2.6/dist-packages/graphserver-1.0.0-py2.6.egg/graphserver/core.py, line 878, in get_service_id_int (self=<ServiceCalendar(soul=139446424) at remote 0x849a18c>, service_id='24802'), throwflag=0) at ../Python/ceval.c:2412
#11 0x080e1bb0 in fast_function (f=
Frame 0x855e204, for file /usr/local/lib/python2.6/dist-packages/graphserver-1.0.0-py2.6.egg/graphserver/core.py, line 887, in add_period (self=<ServiceCalendar(soul=139446424) at remote 0x849a18c>, begin_time=1303941600, end_time=1304028000, service_ids=['25133', '25134', '25143', '23754', '23993', '23511', '23759', '25136', '23516', '24536', '24047', '23591', '25085', '23595', '23596', '24556', '23611', '23617', '23721', '23444', '23445', '25121', '23690', '24393', '24392', '24416', '23852', '24793', '24257', '23699', '23698', '25106', '24162', '24964', '24658', '24659', '24717', '24716', '24954', '24731', '24718', '24842', '23604', '24190', '23654', '24195', '23471', '23470', '24825', '24903', '25068', '25069', '24820', '23761', '24308', '24052', '25109', '24545', '25105', '24059', '23567', '23566', '25090', '24984', '23373', '23969', '24404', '23842', '24153', '24046', '24113', '23681', '24264', '24464', '24913', '24211', '24598', '24707', '24854', '24217', '23778', '23779', '23462', '25171', '23365', '24...(truncated), throwflag=0) at ../Python/ceval.c:3836
#12 call_function (f=
Frame 0x855e204, for file /usr/local/lib/python2.6/dist-packages/graphserver-1.0.0-py2.6.egg/graphserver/core.py, line 887, in add_period (self=<ServiceCalendar(soul=139446424) at remote 0x849a18c>, begin_time=1303941600, end_time=1304028000, service_ids=['25133', '25134', '25143', '23754', '23993', '23511', '23759', '25136', '23516', '24536', '24047', '23591', '25085', '23595', '23596', '24556', '23611', '23617', '23721', '23444', '23445', '25121', '23690', '24393', '24392', '24416', '23852', '24793', '24257', '23699', '23698', '25106', '24162', '24964', '24658', '24659', '24717', '24716', '24954', '24731', '24718', '24842', '23604', '24190', '23654', '24195', '23471', '23470', '24825', '24903', '25068', '25069', '24820', '23761', '24308', '24052', '25109', '24545', '25105', '24059', '23567', '23566', '25090', '24984', '23373', '23969', '24404', '23842', '24153', '24046', '24113', '23681', '24264', '24464', '24913', '24211', '24598', '24707', '24854', '24217', '23778', '23779', '23462', '25171', '23365', '24...(truncated), throwflag=0) at ../Python/ceval.c:3771
#13 PyEval_EvalFrameEx (f=
Frame 0x855e204, for file /usr/local/lib/python2.6/dist-packages/graphserver-1.0.0-py2.6.egg/graphserver/core.py, line 887, in add_period (self=<ServiceCalendar(soul=139446424) at remote 0x849a18c>, begin_time=1303941600, end_time=1304028000, service_ids=['25133', '25134', '25143', '23754', '23993', '23511', '23759', '25136', '23516', '24536', '24047', '23591', '25085', '23595', '23596', '24556', '23611', '23617', '23721', '23444', '23445', '25121', '23690', '24393', '24392', '24416', '23852', '24793', '24257', '23699', '23698', '25106', '24162', '24964', '24658', '24659', '24717', '24716', '24954', '24731', '24718', '24842', '23604', '24190', '23654', '24195', '23471', '23470', '24825', '24903', '25068', '25069', '24820', '23761', '24308', '24052', '25109', '24545', '25105', '24059', '23567', '23566', '25090', '24984', '23373', '23969', '24404', '23842', '24153', '24046', '24113', '23681', '24264', '24464', '24913', '24211', '24598', '24707', '24854', '24217', '23778', '23779', '23462', '25171', '23365', '24...(truncated), throwflag=0) at ../Python/ceval.c:2412
#14 0x080e1bb0 in fast_function (f=
Frame 0x84fa7b4, for file /usr/local/lib/python2.6/dist-packages/graphserver-1.0.0-py2.6.egg/graphserver/compiler/tools.py, line 40, in service_calendar_from_timezone (gtfsdb=<GTFSDatabase(dbname='completo.gtfsdb', conn=<sqlite3.Connection at remote 0x836f7a0>) at remote 0x846d36c>, timezone_name=u'Europe/Rome', MAX_CALENDAR_SIZE=2048, sc_count=1410, timezone=<Europe/Rome(_dst=<datetime.timedelta at remote 0xb7fadde8>, _utcoffset=<datetime.timedelta at remote 0x8498098>, _tzinfos={(<datetime.timedelta at remote 0x8498098>, <datetime.timedelta at remote 0xb7fadde8>, 'CET'): <...>, (<datetime.timedelta at remote 0x84980c8>, <datetime.timedelta at remote 0x8498098>, 'CEST'): <Europe/Rome(_dst=<datetime.timedelta at remote 0x8498098>, _utcoffset=<datetime.timedelta at remote 0x84980c8>, _tzinfos={...}, _tzname='CEST') at remote 0x846dc0c>}, _tzname='CET') at remote 0x846daec>, start_date=<datetime.date at remote 0x84980b0>, end_date=<datetime.date at remote 0x8498038>, cal=<ServiceCalendar(soul=139446424) at remo...(truncated), throwflag=0) at ../Python/ceval.c:3836
#15 call_function (f=
Frame 0x84fa7b4, for file /usr/local/lib/python2.6/dist-packages/graphserver-1.0.0-py2.6.egg/graphserver/compiler/tools.py, line 40, in service_calendar_from_timezone (gtfsdb=<GTFSDatabase(dbname='completo.gtfsdb', conn=<sqlite3.Connection at remote 0x836f7a0>) at remote 0x846d36c>, timezone_name=u'Europe/Rome', MAX_CALENDAR_SIZE=2048, sc_count=1410, timezone=<Europe/Rome(_dst=<datetime.timedelta at remote 0xb7fadde8>, _utcoffset=<datetime.timedelta at remote 0x8498098>, _tzinfos={(<datetime.timedelta at remote 0x8498098>, <datetime.timedelta at remote 0xb7fadde8>, 'CET'): <...>, (<datetime.timedelta at remote 0x84980c8>, <datetime.timedelta at remote 0x8498098>, 'CEST'): <Europe/Rome(_dst=<datetime.timedelta at remote 0x8498098>, _utcoffset=<datetime.timedelta at remote 0x84980c8>, _tzinfos={...}, _tzname='CEST') at remote 0x846dc0c>}, _tzname='CET') at remote 0x846daec>, start_date=<datetime.date at remote 0x84980b0>, end_date=<datetime.date at remote 0x8498038>, cal=<ServiceCalendar(soul=139446424) at remo...(truncated), throwflag=0) at ../Python/ceval.c:3771
#16 PyEval_EvalFrameEx (f=
Frame 0x84fa7b4, for file /usr/local/lib/python2.6/dist-packages/graphserver-1.0.0-py2.6.egg/graphserver/compiler/tools.py, line 40, in service_calendar_from_timezone (gtfsdb=<GTFSDatabase(dbname='completo.gtfsdb', conn=<sqlite3.Connection at remote 0x836f7a0>) at remote 0x846d36c>, timezone_name=u'Europe/Rome', MAX_CALENDAR_SIZE=2048, sc_count=1410, timezone=<Europe/Rome(_dst=<datetime.timedelta at remote 0xb7fadde8>, _utcoffset=<datetime.timedelta at remote 0x8498098>, _tzinfos={(<datetime.timedelta at remote 0x8498098>, <datetime.timedelta at remote 0xb7fadde8>, 'CET'): <...>, (<datetime.timedelta at remote 0x84980c8>, <datetime.timedelta at remote 0x8498098>, 'CEST'): <Europe/Rome(_dst=<datetime.timedelta at remote 0x8498098>, _utcoffset=<datetime.timedelta at remote 0x84980c8>, _tzinfos={...}, _tzname='CEST') at remote 0x846dc0c>}, _tzname='CET') at remote 0x846daec>, start_date=<datetime.date at remote 0x84980b0>, end_date=<datetime.date at remote 0x8498038>, cal=<ServiceCalendar(soul=139446424) at remo...(truncated), throwflag=0) at ../Python/ceval.c:2412
#17 0x080e1bb0 in fast_function (f=
Frame 0x84f25e4, for file /usr/local/lib/python2.6/dist-packages/graphserver-1.0.0-py2.6.egg/graphserver/compiler/gdb_import_gtfs.py, line 24, in __init__ (self=<GTFSGraphCompiler(tz=<Timezone(soul=137058280) at remote 0x846d86c>, gtfsdb=<GTFSDatabase(dbname='completo.gtfsdb', conn=<sqlite3.Connection at remote 0x836f7a0>) at remote 0x846d36c>, agency_namespace='0', reporter=<file at remote 0xb7fcf078>) at remote 0x846d70c>, gtfsdb=<...>, agency_namespace='0', agency_id=None, reporter=<file at remote 0xb7fcf078>, timezone_name=u'Europe/Rome'),
throwflag=0) at ../Python/ceval.c:3836
#18 call_function (f=
Frame 0x84f25e4, for file /usr/local/lib/python2.6/dist-packages/graphserver-1.0.0-py2.6.egg/graphserver/compiler/gdb_import_gtfs.py, line 24, in __init__ (self=<GTFSGraphCompiler(tz=<Timezone(soul=137058280) at remote 0x846d86c>, gtfsdb=<GTFSDatabase(dbname='completo.gtfsdb', conn=<sqlite3.Connection at remote 0x836f7a0>) at remote 0x846d36c>, agency_namespace='0', reporter=<file at remote 0xb7fcf078>) at remote 0x846d70c>, gtfsdb=<...>, agency_namespace='0', agency_id=None, reporter=<file at remote 0xb7fcf078>, timezone_name=u'Europe/Rome'),
throwflag=0) at ../Python/ceval.c:3771
#19 PyEval_EvalFrameEx (f=
Frame 0x84f25e4, for file /usr/local/lib/python2.6/dist-packages/graphserver-1.0.0-py2.6.egg/graphserver/compiler/gdb_import_gtfs.py, line 24, in __init__ (self=<GTFSGraphCompiler(tz=<Timezone(soul=137058280) at remote 0x846d86c>, gtfsdb=<GTFSDatabase(dbname='completo.gtfsdb', conn=<sqlite3.Connection at remote 0x836f7a0>) at remote 0x846d36c>, agency_namespace='0', reporter=<file at remote 0xb7fcf078>) at remote 0x846d70c>, gtfsdb=<...>, agency_namespace='0', agency_id=None, reporter=<file at remote 0xb7fcf078>, timezone_name=u'Europe/Rome'),
throwflag=0) at ../Python/ceval.c:2412
#20 0x080e2807 in PyEval_EvalCodeEx (co=0xb7f9abf0, globals=
{'cons': <function at remote 0x846e0d4>, 'ElapseTime': <type at remote 0x8470ef4>, 'Graph': <type at remote 0x83793bc>, 'graph_load_gtfsdb': <function at remote 0x846e294>, 'datetime': <module at remote 0xb7fadb84>, 'GTFSGraphCompiler': <classobj at remote 0x849d08c>, '__package__': 'graphserver.compiler', 'parse_gtfs_date': <function at remote 0x8469844>, 'Link': <type at remote 0x842fe5c>, 'HeadwayAlight': <type at remote 0x847228c>, 'main': <function at remote 0x846e2cc>, '__doc__': None, 'GraphDatabase': <classobj at remote 0x844e26c>, 'HeadwayBoard': <type at remote 0x8471da4>, 'TripBoard': <type at remote 0x847173c>, '__builtins__': {'bytearray': <type at remote 0x826e640>, 'IndexError': <type at remote 0x822b160>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb7f8d7cc>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x822ade0>, 'unicode': <type at remote 0x8236f80>, 'UnicodeDecodeError': <type at remote 0x822b5c0>, 'isinstance': <built-in function isinstance>, 'copyrigh...(truncated), locals=0x0, args=0x844e1e8, argcount=5, kws=0x0, kwcount=0, defs=
0x8467d38, defcount=2, closure=0x0) at ../Python/ceval.c:3000
#21 0x0816b2ac in function_call (func=<function at remote 0x846e144>, arg=
(<GTFSGraphCompiler(tz=<Timezone(soul=137058280) at remote 0x846d86c>, gtfsdb=<GTFSDatabase(dbname='completo.gtfsdb', conn=<sqlite3.Connection at remote 0x836f7a0>) at remote 0x846d36c>, agency_namespace='0', reporter=<file at remote 0xb7fcf078>) at remote 0x846d70c>, <...>, '0', None, <file at remote 0xb7fcf078>), kw=0x0)
at ../Objects/funcobject.c:524
#22 0x0806245a in PyObject_Call (func=<function at remote 0x846e144>, arg=
(<GTFSGraphCompiler(tz=<Timezone(soul=137058280) at remote 0x846d86c>, gtfsdb=<GTFSDatabase(dbname='completo.gtfsdb', conn=<sqlite3.Connection at remote 0x836f7a0>) at remote 0x846d36c>, agency_namespace='0', reporter=<file at remote 0xb7fcf078>) at remote 0x846d70c>, <...>, '0', None, <file at remote 0xb7fcf078>), kw=0x0) at ../Objects/abstract.c:2492
#23 0x0806a45c in instancemethod_call (func=<instancemethod at remote 0x8396b6c>, arg=
(<GTFSGraphCompiler(tz=<Timezone(soul=137058280) at remote 0x846d86c>, gtfsdb=<GTFSDatabase(dbname='completo.gtfsdb', conn=<sqlite3.Connection at remote 0x836f7a0>) at remote 0x846d36c>, agency_namespace='0', reporter=<file at remote 0xb7fcf078>) at remote 0x846d70c>, <...>, '0', None, <file at remote 0xb7fcf078>), kw=0x0)
at ../Objects/classobject.c:2579
#24 0x0806245a in PyObject_Call (func=<instancemethod at remote 0x8396b6c>, arg=
(<GTFSDatabase(dbname='completo.gtfsdb', conn=<sqlite3.Connection at remote 0x836f7a0>) at remote 0x846d36c>, '0', None, <file at remote 0xb7fcf078>), kw=0x0) at ../Objects/abstract.c:2492
#25 0x080db892 in PyEval_CallObjectWithKeywords (func=<instancemethod at remote 0x8396b6c>, arg=
(<GTFSDatabase(dbname='completo.gtfsdb', conn=<sqlite3.Connection at remote 0x836f7a0>) at remote 0x846d36c>, '0', None, <file at remote 0xb7fcf078>), kw=0x0) at ../Python/ceval.c:3619
#26 0x0806c51f in PyInstance_New (klass=<classobj at remote 0x849d08c>, arg=
(<GTFSDatabase(dbname='completo.gtfsdb', conn=<sqlite3.Connection at remote 0x836f7a0>) at remote 0x846d36c>, '0', None, <file at remote 0xb7fcf078>), kw=0x0) at ../Objects/classobject.c:568
#27 0x0806245a in PyObject_Call (func=<classobj at remote 0x849d08c>, arg=
(<GTFSDatabase(dbname='completo.gtfsdb', conn=<sqlite3.Connection at remote 0x836f7a0>) at remote 0x846d36c>, '0', None, <file at remote 0xb7fcf078>), kw=0x0) at ../Objects/abstract.c:2492
#28 0x080e0471 in do_call (f=
Frame 0x84942a4, for file /usr/local/lib/python2.6/dist-packages/graphserver-1.0.0-py2.6.egg/graphserver/compiler/gdb_import_gtfs.py, line 221, in gdb_load_gtfsdb (gdb=<GraphDatabase(payloads_cache={}, resources_cache={}, conn=<sqlite3.Connection at remote 0x836fda0>) at remote 0x846d40c>, agency_namespace='0', gtfsdb=<GTFSDatabase(dbname='completo.gtfsdb', conn=<sqlite3.Connection at remote 0x836f7a0>) at remote 0x846d36c>, cursor=<sqlite3.Cursor at remote 0x849d0b0>, agency_id=None, maxtrips=None, sample_date=None, reporter=<file at remote 0xb7fcf078>, acceptable_service_ids=None), throwflag=0) at ../Python/ceval.c:3968
#29 call_function (f=
Frame 0x84942a4, for file /usr/local/lib/python2.6/dist-packages/graphserver-1.0.0-py2.6.egg/graphserver/compiler/gdb_import_gtfs.py, line 221, in gdb_load_gtfsdb (gdb=<GraphDatabase(payloads_cache={}, resources_cache={}, conn=<sqlite3.Connection at remote 0x836fda0>) at remote 0x846d40c>, agency_namespace='0', gtfsdb=<GTFSDatabase(dbname='completo.gtfsdb', conn=<sqlite3.Connection at remote 0x836f7a0>) at remote 0x846d36c>, cursor=<sqlite3.Cursor at remote 0x849d0b0>, agency_id=None, maxtrips=None, sample_date=None, reporter=<file at remote 0xb7fcf078>, acceptable_service_ids=None), throwflag=0) at ../Python/ceval.c:3773
#30 PyEval_EvalFrameEx (f=
Frame 0x84942a4, for file /usr/local/lib/python2.6/dist-packages/graphserver-1.0.0-py2.6.egg/graphserver/compiler/gdb_import_gtfs.py, line 221, in gdb_load_gtfsdb (gdb=<GraphDatabase(payloads_cache={}, resources_cache={}, conn=<sqlite3.Connection at remote 0x836fda0>) at remote 0x846d40c>, agency_namespace='0', gtfsdb=<GTFSDatabase(dbname='completo.gtfsdb', conn=<sqlite3.Connection at remote 0x836f7a0>) at remote 0x846d36c>, cursor=<sqlite3.Cursor at remote 0x849d0b0>, agency_id=None, maxtrips=None, sample_date=None, reporter=<file at remote 0xb7fcf078>, acceptable_service_ids=None), throwflag=0) at ../Python/ceval.c:2412
#31 0x080e2807 in PyEval_EvalCodeEx (co=0xb7fa7ba8, globals=
{'cons': <function at remote 0x846e0d4>, 'ElapseTime': <type at remote 0x8470ef4>, 'Graph': <type at remote 0x83793bc>, 'graph_load_gtfsdb': <function at remote 0x846e294>, 'datetime': <module at remote 0xb7fadb84>, 'GTFSGraphCompiler': <classobj at remote 0x849d08c>, '__package__': 'graphserver.compiler', 'parse_gtfs_date': <function at remote 0x8469844>, 'Link': <type at remote 0x842fe5c>, 'HeadwayAlight': <type at remote 0x847228c>, 'main': <function at remote 0x846e2cc>, '__doc__': None, 'GraphDatabase': <classobj at remote 0x844e26c>, 'HeadwayBoard': <type at remote 0x8471da4>, 'TripBoard': <type at remote 0x847173c>, '__builtins__': {'bytearray': <type at remote 0x826e640>, 'IndexError': <type at remote 0x822b160>, 'all': <built-in function all>, 'help': <_Helper at remote 0xb7f8d7cc>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x822ade0>, 'unicode': <type at remote 0x8236f80>, 'UnicodeDecodeError': <type at remote 0x822b5c0>, 'isinstance': <built-in function isinstance>, 'copyrigh...(truncated), locals=0x0, args=0x847d940, argcount=5, kws=0x847d954,
kwcount=2, defs=0xb7fa4790, defcount=4, closure=0x0) at ../Python/ceval.c:3000
#32 0x080e0c8b in fast_function (f=
Frame 0x847d7dc, for file /usr/local/lib/python2.6/dist-packages/graphserver-1.0.0-py2.6.egg/graphserver/compiler/gdb_import_gtfs.py, line 268, in main (usage='usage: python gdb_import_gtfs.py [options] <graphdb_filename> <gtfsdb_filename> [<agency_id>]', parser=<OptionParser(process_default_values=True, allow_interspersed_args=True, _long_opt={'--date': <Option(_long_opts=['--date'], help='only load transit running on a given day. YYYYMMDD', callback_args=None, callback=None, default=None, nargs=1, choices=None, dest='sample_date', container=<...>, _short_opts=['-d'], action='store', const=None, callback_kwargs=None, type='string', metavar=None) at remote 0x846d28c>, '--maxtrips': <Option(_long_opts=['--maxtrips'], help='maximum number of trips to load', callback_args=None, callback=None, default=None, nargs=1, choices=None, dest='maxtrips', container=<...>, _short_opts=['-m'], action='store', const=None, callback_kwargs=None, type='string', metavar=None) at remote 0x846d2ac>, '--namespace': <Option(_long_op...(truncated), throwflag=0) at ../Python/ceval.c:3846
#33 call_function (f=
Frame 0x847d7dc, for file /usr/local/lib/python2.6/dist-packages/graphserver-1.0.0-py2.6.egg/graphserver/compiler/gdb_import_gtfs.py, line 268, in main (usage='usage: python gdb_import_gtfs.py [options] <graphdb_filename> <gtfsdb_filename> [<agency_id>]', parser=<OptionParser(process_default_values=True, allow_interspersed_args=True, _long_opt={'--date': <Option(_long_opts=['--date'], help='only load transit running on a given day. YYYYMMDD', callback_args=None, callback=None, default=None, nargs=1, choices=None, dest='sample_date', container=<...>, _short_opts=['-d'], action='store', const=None, callback_kwargs=None, type='string', metavar=None) at remote 0x846d28c>, '--maxtrips': <Option(_long_opts=['--maxtrips'], help='maximum number of trips to load', callback_args=None, callback=None, default=None, nargs=1, choices=None, dest='maxtrips', container=<...>, _short_opts=['-m'], action='store', const=None, callback_kwargs=None, type='string', metavar=None) at remote 0x846d2ac>, '--namespace': <Option(_long_op...(truncated), throwflag=0) at ../Python/ceval.c:3771
#34 PyEval_EvalFrameEx (f=
Frame 0x847d7dc, for file /usr/local/lib/python2.6/dist-packages/graphserver-1.0.0-py2.6.egg/graphserver/compiler/gdb_import_gtfs.py, line 268, in main (usage='usage: python gdb_import_gtfs.py [options] <graphdb_filename> <gtfsdb_filename> [<agency_id>]', parser=<OptionParser(process_default_values=True, allow_interspersed_args=True, _long_opt={'--date': <Option(_long_opts=['--date'], help='only load transit running on a given day. YYYYMMDD', callback_args=None, callback=None, default=None, nargs=1, choices=None, dest='sample_date', container=<...>, _short_opts=['-d'], action='store', const=None, callback_kwargs=None, type='string', metavar=None) at remote 0x846d28c>, '--maxtrips': <Option(_long_opts=['--maxtrips'], help='maximum number of trips to load', callback_args=None, callback=None, default=None, nargs=1, choices=None, dest='maxtrips', container=<...>, _short_opts=['-m'], action='store', const=None, callback_kwargs=None, type='string', metavar=None) at remote 0x846d2ac>, '--namespace': <Option(_long_op...(truncated), throwflag=0) at ../Python/ceval.c:2412
#35 0x080e1bb0 in fast_function (f=
Frame 0x829bb0c, for file /usr/local/bin/gs_import_gtfs, line 9, in <module> (), throwflag=0)
at ../Python/ceval.c:3836
#36 call_function (f=Frame 0x829bb0c, for file /usr/local/bin/gs_import_gtfs, line 9, in <module> (),
throwflag=0) at ../Python/ceval.c:3771
#37 PyEval_EvalFrameEx (f=Frame 0x829bb0c, for file /usr/local/bin/gs_import_gtfs, line 9, in <module> (),
throwflag=0) at ../Python/ceval.c:2412
#38 0x080e2807 in PyEval_EvalCodeEx (co=0xb7f85ec0, globals=
{'__builtins__': <module at remote 0xb7fad074>, '__file__': '/usr/local/bin/gs_import_gtfs', '__package__': None, 'sys': <module at remote 0xb7fad08c>, '__requires__': 'graphserver==1.0.0', 'load_entry_point': <function at remote 0xb7f01994>, '__name__': '__main__', '__doc__': None}, locals=
{'__builtins__': <module at remote 0xb7fad074>, '__file__': '/usr/local/bin/gs_import_gtfs', '__package__': None, 'sys': <module at remote 0xb7fad08c>, '__requires__': 'graphserver==1.0.0', 'load_entry_point': <function at remote 0xb7f01994>, '__name__': '__main__', '__doc__': None}, args=0x0, argcount=0, kws=0x0, kwcount=0,
defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3000
#39 0x080e2907 in PyEval_EvalCode (co=0xb7f85ec0, globals=
{'__builtins__': <module at remote 0xb7fad074>, '__file__': '/usr/local/bin/gs_import_gtfs', '__package__': None, 'sys': <module at remote 0xb7fad08c>, '__requires__': 'graphserver==1.0.0', 'load_entry_point': <function at remote 0xb7f01994>, '__name__': '__main__', '__doc__': None}, locals=
{'__builtins__': <module at remote 0xb7fad074>, '__file__': '/usr/local/bin/gs_import_gtfs', '__package__': None, 'sys': <module at remote 0xb7fad08c>, '__requires__': 'graphserver==1.0.0', 'load_entry_point': <function at remote 0xb7f01994>, '__name__': '__main__', '__doc__': None}) at ../Python/ceval.c:541
#40 0x081005ad in run_mod (fp=0x82e61f8, filename=0xbffff63e "/usr/local/bin/gs_import_gtfs", start=257,
globals=
{'__builtins__': <module at remote 0xb7fad074>, '__file__': '/usr/local/bin/gs_import_gtfs', '__package__': None, 'sys': <module at remote 0xb7fad08c>, '__requires__': 'graphserver==1.0.0', 'load_entry_point': <function at remote 0xb7f01994>, '__name__': '__main__', '__doc__': None}, locals=
{'__builtins__': <module at remote 0xb7fad074>, '__file__': '/usr/local/bin/gs_import_gtfs', '__package__': None, 'sys': <module at remote 0xb7fad08c>, '__requires__': 'graphserver==1.0.0', 'load_entry_point': <function at remote 0xb7f01994>, '__name__': '__main__', '__doc__': None}, closeit=1, flags=0xbffff3cc)
at ../Python/pythonrun.c:1339
#41 PyRun_FileExFlags (fp=0x82e61f8, filename=0xbffff63e "/usr/local/bin/gs_import_gtfs", start=257, globals=
{'__builtins__': <module at remote 0xb7fad074>, '__file__': '/usr/local/bin/gs_import_gtfs', '__package__': None, 'sys': <module at remote 0xb7fad08c>, '__requires__': 'graphserver==1.0.0', 'load_entry_point': <function at remote 0xb7f01994>, '__name__': '__main__', '__doc__': None}, locals=
{'__builtins__': <module at remote 0xb7fad074>, '__file__': '/usr/local/bin/gs_import_gtfs', '__package__': None, 'sys': <module at remote 0xb7fad08c>, '__requires__': 'graphserver==1.0.0', 'load_entry_point': <function at remote 0xb7f01994>, '__name__': '__main__', '__doc__': None}, closeit=1, flags=0xbffff3cc)
at ../Python/pythonrun.c:1325
#42 0x08100812 in PyRun_SimpleFileExFlags (fp=0x82e61f8, filename=0xbffff63e "/usr/local/bin/gs_import_gtfs",
closeit=1, flags=0xbffff3cc) at ../Python/pythonrun.c:935
#43 0x0805de5c in Py_Main (argc=4, argv=0xbffff4b4) at ../Modules/main.c:572
#44 0x0805d03b in main (argc=4, argv=0xbffff4b4) at ../Modules/python.c:23
Thanx in advice.
Matteo.