Closed GoogleCodeExporter closed 9 years ago
File "feedvalidator.py", line 169, in WriteOutput formatted_start = time.strftime(dst_format, --> time.strptime(start, src_format)) formatted_end = time.strftime(dst_format, time.strptime(end, src_format)) a = {'agency_url': u'en', 'agency_name': u'...', 'agency_id': u'...', 'agency_timezone': u'...', 'agency_lang': u'...'} dates = No valid service dates found feed_location = /home/sidebotham/Desktop/transit/validation/transit.zip end = WD schedule = <transitfeed.Schedule instance at 0xf7ecdecc> basename = transit.zip f = <open file 'validation-results.html', mode 'w' at 0xf79a2578> problems = <__main__.HTMLCountingProblemReporter instance at 0xf7ecddec> agencies = <a href="en">....#</a> summary = <span class="fail">1916 errors and <a href="#warnings">33244 warnings</a> found</span> start = 0 src_format = %Y%m%d feed_path = ('/home/sidebotham/Desktop/transit/validation/', 'transit.zip') self = <__main__.HTMLCountingProblemReporter instance at 0xf7ecddec> dst_format = %B %d, %Y File "/usr/lib/python2.4/_strptime.py", line 293, in strptime if not found: --> raise ValueError("time data did not match format: data=%s fmt=%s" % (data_string, format)) time_re = {'A': '(?P<A>wednesday|thursday|saturday|tuesday|monday|friday|sunday)', 'B': '(?P<B>september|february|november|december|january|october|august|march|april|j une|july|may)', 'I': '(?P<I>1[0-2]|0[1-9]|[1-9])', 'H': '(?P<H>2[0-3]|[0-1]\\d|\\d)', 'M': '(?P<M>[0-5]\\d|\\d)', 'S': '(?P<S>6[0-1]|[0-5]\\d|\\d)', 'U': '(?P<U>5[0-3]|[0-4]\\d|\\d)', 'W': '(?P<W>5[0-3]|[0-4]\\d|\\d)', 'Y': '(?P<Y>\\d\\d\\d\\d)', 'X': '(?P<H>2[0-3]|[0-1]\\d|\\d):(?P<M>[0-5]\\d|\\d):(?P<S>6[0-1]|[0-5]\\d|\\d)', 'Z': '(?P<Z>... data_string = 0 format = %Y%m%d locale_time = <_strptime.LocaleTime object at 0xf7dc4b8c> found = None format_regex = <_sre.SRE_Pattern object at 0x82d3370> ValueError: time data did not match format: data=0 fmt=%Y%m%d
Original issue reported on code.google.com by tom.brow...@gmail.com on 18 Jul 2008 at 3:37
tom.brow...@gmail.com
Fixed in r947 which will be in the next release
Original comment by tom.brow...@gmail.com on 5 Dec 2008 at 7:40
Original issue reported on code.google.com by
tom.brow...@gmail.com
on 18 Jul 2008 at 3:37