--> --> -->
 
 
<class 'DateParse.ParseError'>
Python 2.7.3: /usr/bin/python
Tue Feb 21 16:15:10 2017

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /afs/csail.mit.edu/u/e/edemaine/public_html/confu/index.py in ()
    304 
    305   cgi.header (content_type = 'text/html; charset=utf-8')
    306   cgi.write (page)
    307 
=>  308 if __name__ == '__main__': cgi_main ()
__name__ = '__main__', cgi_main = <function cgi_main>
 /afs/csail.mit.edu/u/e/edemaine/public_html/confu/index.py in cgi_main(req=None)
    127 
    128   all_events = \
=>  129     IndentForm.indent_cached_parse_file (IndentForm.default_indent_filename)
    130   formatter = HTMLFormatter.HTMLFormatter (
    131                 lambda **args: change_url (cgi, **args), all_events)
global IndentForm = <module 'IndentForm' from '/afs/csail.mit.edu/u/e/edemaine/big4/public_html/confu/IndentForm.py'>, IndentForm.indent_cached_parse_file = <bound method IndentParser.cached_parse_file of <IndentForm.IndentParser instance>>, IndentForm.default_indent_filename = '/afs/csail.mit.edu/u/e/edemaine/Projects/Events/data/events'
 /afs/csail.mit.edu/u/e/edemaine/big4/public_html/confu/IndentForm.py in cached_parse_file(self=<IndentForm.IndentParser instance>, filename='/afs/csail.mit.edu/u/e/edemaine/Projects/Events/data/events')
    287           read = True
    288       if read:
=>  289         events = self.parse_file (filename)
    290         try:
    291           os.unlink (cache_filename)
events undefined, self = <IndentForm.IndentParser instance>, self.parse_file = <bound method IndentParser.parse_file of <IndentForm.IndentParser instance>>, filename = '/afs/csail.mit.edu/u/e/edemaine/Projects/Events/data/events'
 /afs/csail.mit.edu/u/e/edemaine/big4/public_html/confu/IndentForm.py in parse_file(self=<IndentForm.IndentParser instance>, f=<open file '/afs/csail.mit.edu/u/e/edemaine/Projects/Events/data/events', mode 'rU'>)
    256       else:
    257         if lines:
=>  258           events.append (self.parse_event (lines))
    259         lines = [line]
    260         at_header = True
events = EventList ([Event ({'topic': [('art', None)], 'a...('Victoria, British Columbia, Canada', None)]})]), events.append = <built-in method append of EventList object>, self = <IndentForm.IndentParser instance>, self.parse_event = <bound method IndentParser.parse_event of <IndentForm.IndentParser instance>>, lines = ['CCCG 2017: 29th\xc2\xa0Canadian Conference on Computational Geometry', ' due: May 1, 2017 (AoE)', ' when: July 26-28, 2017', ' where: Carleton University, Ottawa, Ontario, Canada', ' accept: June 9, 2017', ' final: End of June, 2017', ' url: http://2017.cccg.ca', ' topic: geometry']
 /afs/csail.mit.edu/u/e/edemaine/big4/public_html/confu/IndentForm.py in parse_event(self=<IndentForm.IndentParser instance>, lines=['CCCG 2017: 29th\xc2\xa0Canadian Conference on Computational Geometry', ' due: May 1, 2017 (AoE)', ' when: July 26-28, 2017', ' where: Carleton University, Ottawa, Ontario, Canada', ' accept: June 9, 2017', ' final: End of June, 2017', ' url: http://2017.cccg.ca', ' topic: geometry'])
    225       else:
    226         if field is not None:
=>  227           self.parse_field (event, field, join_with_whitespace (entry_lines))
    228         colon = line.find (":")
    229         if colon < 0:
self = <IndentForm.IndentParser instance>, self.parse_field = <bound method IndentParser.parse_field of <IndentForm.IndentParser instance>>, event = Event ({'when': [<DateParse.DateRange instance a...: [<DateParse.DateRange instance at 0x1b97998>]}), field = 'final', global join_with_whitespace = <function join_with_whitespace>, entry_lines = ['End of June, 2017']
 /afs/csail.mit.edu/u/e/edemaine/big4/public_html/confu/IndentForm.py in parse_field(self=<IndentForm.IndentParser instance>, event=Event ({'when': [<DateParse.DateRange instance a...: [<DateParse.DateRange instance at 0x1b97998>]}), field='final', value='End of June, 2017')
    195       raise ParseError ("No parser for field %r of type %s" % (field, type))
    196     else:
=>  197       event[field] = self.parsers[type] (value)
    198 
    199   def parse_header (self, event, header):
event = Event ({'when': [<DateParse.DateRange instance a...: [<DateParse.DateRange instance at 0x1b97998>]}), field = 'final', self = <IndentForm.IndentParser instance>, self.parsers = {1: <function parse_date>, 2: <function parse_text>, 3: <function parse_url>, 4: <function parse_list_with_parens>, 5: <function parse_int>, 6: <function parse_int_list>, 7: <function parse_list>, 8: <function parse_location>}, type = 1, value = 'End of June, 2017'
 /afs/csail.mit.edu/u/e/edemaine/big4/public_html/confu/IndentForm.py in parse_date(s='End of June, 2017')
    100 
    101 def parse_date (s):
=>  102   return map (parse_daterange, parse_list (s, ";"))
    103   ## Must use semicolon separators for dates, because dates contain commas.
    104 
builtin map = <built-in function map>, global parse_daterange = <bound method classobj.parse of <class DateParse.DateRangeWithArg>>, global parse_list = <function parse_list>, s = 'End of June, 2017'
 /afs/csail.mit.edu/u/e/edemaine/big4/public_html/confu/DateParse.py in parse(DateRangeWithArg=<class DateParse.DateRangeWithArg>, s='End of June, 2017')
    153   @classmethod
    154   def parse (DateRangeWithArg, s):
=>  155     self, unmatched = DateRange.parse (s, complete = False)
    156     if unmatched == '':
    157       self.arg = ''
self undefined, unmatched undefined, global DateRange = <class DateParse.DateRange>, DateRange.parse = <bound method classobj.parse of <class DateParse.DateRange>>, s = 'End of June, 2017', complete undefined, builtin False = False
 /afs/csail.mit.edu/u/e/edemaine/big4/public_html/confu/DateParse.py in parse(DateRange=<class DateParse.DateRange>, date='End of June, 2017', complete=False)
     77     match = daterange_rec.match (date)
     78     if match is None:
=>   79       raise ParseError ("Confusing date %r" % date)
     80     unmatched = date[match.end():].strip ()
     81     if complete and unmatched != "":
global ParseError = <class 'DateParse.ParseError'>, date = 'End of June, 2017'

<class 'DateParse.ParseError'>: Confusing date 'End of June, 2017'
      args = ("Confusing date 'End of June, 2017'",)
      message = "Confusing date 'End of June, 2017'"