So, other than the traceback below and the error I get when clicking on
a minion that is not running, things look pretty good. I think I'm
interested in seeing what the async results would look like, as well as
getting the output formatting printed in a way that would make
non-Python developers have an easier time reading it, but looks good.
Comments? Thoughts?
Everyone else on this list, I would definitely appreciate your feedback
also as this is a tool intended for you too :)
Thanks!
--Michael
Here is the traceback I got when clicking on async_results, probably
because I didn't have any async tasks (as I didn't know how to launch
one in the GUI):
Page handler: <bound method Funcweb.display_async_results of
<funcweb.controllers.Funcweb object at 0x9d8324c>> Traceback (most recent
call last):
File
"/usr/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg/cherrypy/_cphttp
tools.py", line 121, in _run self.main()
File
"/usr/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg/cherrypy/_cphttp
tools.py", line 264, in main body = page_handler(*virtual_path,
**self.params)
File "<string>", line 3, in display_async_results
File "/usr/lib/python2.5/site-packages/turbogears/controllers.py", line
365, in expose *args, **kw)
File "<string>", line 5, in run_with_transaction
File "/usr/lib/python2.5/site-packages/turbogears/database.py", line 356,
in so_rwt retval = func(*args, **kw)
File "<string>", line 5, in _expose
File "/usr/lib/python2.5/site-packages/turbogears/controllers.py", line
380, in <lambda> mapping, fragment, args, kw)))
File "/usr/lib/python2.5/site-packages/turbogears/controllers.py", line
421, in _execute_func return _process_output(output, template, format,
content_type, mapping, fragment) File
"/usr/lib/python2.5/site-packages/turbogears/controllers.py", line 87, in
_process_output fragment=fragment)
File "/usr/lib/python2.5/site-packages/turbogears/view/base.py", line
129, in render return engine.render(**kw)
File "/usr/lib/python2.5/site-packages/genshi/template/plugin.py", line
104, in render return self.transform(info, template).render(**kwargs)
File "/usr/lib/python2.5/site-packages/genshi/core.py", line 154, in
render return encode(generator, method=method, encoding=encoding)
File "/usr/lib/python2.5/site-packages/genshi/output.py", line 45, in
encode output = u''.join(list(iterator))
File "/usr/lib/python2.5/site-packages/genshi/output.py", line 369, in
__call__ for kind, data, pos in stream:
File "/usr/lib/python2.5/site-packages/genshi/output.py", line 618, in
__call__ for kind, data, pos in stream:
File "/usr/lib/python2.5/site-packages/genshi/output.py", line 679, in
__call__ for kind, data, pos in chain(stream, [(None, None, None)]):
File "/usr/lib/python2.5/site-packages/genshi/output.py", line 459, in
__call__ for ev in stream:
File "/usr/lib/python2.5/site-packages/genshi/core.py", line 212, in
_ensure for event in stream:
File "/usr/lib/python2.5/site-packages/genshi/template/markup.py", line
252, in _include for event in stream:
File "/usr/lib/python2.5/site-packages/genshi/template/markup.py", line
322, in _match content = list(self._include(content, ctxt))
File "/usr/lib/python2.5/site-packages/genshi/template/markup.py", line
252, in _include for event in stream:
File "/usr/lib/python2.5/site-packages/genshi/template/markup.py", line
297, in _match for event in stream:
File "/usr/lib/python2.5/site-packages/genshi/template/markup.py", line
286, in _strip event = stream.next()
File "/usr/lib/python2.5/site-packages/genshi/template/markup.py", line
242, in _exec for event in stream:
File "/usr/lib/python2.5/site-packages/genshi/template/base.py", line
421, in _eval result = data.evaluate(ctxt)
File "/usr/lib/python2.5/site-packages/genshi/template/eval.py", line
136, in evaluate return eval(self.code, _globals, {'data': data})
File "/home/mdehaan/cg/func/funcweb/funcweb/templates/async_table.html",
line 26, in <Expression u'job_pack[4]'> <td class="tableboxes"><p
class="intabletext">${job_pack[4]}</p></td> File
"/usr/lib/python2.5/site-packages/genshi/template/eval.py", line 281, in
lookup_item return obj[key]
IndexError: list index out of range