Castalian
FAQ
Which version of Python do I need?
Castalian requires Python 2.0 or later.
Why are includes so slow?
This has been fixed in the latest version; SSIs are now a lot faster.
Why are there no sessions? I really like sessions...
Essentially, there are no sessions because then castalian.cgi would need some kind of server-based storage, whether a database or flatfiles or something similar. Alternatively, Castalian could be run under mod_python. However, both of these methods would require some setup on the part of the user; at the moment, installation is as easy as dropping the CGI into a directory and tweaking the conf files a little. I'd like to keep it that way; it's a simple fire-and-forget solution. And it doesn't require MySQL, which seems to be pretty much de rigeur for open-source web projects.
Why is there no decent error checking? ASP shows me the line number in the file where an error occurred; Castalian just wibbles something about an error at line 7 in <string> or something...
Yep. This is because I can't find a way of knowing at which line an error occurred without parsing the traceback output, which I'd rather not do. I'm open to suggestions on this point.
What's wrong with the Cookie module? I keep getting an error like:
AttributeError: 'Cookie' module has no attribute
'SmartCookie'!
Python is now bundled with the Cookie module, and Castalian uses it, rather than its own Cookie module. This does mean that Castalian requires Python 2.0 or later.