Transitime / core

Transitime 0.1 (beta) is an open source project created and managed by Swiftly, Inc. to help transit agencies generate more accurate and reliable real-time arrival information for passengers. This version of the code is an early beta release and should not be used for production implementations. Please reach out to Swiftly at contact@goswift.ly for the most up-to-date software.
https://goswift.ly/transitime
GNU General Public License v3.0
62 stars 77 forks source link

configRev is not accepted on command line of GtfsFileProcessor and not listed as option #6

Open scrudden opened 9 years ago

scrudden commented 9 years ago

When run for the first time on an empty database GTFSFileProcessor complains

" ActiveRevisions in database is not valid. The configuration revs must be set to proper values. ActiveRevisions [configRev=-1, travelTimesRev=-1]"

The configRev option needs to be added to the processCommandLineOptions method as if the database does not have any values in the ActiveRevisions table it could use the one from the command line.

I think that is what was intended.

scrudden commented 9 years ago

Just ran into this again when re configuring a blank schema to support the recent database changes.

12:35:10.877 ERROR thread=main [o.t.a.Core:117] ActiveRevisions in database is not valid. The configuration revs must be set to proper values. ActiveRevisions [configRev=-1, travelTimesRev=-1]