-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hello!
unfortunately I'm forced to use python2.7 and seems be there is a change in the syntax on how dictionaries are called.
I'm not quite sure on how to modify the sources, could you please show me an example ?
FastCGI-stderr:` Traceback (most recent call last):
FastCGI-stderr: File "/home/chan/pyib/fcgi.py", line 580, in run
FastCGI-stderr: protocolStatus, appStatus = self.server.handler(self)
FastCGI-stderr: File "/home/chan/pyib/fcgi.py", line 1266, in handler
FastCGI-stderr: result = self.application(environ, start_response)
FastCGI-stderr: File "/home/chan/pyib/pyib.py", line 47, in __init__
FastCGI-stderr: self.error(message)
FastCGI-stderr: File "/home/chan/pyib/pyib.py", line 61, in error
FastCGI-stderr: self.output += renderTemplate("error.html", {"error": message, "navbar": False})
FastCGI-stderr: File "/home/chan/pyib/template.py", line 58, in renderTemplate
FastCGI-stderr: return engine.render("templates/" + template, values)
FastCGI-stderr: File "/home/chan/pyib/tenjin.py", line 1062, in render
FastCGI-stderr: content = template.render(context, globals)
FastCGI-stderr: File "/home/chan/pyib/tenjin.py", line 759, in render
FastCGI-stderr: exec self.bytecode in globals, locals
FastCGI-stderr: File "templates/error.html", line 1, in <module>
FastCGI-stderr: <?py include('templates/base_top.html') ?>
FastCGI-stderr: File "/home/chan/pyib/tenjin.py", line 1035, in include
FastCGI-stderr: return template.render(context, globals, _buf=_buf)
FastCGI-stderr: File "/home/chan/pyib/tenjin.py", line 759, in render
FastCGI-stderr: exec self.bytecode in globals, locals
FastCGI-stderr: File "templates/base_top.html", line 9, in <module>
FastCGI-stderr: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
FastCGI-stderr: TypeError: 'dict' object is not callable
Metadata
Metadata
Assignees
Labels
No labels