--> --> -->
 
 
<type 'exceptions.Exception'>
Python 2.6.2: /usr/bin/python
Wed Mar 17 06:05:19 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.

 /var/www/inamidst.com/notes/feed.cgi in ()
   65    os.unlink(xmlfn)
   66    serve(200, result, mime='text/xml')
   67 
   68 if __name__=="__main__": 
   69    main()
main = <function main at 0xb7acff44>
 /var/www/inamidst.com/notes/feed.cgi in main()
   62    xsltfn = 'atomToRSS.xsl'
   63    xmlfn, info = urllib.urlretrieve('http://inamidst.com/notes/index.atom')
   64    result = getXSLT(xsltfn, xmlfn)
   65    os.unlink(xmlfn)
   66    serve(200, result, mime='text/xml')
result undefined, global getXSLT = <function getXSLT at 0xb7aca17c>, xsltfn = 'atomToRSS.xsl', xmlfn = '/tmp/tmpfKZ08L.atom'
 /var/www/inamidst.com/notes/feed.cgi in getXSLT(xsltfn='atomToRSS.xsl', xmlfn='/tmp/tmpfKZ08L.atom')
   52 def getXSLT(xsltfn, xmlfn): 
   53    outfn = mktemp(pfx='notes-feed', sfx='.rss')
   54    xslt(xsltfn, xmlfn, outfn)
   55    f = open(outfn, 'r')
   56    s = f.read()
global xslt = <function xslt at 0xb7aca1b4>, xsltfn = 'atomToRSS.xsl', xmlfn = '/tmp/tmpfKZ08L.atom', outfn = '/tmp/notes-feed76nhlU.rss'
 /var/www/inamidst.com/notes/feed.cgi in xslt(xsltfn='atomToRSS.xsl', xmlfn='/tmp/tmpfKZ08L.atom', outfn='/tmp/notes-feed76nhlU.rss')
   48 def xslt(xsltfn, xmlfn, outfn): 
   49    args = ['--novalid', '-o', outfn, xsltfn, xmlfn]
   50    xsltproc(args)
   51 
   52 def getXSLT(xsltfn, xmlfn): 
global xsltproc = <function command at 0xb7ca248c>, args = ['--novalid', '-o', '/tmp/notes-feed76nhlU.rss', 'atomToRSS.xsl', '/tmp/tmpfKZ08L.atom']
 /var/www/inamidst.com/notes/feed.cgi in command(args=['--novalid', '-o', '/tmp/notes-feed76nhlU.rss', 'atomToRSS.xsl', '/tmp/tmpfKZ08L.atom'])
   40       if status != 0: 
   41          msg = "%s %s returned %s status"
   42          raise Exception, msg % (script, args, abs(status))
   43       return
   44    return command
builtin Exception = <type 'exceptions.Exception'>, msg = '%s %s returned %s status', script = '/usr/bin/xsltproc', args = ['--novalid', '-o', '/tmp/notes-feed76nhlU.rss', 'atomToRSS.xsl', '/tmp/tmpfKZ08L.atom'], builtin abs = <built-in function abs>, status = 127

<type 'exceptions.Exception'>: /usr/bin/xsltproc ['--novalid', '-o', '/tmp/notes-feed76nhlU.rss', 'atomToRSS.xsl', '/tmp/tmpfKZ08L.atom'] returned 127 status
      args = ("/usr/bin/xsltproc ['--novalid', '-o', '/tmp/note....xsl', '/tmp/tmpfKZ08L.atom'] returned 127 status",)
      message = "/usr/bin/xsltproc ['--novalid', '-o', '/tmp/note....xsl', '/tmp/tmpfKZ08L.atom'] returned 127 status"