On 3/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I posted about two issues in the general Python forum; however, it is quite > likely that the problem is paste related. > Here are the two links so you can read the details. The second one is a > showstopper for me, as I can't proceed with using pylons till it's resolved. > http://python-forum.org/py/viewtopic.php?t=3274 > http://python-forum.org/py/viewtopic.php?t=3276 > > Anyways, background info. > > I used the self installer of Python 2.5 > Then I installed Pylons. > Then I setup the PATH to the script folder per Pylons instructions. > > So..., it appears that I am having issues with Paster working right. Any > suggestions?
For the second problem, move the __future__ line in NameMapper.py line 146 to just below the docstring (line 141). Python 2.4 allows __future__ after assignments but Python 2.5 does not (I just tried it on both), so maybe you're the first person to use Cheetah 1.0 with Python 2.5. It's already fixed in Cheetah 2.0rc7. But don't use Cheetah 2.0rc7 with "paster make-config" because it has another problem with Pylons' templates. I discovered the cause a couple days ago and Tavis (Cheetah's maintainer) is fixing it, so there should be a Cheetah 2.0rc8 soon that works with "paster make-config" on Pylons. (The problem is several "#cache_" lines in Pylons' templates, which Cheetah 2.0rc7 misparses as #cache directives.) -- Mike Orr <[EMAIL PROTECTED]> _______________________________________________ Paste-users mailing list [email protected] http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users
