| <type 'exceptions.KeyError'> | Python 2.5.2: /usr/bin/python Wed May 22 22:35:08 2013 |
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/luxrender/hg/hgwebdir.cgi in |
| 65 # Alternatively you can pass a list of ('virtual/path', '/real/path') tuples |
| 66 # or use a dictionary with entries like 'virtual/path': '/real/path' |
| 67 |
| 68 application = hgwebdir('hgweb.config') |
| 69 wsgicgi.launch(application) |
| wsgicgi = <proxied module 'wsgicgi'>, wsgicgi.launch = <function launch at 0x714a043350c8>, application = <mercurial.hgweb.hgwebdir_mod.hgwebdir object at 0x714a0445ea10> |
| /home/luxrender/lib/python/mercurial/hgweb/wsgicgi.py in launch(application=<mercurial.hgweb.hgwebdir_mod.hgwebdir object at 0x714a0445ea10>) |
| 69 return write |
| 70 |
| 71 content = application(environ, start_response) |
| 72 try: |
| 73 for chunk in content: |
| content undefined, application = <mercurial.hgweb.hgwebdir_mod.hgwebdir object at 0x714a0445ea10>, environ = {'DOCUMENT_ROOT': '/home/luxrender/src.luxrender.net', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HGENCODING': 'UTF-8', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en-gb,en;q=0.7,*;q=0.3', 'HTTP_HOST': 'src.luxrender.net', 'HTTP_USER_AGENT': 'CCBot/2.0', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': '/lux/archive/', ...}, start_response = <function start_response at 0x714a043352a8> |
| /home/luxrender/lib/python/mercurial/hgweb/hgwebdir_mod.py in __call__(self=<mercurial.hgweb.hgwebdir_mod.hgwebdir object at 0x714a0445ea10>, env={'DOCUMENT_ROOT': '/home/luxrender/src.luxrender.net', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HGENCODING': 'UTF-8', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en-gb,en;q=0.7,*;q=0.3', 'HTTP_HOST': 'src.luxrender.net', 'HTTP_USER_AGENT': 'CCBot/2.0', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': '/lux/archive/', ...}, respond=<function start_response at 0x714a043352a8>) |
| 102 def __call__(self, env, respond): |
| 103 req = wsgirequest(env, respond) |
| 104 return self.run_wsgi(req) |
| 105 |
| 106 def read_allowed(self, ui, req): |
| self = <mercurial.hgweb.hgwebdir_mod.hgwebdir object at 0x714a0445ea10>, self.run_wsgi = <bound method hgwebdir.run_wsgi of <mercurial.hgweb.hgwebdir_mod.hgwebdir object at 0x714a0445ea10>>, req = <mercurial.hgweb.request.wsgirequest object at 0x714a043a8b10> |
| /home/luxrender/lib/python/mercurial/hgweb/hgwebdir_mod.py in run_wsgi(self=<mercurial.hgweb.hgwebdir_mod.hgwebdir object at 0x714a0445ea10>, req=<mercurial.hgweb.request.wsgirequest object at 0x714a043a8b10>) |
| 159 try: |
| 160 repo = hg.repository(self.ui, real) |
| 161 return hgweb(repo).run_wsgi(req) |
| 162 except IOError, inst: |
| 163 msg = inst.strerror |
| global hgweb = <class 'mercurial.hgweb.hgweb_mod.hgweb'>, repo = <hgext.mq.mqrepo object at 0x714a0435efd0>, ).run_wsgi undefined, req = <mercurial.hgweb.request.wsgirequest object at 0x714a043a8b10> |
| /home/luxrender/lib/python/mercurial/hgweb/hgweb_mod.py in run_wsgi(self=<mercurial.hgweb.hgweb_mod.hgweb object at 0x714a042ee1d0>, req=<mercurial.hgweb.request.wsgirequest object at 0x714a043a8b10>) |
| 159 |
| 160 if cmd == 'archive': |
| 161 fn = req.form['node'][0] |
| 162 for type_, spec in self.archive_specs.iteritems(): |
| 163 ext = spec[2] |
| fn undefined, req = <mercurial.hgweb.request.wsgirequest object at 0x714a043a8b10>, req.form = {'cmd': ['archive']} |
<type 'exceptions.KeyError'>: 'node'
args =
('node',)
message =
'node'