[IronPython] Cheetah works on IronPython

Thane Plummer thane at magna-capital.com
Mon Sep 18 21:56:50 CEST 2006


The md5 is a known issue; I know Seo has code, but I seem to recall a post
saying that it didn't work (http://sparcs.kaist.ac.kr/~tinuviel/fepy/lib ).


Kevin Chu posted an md5 module to this list - you might give try using that
before spending too much time investigating your sys.path.

--Thane

-----Original Message-----
From: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] On Behalf Of Russell
Sent: Saturday, September 16, 2006 12:19 PM
To: users at lists.ironpython.com
Subject: Re: [IronPython] Cheetah works on IronPython

Sanghyeon Seo wrote:
> Cheetah is a template engine written in Python:
http://cheetahtemplate.org/
>
> IronPython is an implementation of the Python programming language
> running on .NET: http://www.codeplex.com/IronPython
>
> I tested Cheetah 2.0rc7 with IronPython 1.0 for a while, and it seems
> to work nicely. Here is a sample code I used to test. It should print
> environment variables.
>

I'm new to IronPython, so I'm probably missing something terribly
obvious!  My problem is that I'm unable to get Cheetah even close to
working - which is unfortunate since I do use Cheetah.

I've gone through the IronPython tutorial and written some C# to work
between the two worlds.  Things (mostly) work.  I can import and use
the fundimentals like StringIO, sys, os, os.path, logging, re....  but
some things just won't import.  In particular, importing urllib2 or
Cheetah will fail because md5 can't be found.  I suspect I'm not
setting my sys.path correctly, but it looks like it should work.

I'm using IronPython 1.0.60816 on .NET 2.0.50727.42 with Python 2.4.1.

Any ideas?

Thanks,
Russell.

_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com




More information about the Ironpython-users mailing list