hpr / py-race-results

Automatically exported from code.google.com/p/py-race-results
MIT License
1 stars 0 forks source link

CRRR trips if a banner is not found #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. crrr -d 23 29 --ml ~/ftc/ftc.csv -o results.html -y 2013 -m 12

What is the expected output? What do you see instead?
Traceback (most recent call last):
  File "/Users/jevans/Library/Python/3.3/bin/crrr", line 70, in <module>
    o.run()
  File "/Users/jevans/Library/Python/3.3/lib/python/site-packages/rr/common.py", line 119, in run
    self.compile_web_results()
  File "/Users/jevans/Library/Python/3.3/lib/python/site-packages/rr/crrr.py", line 47, in compile_web_results
    self.process_state_master_file(state)
  File "/Users/jevans/Library/Python/3.3/lib/python/site-packages/rr/crrr.py", line 100, in process_state_master_file
    self.compile_race_results()
  File "/Users/jevans/Library/Python/3.3/lib/python/site-packages/rr/crrr.py", line 260, in compile_race_results
    html = self.webify_vanilla_results(results)
  File "/Users/jevans/Library/Python/3.3/lib/python/site-packages/rr/crrr.py", line 350, in webify_vanilla_results
    banner_text = self.parse_banner()
  File "/Users/jevans/Library/Python/3.3/lib/python/site-packages/rr/crrr.py", line 375, in parse_banner
    banner_text = matchobj.group('banner')
AttributeError: 'NoneType' object has no attribute 'group'

Original issue reported on code.google.com by John.G.E...@gmail.com on 29 Dec 2013 at 11:52

GoogleCodeExporter commented 9 years ago
Skipping if this is the case.  May revisit later.

Original comment by John.G.E...@gmail.com on 30 Dec 2013 at 12:15