--> --> -->
 
 
<type 'exceptions.Exception'>
Python 2.6.5: /usr/bin/python
Thu May 17 06:26:00 2012

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>
 /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>, xsltfn = 'atomToRSS.xsl', xmlfn = '/tmp/tmp6jx7DE.atom'
 /var/www/inamidst.com/notes/feed.cgi in getXSLT(xsltfn='atomToRSS.xsl', xmlfn='/tmp/tmp6jx7DE.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>, xsltfn = 'atomToRSS.xsl', xmlfn = '/tmp/tmp6jx7DE.atom', outfn = '/tmp/notes-feedtY3JlF.rss'
 /var/www/inamidst.com/notes/feed.cgi in xslt(xsltfn='atomToRSS.xsl', xmlfn='/tmp/tmp6jx7DE.atom', outfn='/tmp/notes-feedtY3JlF.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>, args = ['--novalid', '-o', '/tmp/notes-feedtY3JlF.rss', 'atomToRSS.xsl', '/tmp/tmp6jx7DE.atom']
 /var/www/inamidst.com/notes/feed.cgi in command(args=['--novalid', '-o', '/tmp/notes-feedtY3JlF.rss', 'atomToRSS.xsl', '/tmp/tmp6jx7DE.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-feedtY3JlF.rss', 'atomToRSS.xsl', '/tmp/tmp6jx7DE.atom'], builtin abs = <built-in function abs>, status = 127

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