andreiDamoc / googletransitdatafeed

Automatically exported from code.google.com/p/googletransitdatafeed
0 stars 0 forks source link

Scheduler Viewer does not open some feeds because it is too conservative in validating feeds #252

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download the transit data feed file for the Milwaukee County Transit system:
     wget http://kamino.mcts.org/gtfs/google_transit.zip
2. Try to open the feed with the schedule viewer
    python schedule_viewer.py --feed_filename /path/to/google_transit.zip
3. Get an error

The file named terms_of_use.txt was not expected.
This may be a misspelled file name or the file may be included in a
subdirectory. Please check spellings and make sure that there are no
subdirectories within the feed

What is the expected output? What do you see instead?
The scheduler viewer should be able to open the feed despite the fact that an 
unexpected file is present.

What version of the product are you using? On what operating system?
transitfeed-1.2.6.tar.gz on Linux

Please provide any additional information below.
n/a

Original issue reported on code.google.com by adob...@gmail.com on 30 Aug 2010 at 12:21

GoogleCodeExporter commented 8 years ago
Hi,

I just tried that feed on 1.2.6 and it seems to be working fine here. The error 
message you mentioned is printed, but loading continues. After loading is done 
the "To view, point your browser at http://localhost:8765/" message is printed 
on the screen, and schedule viewer seems to work normally (ie. without any 
problems or further errors).

Is the same not happening to you? If not, what do you see instead in Schedule 
Viewer's output?

Thanks,
- André

Original comment by a...@google.com on 30 Aug 2010 at 7:22

GoogleCodeExporter commented 8 years ago
Indeed, it does work. The loading time of such length that I assumed that the 
warning was an error and the application had stalled. Sorry for inconvenience.

Original comment by adob...@gmail.com on 30 Aug 2010 at 7:34

GoogleCodeExporter commented 8 years ago
No problem - better safe than sorry :)

- André

Original comment by a...@google.com on 30 Aug 2010 at 7:38

GoogleCodeExporter commented 8 years ago

Original comment by bdfer...@google.com on 26 Sep 2014 at 4:44