transitous icon indicating copy to clipboard operation
transitous copied to clipboard

Error fetching 'feeds/us-ca.json'

Open transitous-bot opened this issue 9 months ago • 0 comments

CC: @mlundblad

An error occured while fetching a feed from feeds/us-ca.json. If the error is not temporary, please consider replacing or removing the feed. Thanks!

Here are the logs of the error(s): On 2024-05-19 11:09:52 UTC:

Fetching us-ca-BART…
Fetching us-ca-SFMTA…
Postprocessing us-ca-SFMTA with gtfstidy…
Parsing GTFS feed in '/woodpecker/src/github.com/public-transport/transitous/out/.tmp-us-ca_SFMTA.gtfs.zip' ... done.
Outputting GTFS feed to '/woodpecker/src/github.com/public-transport/transitous/out/.tmp-us-ca_SFMTA.gtfs.zip'... done.

Fetching us-ca-Capitolcorridor…
Postprocessing us-ca-Capitolcorridor with gtfstidy…
Parsing GTFS feed in '/woodpecker/src/github.com/public-transport/transitous/out/.tmp-us-ca_Capitolcorridor.gtfs.zip' ...
Error while parsing GTFS feed:
in trip '750' for stoptime with seq=3 the arrival time is before the departure in the previous station

You may want to try running gtfsclean with --fix for error fixing / skipping. See --help for details.
Traceback (most recent call last):
  File "/woodpecker/src/github.com/public-transport/transitous/./src/fetch.py", line 224, in <module>
    errors = fetcher.fetch(Path(metadata_file))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/woodpecker/src/github.com/public-transport/transitous/./src/fetch.py", line 213, in fetch
    self.postprocess(source, download_path, output_path)
  File "/woodpecker/src/github.com/public-transport/transitous/./src/fetch.py", line 151, in postprocess
    subprocess.check_call(command)
  File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gtfsclean', '/woodpecker/src/github.com/public-transport/transitous/out/.tmp-us-ca_Capitolcorridor.gtfs.zip', '--check-null-coords', '--output', '/woodpecker/src/github.com/public-transport/transitous/out/.tmp-us-ca_Capitolcorridor.gtfs.zip']' returned non-zero exit status 1.

transitous-bot avatar May 19 '24 11:05 transitous-bot