Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: John Miller <jmillr@um...> - 2002-11-10 21:21:50
Thanks, Rimon, for this update. The upgrade went smoothly, and I
immediately tried out the examples you supply with the distribution.
I'm not sure if this is a bug or not, but the template example using
Cheetah no longer works. As I mentioned in a previous message, it was
working with 1.2.4, and I've made no changes whatsoever except for
installing 1.2.5. Now when I run the template example, I get this:
Message: AttributeError: 'module' object has no attribute
Stack: template.spy:14, in (main):
modules/template.py:25, in cheetah:
I don't think this is user error on my part, but it could well be...
Any ideas on what might be wrong here?
School of Education
University of Michigan
>Thanks, Rimon, for this update. The upgrade went smoothly, and I
>immediately tried out the examples you supply with the distribution.
>I'm not sure if this is a bug or not, but the template example using
>Cheetah no longer works. As I mentioned in a previous message, it was
>working with 1.2.4, and I've made no changes whatsoever except for
>installing 1.2.5. Now when I run the template example, I get this:
It was a bug, and thank you for reporting it along with the error output.
It was simple to fix: I had moved the cache-related code around, along
with many other internal changes from 1.2.4 to 1.2.5. I just forgot to
test (and update) the template module. It is fixed now, along with a few
other small fixes, and the long-requested single-page documentation
format. In general, there are MANY dependencies across the different parts
of Spyce, and over time I would like to tease these apart, because they
can cause difficulty, especially in an interpretted, completely open
environment that Python provides. I am already working on a spyce "API"
for module writers. In the future, I intend to enforce this API and not
allow other calls to the engine, and also move towards restricted modes of
execution (i.e. sandbox) using rexec to allow multi-user operation, and
selective use of libraries in hosted environments. In any case, the latest
release notice is below.
Spyce v1.2.6 released on 10 Nov 2002
Get it at:
single and multi-page documentation
- NoCloseOut.flush() added
- BufferedOutput.flush() flushes sub-stream
- template module pointed at new location of cache code