tag:blogger.com,1999:blog-9266717.post114629087051313658..comments2023-05-22T10:01:23.167-03:00Comments on Only Python: CherryPy is great!André Robergehttp://www.blogger.com/profile/08131391818998844540noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-9266717.post-89114525289645969182009-01-07T03:53:00.000-04:002009-01-07T03:53:00.000-04:00sukadeb:Try with this:root = YourClassName()if __n...sukadeb:<BR/><BR/>Try with this:<BR/><BR/><BR/>root = YourClassName()<BR/>if __name__ == '__main__':<BR/> import os.path<BR/> conf = os.path.join(os.path.dirname(__file__), 'YourConfigFile.conf')<BR/> cherrypy.quickstart(root,config=conf)<BR/><BR/>In my version using 'mount root.blahblahblah' doesn't work, so i had to spend some hours to make it work.<BR/>It's good idea to read cherrypy's tutorial also. Look for it in:<BR/>/usr/lib/python2.5/site-packages/cherrypy/tutorial<BR/>I found my solution there.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9266717.post-44818066810490563112007-09-17T16:23:00.000-03:002007-09-17T16:23:00.000-03:00To sukadeb:I do not use CherryPy (other than that ...To sukadeb:<BR/><BR/>I do not use CherryPy (other than that one experiment I did a while ago), and have <B>no idea</B> as to what could cause this traceback.<BR/><BR/>Try asking your question on the cherrypy user group<BR/>http://groups.google.com/group/cherrypy-users?hl=enAndré Robergehttps://www.blogger.com/profile/08131391818998844540noreply@blogger.comtag:blogger.com,1999:blog-9266717.post-6547741737184801742007-09-17T16:12:00.000-03:002007-09-17T16:12:00.000-03:00I have cherrypy3.0.0 installed in my computer. Whe...I have cherrypy3.0.0 installed in my computer. When i pasteed this code in my machine and ran it after fixing the indentations it is giving the following error. Can you please suggest me what is the problem<BR/><BR/>The path '/' was not found.<BR/><BR/>Traceback (most recent call last):<BR/> File "/usr/lib/python2.5/site-packages/cherrypy/_cprequest.py", line 342, in respond<BR/> cherrypy.response.body = self.handler()<BR/> File "/usr/lib/python2.5/site-packages/cherrypy/_cperror.py", line 199, in __call__<BR/> raise self<BR/>NotFound: (404, "The path '/' was not found.")Sukadeb Acharyahttps://www.blogger.com/profile/14238306454088586765noreply@blogger.comtag:blogger.com,1999:blog-9266717.post-14972156646652807552007-07-17T19:28:00.000-03:002007-07-17T19:28:00.000-03:00ashysh:As I mentioned, the complete code I used is...ashysh:<BR/><BR/>As I mentioned, the complete code I used is given in the blog. It's all there!<BR/><BR/><BR/>Shortly after doing this simple example, I stopped using CherryPy. So I never got to use it beyond the simple example I gave you. I seem to recall that there is a CherryPy discussion group - you might be able to get some answers there.André Robergehttps://www.blogger.com/profile/08131391818998844540noreply@blogger.comtag:blogger.com,1999:blog-9266717.post-88367008238735907062007-07-17T19:21:00.000-03:002007-07-17T19:21:00.000-03:00Hi,I am using Cherrypy to write a small applicatio...Hi,<BR/>I am using Cherrypy to write a small application as well. I needed help on how do I pass or use variables defined in one function, in another function.<BR/>Also, how do you pass data to and from HTML code to the python(cherrypy) code.<BR/><BR/>Thnx,<BR/>AshyshUnknownhttps://www.blogger.com/profile/06187404848640106631noreply@blogger.comtag:blogger.com,1999:blog-9266717.post-1146453305040614362006-05-01T00:15:00.000-03:002006-05-01T00:15:00.000-03:00Glad you are enjoying CherryPy! It is quite easy ...Glad you are enjoying CherryPy! It is quite easy to get going, and once you start, you can't stop. You've been warned ;-)<BR/><BR/>ChristianAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-9266717.post-1146414918651130552006-04-30T13:35:00.000-03:002006-04-30T13:35:00.000-03:00Ok I thought that there was maybe a kind of pulgin...Ok I thought that there was maybe a kind of pulgin.<BR/>Thanks for the answer and for you interesting blog.<BR/><BR/>francoisAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-9266717.post-1146392959922772332006-04-30T07:29:00.000-03:002006-04-30T07:29:00.000-03:00When creating a new post in blogger, there is an e...When creating a new post in blogger, there is an editor with a small toolbar. One of the option is to highlight some text and assign it a color from a palette. So, the coloring is done "by hand" in a WYSIWYG fashion.André Robergehttps://www.blogger.com/profile/08131391818998844540noreply@blogger.comtag:blogger.com,1999:blog-9266717.post-1146382460815670992006-04-30T04:34:00.000-03:002006-04-30T04:34:00.000-03:00Hello,I also find CherryPy great :)Just a question...Hello,<BR/><BR/>I also find CherryPy great :)<BR/><BR/>Just a question: I've seen that you have syntax color in your Python code (in this Blogger post).<BR/><BR/>Can I ask you how you did that ? (I didn't any find any "code" button in Blogger and tried a "code" tag without success).<BR/><BR/>Thanks<BR/><BR/>cheersAnonymousnoreply@blogger.com