--> -->
 
 
<class 'xml.etree.ElementTree.ParseError'>
Python 2.7.14: /usr/bin/python
Sun Nov 19 15:53:29 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.

 /home/ggreen/public_html/cgi-bin/dyn.cgi in ()
    261 
    262 output_headers()
=>  263 parse_url()
    264 
    265 #import sys
parse_url = <function parse_url>
 /home/ggreen/public_html/cgi-bin/dyn.cgi in parse_url()
    256         match = re.match(r"[0-9]+", pg)
    257         if match:
=>  258             output_entry(match.group(0))
    259         else:
    260             print "<p>page:", pg
global output_entry = <function output_entry>, match = <_sre.SRE_Match object>, match.group = <built-in method group of _sre.SRE_Match object>
 /home/ggreen/public_html/cgi-bin/dyn.cgi in output_entry(page='166')
    211 
    212     main_heading, hours, date, pixlist, prv, nxt = \
=>  213                   read_entry_xml(k_xml_dir + '/%s.xml' % page)
    214     data = re.sub(k_mainheading_re, "%s<br>%s" % (date, main_heading), data)
    215     data = re.sub(k_hours_re, str(hours), data)
global read_entry_xml = <function read_entry_xml>, global k_xml_dir = '/home/ggreen/public_html/WebSite/rv9_data', page = '166'
 /home/ggreen/public_html/cgi-bin/dyn.cgi in read_entry_xml(fname='/home/ggreen/public_html/WebSite/rv9_data/166.xml')
    100 
    101 def read_entry_xml(fname):
=>  102     entry = rv9data.read_entry_xml(fname)
    103     mainheading = entry.title
    104     hours = entry.hours
entry undefined, global rv9data = <module 'rv9data' from '/home/ggreen/public_html/cgi-bin/rv9data.pyc'>, rv9data.read_entry_xml = <function read_entry_xml>, fname = '/home/ggreen/public_html/WebSite/rv9_data/166.xml'
 /home/ggreen/public_html/cgi-bin/rv9data.py in read_entry_xml(entry_path='/home/ggreen/public_html/WebSite/rv9_data/166.xml')
    100 
    101 def read_entry_xml(entry_path):
=>  102     tree = parse(entry_path)
    103     return Entry(tree.getroot())
    104 
tree undefined, global parse = <function parse>, entry_path = '/home/ggreen/public_html/WebSite/rv9_data/166.xml'
 /usr/lib/python2.7/xml/etree/ElementTree.py in parse(source='/home/ggreen/public_html/WebSite/rv9_data/166.xml', parser=None)
   1180 def parse(source, parser=None):
   1181     tree = ElementTree()
=> 1182     tree.parse(source, parser)
   1183     return tree
   1184 
tree = <xml.etree.ElementTree.ElementTree object>, tree.parse = <bound method ElementTree.parse of <xml.etree.ElementTree.ElementTree object>>, source = '/home/ggreen/public_html/WebSite/rv9_data/166.xml', parser = None
 /usr/lib/python2.7/xml/etree/ElementTree.py in parse(self=<xml.etree.ElementTree.ElementTree object>, source=<closed file '/home/ggreen/public_html/WebSite/rv9_data/166.xml', mode 'rb'>, parser=<xml.etree.ElementTree.XMLParser object>)
    655                     break
    656                 parser.feed(data)
=>  657             self._root = parser.close()
    658             return self._root
    659         finally:
self = <xml.etree.ElementTree.ElementTree object>, self._root = None, parser = <xml.etree.ElementTree.XMLParser object>, parser.close = <bound method XMLParser.close of <xml.etree.ElementTree.XMLParser object>>
 /usr/lib/python2.7/xml/etree/ElementTree.py in close(self=<xml.etree.ElementTree.XMLParser object>)
   1669             self._parser.Parse("", 1) # end of data
   1670         except self._error, v:
=> 1671             self._raiseerror(v)
   1672         tree = self.target.close()
   1673         del self.target, self._parser # get rid of circular references
self = <xml.etree.ElementTree.XMLParser object>, self._raiseerror = <bound method XMLParser._raiseerror of <xml.etree.ElementTree.XMLParser object>>, v = ExpatError('no element found: line 1, column 0',)
 /usr/lib/python2.7/xml/etree/ElementTree.py in _raiseerror(self=<xml.etree.ElementTree.XMLParser object>, value=ExpatError('no element found: line 1, column 0',))
   1521         err.code = value.code
   1522         err.position = value.lineno, value.offset
=> 1523         raise err
   1524 
   1525     def _fixtext(self, text):
err = ParseError(ExpatError('no element found: line 1, column 0',),)

<class 'xml.etree.ElementTree.ParseError'>: no element found: line 1, column 0
      args = (ExpatError('no element found: line 1, column 0',),)
      code = 3
      filename = None
      lineno = None
      message = ExpatError('no element found: line 1, column 0',)
      msg = ExpatError('no element found: line 1, column 0',)
      offset = None
      position = (1, 0)
      print_file_and_line = None
      text = None