ANN: WHIFF += Mako & treeview & url rewrites

alex23 wuwei23 at gmail.com
Tue Oct 27 08:02:25 EDT 2009


Aaron Watters <aaron.watt... at gmail.com> wrote:
> I just tried it.  How do you get a traceback?  For me none of the
> javascript links work: they just do nothing.

I'm getting the same as Paul in Firefox 3.5.3 with javascript
disabled:

<class 'whiff.resolver.ModuleRootResolutionException'>	Python 2.5: /
usr/local/apache2/bin/httpd
Tue Oct 27 07:56:50 2009

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
 /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/whiff/middleware/displayTraceback.py in __call__
(self=<whiff.middleware.displayTraceback.displayTraceback instance at
0x2435698>, env={'DOCUMENT_ROOT': '/usr/local/apache2/htdocs',
'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/
xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET':
'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING':
'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
'HTTP_CONNECTION': 'keep-alive', 'HTTP_HOST':
'aaron.oirt.rutgers.edu', 'HTTP_KEEP_ALIVE': '300', 'HTTP_REFERER':
'http://aaron.oirt.rutgers.edu/myapp/GenBankTree/index', ...},
start_response=<whiff.middleware.displayTraceback.callOnce instance at
0x2435918>)
   44         #pr "displayTraceback called for", page
   45         try:
   46             pageContentSequence = page(env, start_response)
   47             pageContentList = list(pageContentSequence)
   48             return pageContentList
...

If you need a full traceback, let me know.



More information about the Python-list mailing list