You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bin/gtfsdb-rt-loader -a TRIMET -d postgresql+psycopg2://[email protected]:5432/ott --api_key -cbin/gtfsdb-rt-loader doesn't exists
I try to run bin/gtfsrt-load -a TRIMET -d postgresql+psycopg2://[email protected]:5432/ott --api_key -c but the script doesn't create the table trimet.routes so i get error relation "trimet.routes" doesn't exist
Thank you @fpurcell
Yes a Postgres database is installed on my machine.
But as I already write the command buildout install prod pg doesn't work for me.
Also I think you have to specify that first to run: bin/gtfsrt-load -a TRIMET -d postgresql+psycopg2://[email protected]:5432/ott --api_key -c (not bin/gtfsdb-rt-loader -a TRIMET -d postgresql+psycopg2://[email protected]:5432/ott --api_key -c as you write in documentation) you have to import the static gtfs using gtfsdb. The correct sequence could be:
create real time tables. What is the command to create only table (schema trimet is already created by gtfsdb during static gtfs import) ?
import trimet real time data running bin/gtfsrt-load -a TRIMET -d postgresql+psycopg2://postgres:postgres@localhost:5432/dbname --api_key apikey (without c because table are already created in step 3)
Edit documentation to make it clearer.
For example this is my experience and I cannot use the application to test trimet data.
Install and use via the gtfsdb source tree:
easy_install zc.buildout
okbuildout
ok(buildout install prod pg
returnError: The referenced section, 'pg', was not defined.
)Run TriMet example:
bin/gtfsdb-rt-loader -a TRIMET -d postgresql+psycopg2://[email protected]:5432/ott --api_key -c
bin/gtfsdb-rt-loader doesn't existsI try to run
bin/gtfsrt-load -a TRIMET -d postgresql+psycopg2://[email protected]:5432/ott --api_key -c
but the script doesn't create the table trimet.routes so i get errorrelation "trimet.routes" doesn't exist
@fpurcell
The text was updated successfully, but these errors were encountered: