I added some debug-code and narrowed it down a bit. Seems like
something odd is happening in February, but I can't figure out why it's
saying day is out of range for month, when it appears to only be using
month and year -- and since it's using a Python date library, I'd think
that there wouldn't be any weirdness.
This wasn't happening a few days ago. We've had successful runs past
this point before. There's a variety of different-formatted date
strings in the .txt.gz for that month, but I assume that exists for many
months.
Yaakov, or anyone else?
[mspevack@rawhide1 ~]$ rpm -q python-ekg
python-ekg-0.3.2-1.fc11.noarch
[mspevack@rawhide1 ~]$ ekg-scan
[Errno 17] File exists: 'fhmailman/cobbler'
May
2009
April
2009
March
2009
February
2009
Traceback (most recent call last):
File "/usr/bin/ekg-scan", line 8, in <module>
load_entry_point('ekg==0.3.2', 'console_scripts',
'ekg-scan')()
File "/usr/lib/python2.6/site-packages/ekg/commands.py", line 47, in
scan
stream = StreamClass.create_or_update(name=list)
File "/usr/lib/python2.6/site-packages/ekg/model.py", line 96, in
create_or_update
sql_obj.update(remote)
File "/usr/lib/python2.6/site-packages/ekg/model.py", line 160, in
update
self.source_class.create_or_update(**remote)
File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.6/site-packages/ekg/util.py", line 30, in pwd
yield
File "/usr/lib/python2.6/site-packages/ekg/model.py", line 159, in
update
for remote in iter_in_transaction(session, remotes):
File "/usr/lib/python2.6/site-packages/ekg/util.py", line 35, in
iter_in_transaction
for item in iter:
File "/usr/lib/python2.6/site-packages/ekg/model.py", line 252, in
remote_iter
match_dict['month'] = dup.parse('%s %s' %
(match_dict['month'],
match_dict['year']))
File "/usr/lib/python2.6/site-packages/dateutil/parser.py", line 697,
in parse
return DEFAULTPARSER.parse(timestr, **kwargs)
File "/usr/lib/python2.6/site-packages/dateutil/parser.py", line 310,
in parse
ret = default.replace(**repl)
ValueError: day is out of range for month
Show replies by date