Installation and testing problems with cheetah 2.4.3

<[email protected]> Thu, 28 Oct 2010 16:17:03 +1100
Newsgroups gmane.comp.python.cheetah
Message-ID <93B651F999304D41AF520188488E101F1521291674@exvic-mbx03.nexus.csiro.au>
--===============4835939437670840937==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_93B651F999304D41AF520188488E101F1521291674exvicmbx03nex_"

--_000_93B651F999304D41AF520188488E101F1521291674exvicmbx03nex_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi there list,

I'm a total newbie to cheetah and relatively new to python. I have an issue=
 with the testing module in cheetah 2.4.3 after installation as I get
42 failures  in the testing scripts. The first sign of a problem is :
 "
>>> Exception raised importing the "markdown" module
>>> Are you sure you have the ElementTree module installed?
          http://effbot.org/downloads/#elementtree
>>> We probably failed to import markdown, bummer cannot import name COMMAN=
D_LINE_LOGGING_LEVEL"

This results in each of the script tests being unable to import modules (sp=
ecifically pkg_resources in the failure printout).

The only change I made to the instructed installation using "setup.py insta=
ll" was  I installed markdown 2.0.3 in "site packages" manually beforehand =
.
This was because the first time I ran setup.py, when checking for "markdown=
" dependencies, the setup failed. After manual installation,
 the setup ran ok identifying markdown 2.0.3 was installed.

I also installed elementtree in site packages after the test.

How can I enable markdown to be imported correctly into cheetah?
(Full test printout attached)

Windows XP
Cheetah 2.4.3
Python 2.6

Any help is greatly appreciated,
Daniel Smith


--_000_93B651F999304D41AF520188488E101F1521291674exvicmbx03nex_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:d=
sss=3D"http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi=3D=
"http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi=3D"http://sch=
emas.openxmlformats.org/package/2006/digital-signature" xmlns:mver=3D"http:=
//schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m=3D"http://s=
chemas.microsoft.com/office/2004/12/omml" xmlns:mrels=3D"http://schemas.ope=
nxmlformats.org/package/2006/relationships" xmlns:spwp=3D"http://microsoft.=
com/sharepoint/webpartpages" xmlns:ex12t=3D"http://schemas.microsoft.com/ex=
change/services/2006/types" xmlns:ex12m=3D"http://schemas.microsoft.com/exc=
hange/services/2006/messages" xmlns:pptsl=3D"http://schemas.microsoft.com/s=
harepoint/soap/SlideLibrary/" xmlns:spsl=3D"http://microsoft.com/webservice=
s/SharePointPortalServer/PublishedLinksService" xmlns:Z=3D"urn:schemas-micr=
osoft-com:" xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-AU link=3Dblue vlink=3Dpurple>

<div class=3DWordSection1>

<p class=3DMsoNormal>Hi there list,<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>I&#8217;m a total newbie to cheetah and relatively new=
 to
python. I have an issue with the testing module in cheetah 2.4.3 after
installation as I get <o:p></o:p></p>

<p class=3DMsoNormal>42 failures &nbsp;in the testing scripts. The first si=
gn of
a problem is :<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&#8220;<o:p></o:p></p>

<p class=3DMsoNormal>&gt;&gt;&gt; Exception raised importing the
&quot;markdown&quot; module<o:p></o:p></p>

<p class=3DMsoNormal>&gt;&gt;&gt; Are you sure you have the ElementTree mod=
ule
installed?<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 <a
href=3D"http://effbot.org/downloads/#elementtree">http://effbot.org/downloa=
ds/#elementtree</a><o:p></o:p></p>

<p class=3DMsoNormal>&gt;&gt;&gt; We probably failed to import markdown, bu=
mmer
cannot import name COMMAND_LINE_LOGGING_LEVEL&#8221;<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>This results in each of the script tests being unable =
to
import modules (specifically pkg_resources in the failure printout).<o:p></=
o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>The only change I made to the instructed installation =
using
&#8220;setup.py install&#8221; was &nbsp;I installed markdown 2.0.3 in
&#8220;site packages&#8221; manually beforehand . <o:p></o:p></p>

<p class=3DMsoNormal>This was because the first time I ran setup.py, when
checking for &#8220;markdown&#8221; dependencies, the setup failed. After
manual installation,<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;the setup ran ok identifying markdown 2.0.3 was
installed. &nbsp;<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>I also installed elementtree in site packages after th=
e
test.<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>How can I enable markdown to be imported correctly int=
o
cheetah? <o:p></o:p></p>

<p class=3DMsoNormal>(Full test printout attached) <o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Windows XP<o:p></o:p></p>

<p class=3DMsoNormal>Cheetah 2.4.3<o:p></o:p></p>

<p class=3DMsoNormal>Python 2.6<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Any help is greatly appreciated,<o:p></o:p></p>

<p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;margin-bottom:12.0pt'=
><b><span
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#0099CC'>D=
aniel
Smith</span></b><o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>

--_000_93B651F999304D41AF520188488E101F1521291674exvicmbx03nex_--


--===============4835939437670840937==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
--===============4835939437670840937==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Cheetahtemplate-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss

--===============4835939437670840937==--