Sadless74 / googletransitdatafeed

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

literal "%s" included in the validation html #120

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Validate python\test\data\missing_calendar
and look at the html:

Invalid value America/Los_Angeles in field agency_timezone
"%s" isn't a recognized time zone

Original issue reported on code.google.com by tom.brow...@gmail.com on 21 Nov 2008 at 9:47

GoogleCodeExporter commented 9 years ago
I see this problem when running the validator or schedule viewer exe when I'm
building 1.1.8. There is no warning about pytz not being installed. Running the
schedule view outputs:

Enter Feed Location: H:\src\transitfeed-1.1.8\python\test\data\good_feed
Loading data from feed "H:\src\transitfeed-1.1.8\python\test\data\good_feed"...
(this may take a few minutes for larger cities)
Invalid value America/Los_Angeles in field agency_timezone
"%s" isn't a recognized time zone
To view, point your browser at http://localhost:8765/ 

Running on the same machine, also with python2.5 directly as
H:\src\transitfeed-1.1.8\python>c:\Python25\python.exe schedule_viewer.py test\d
ata\good_feed
doesn't output the warning

Original comment by tom.brow...@gmail.com on 21 Nov 2008 at 10:01

GoogleCodeExporter commented 9 years ago
literal is an easy fix. py2exe not including America/Los_Angeles is different 
and hard.

Original comment by tom.brow...@gmail.com on 23 Nov 2008 at 4:31

GoogleCodeExporter commented 9 years ago
fixed literal %s problem with r1052.

py2exe complaining about America/Los_Angeles doesn't reproduce any longer.

Original comment by tom.brow...@gmail.com on 21 May 2009 at 6:33