Google Groups Home
Help | Sign in
Sudden CherryTemplate failure (Python 2.5.1 from Fedora 8 distro)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Gloria W  
View profile
 More options Jul 8, 1:17 pm
From: Gloria W <strang...@comcast.net>
Date: Tue, 8 Jul 2008 10:17:49 -0700 (PDT)
Local: Tues, Jul 8 2008 1:17 pm
Subject: Sudden CherryTemplate failure (Python 2.5.1 from Fedora 8 distro)
Hi all,
I have an odd problem with CherryTemplate:

-> return cherrytemplate.renderTemplate(file = template_file)
(Pdb) c
[08/Jul/2008:13:13:00] HTTP Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/CherryPy-3.1.0rc1-py2.5.egg/
cherrypy/_cprequest.py", line 606, in respond
    cherrypy.response.body = self.handler()
  File "/usr/lib/python2.5/site-packages/CherryPy-3.1.0rc1-py2.5.egg/
cherrypy/_cpdispatch.py", line 24, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/gloriajw/fuop_edits3/f_fuop/code/FU_OP.py", line 75, in
food_requests
    return cherrytemplate.renderTemplate(file = template_file)
TypeError: renderTemplate() takes at least 2 non-keyword arguments (0
given)

This is a new, odd error. CherryTemplate worked previously on this
distro. What is causing this?
Thank you,
Gloria


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robert Brewer  
View profile
 More options Jul 9, 2:03 pm
From: "Robert Brewer" <fuman...@aminus.org>
Date: Wed, 9 Jul 2008 11:03:35 -0700
Local: Wed, Jul 9 2008 2:03 pm
Subject: RE: [cherrypy-users] Sudden CherryTemplate failure (Python 2.5.1 from Fedora 8 distro)

I guess you can see by the dearth of answers how well-supported
cherrytemplate is. :/

Robert Brewer
fuman...@aminus.org


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gloria W  
View profile
 More options Jul 9, 2:07 pm
From: Gloria W <strang...@comcast.net>
Date: Wed, 9 Jul 2008 11:07:07 -0700 (PDT)
Local: Wed, Jul 9 2008 2:07 pm
Subject: Re: Sudden CherryTemplate failure (Python 2.5.1 from Fedora 8 distro)
Is it officially dead? I am writing an article, and decided to pull
all references to CherryTemplate from my sample code, because of the
dearth of answers I had received :)

But please tell me what would cause it to fail this way? The first two
parameters of the renderTemplate() method are locals and globals. What
is breaking these parameters?

Thanks again,
Gloria


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robert Brewer  
View profile
 More options Jul 9, 3:12 pm
From: "Robert Brewer" <fuman...@aminus.org>
Date: Wed, 9 Jul 2008 12:12:52 -0700
Local: Wed, Jul 9 2008 3:12 pm
Subject: RE: [cherrypy-users] Re: Sudden CherryTemplate failure (Python 2.5.1 from Fedora 8 distro)

Gloria W wrote:
> Is it officially dead? I am writing an article, and decided to pull
> all references to CherryTemplate from my sample code, because of the
> dearth of answers I had received :)

As far as I can tell, it's dead. Remi would have the final say, but I
think that's a safe bet.

> But please tell me what would cause it to fail this way? The first two
> parameters of the renderTemplate() method are locals and globals. What
> is breaking these parameters?

I can't even begin to answer that since I've never used cherrytemplate.
The file at
http://cherrytemplate.python-hosting.com/file/trunk/cherrytemplate.py
doesn't seem to ever have had locals and globals as args to
renderTemplate, so I'm at a loss.

Robert Brewer
fuman...@aminus.org


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google