| IOError | Python 2.4.4: /usr/bin/python Tue Feb 9 23:34:05 2010 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /opt/grit/themap3/www/cgi-bin/showPDF.py |
| 40 mapext = map(float, mapext) |
| 41 |
| 42 doc = parse(tempDirectory+"map_"+query_id+"_report.xml") |
| 43 |
| 44 TitleLeft = 100 |
| doc undefined, parse = <function parse>, tempDirectory = '/opt/grit/themap3/tmp/', query_id = '123376812113790' |
| /usr/local/lib/python2.4/xml/dom/minidom.py in parse(file='/opt/grit/themap3/tmp/map_123376812113790_report.xml', parser=None, bufsize=None) |
| 1913 if parser is None and not bufsize: |
| 1914 from xml.dom import expatbuilder |
| 1915 return expatbuilder.parse(file) |
| 1916 else: |
| 1917 from xml.dom import pulldom |
| expatbuilder = <module 'xml.dom.expatbuilder' from '/usr/local/lib/python2.4/xml/dom/expatbuilder.py'>, expatbuilder.parse = <function parse>, file = '/opt/grit/themap3/tmp/map_123376812113790_report.xml' |
| /usr/local/lib/python2.4/xml/dom/expatbuilder.py in parse(file='/opt/grit/themap3/tmp/map_123376812113790_report.xml', namespaces=1) |
| 920 |
| 921 if isinstance(file, StringTypes): |
| 922 fp = open(file, 'rb') |
| 923 try: |
| 924 result = builder.parseFile(fp) |
| fp undefined, builtin open = <type 'file'>, file = '/opt/grit/themap3/tmp/map_123376812113790_report.xml' |
IOError: [Errno 2] No such file or directory: '/opt/grit/themap3/tmp/map_123376812113790_report.xml'
args =
(2, 'No such file or directory')
errno =
2
filename =
'/opt/grit/themap3/tmp/map_123376812113790_report.xml'
strerror =
'No such file or directory'