Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
CherryPy on PythonAnywhere
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
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
liamb...@gmail.com  
View profile  
 More options Oct 11 2012, 7:01 am
From: liamb...@gmail.com
Date: Thu, 11 Oct 2012 13:01:04 +0200
Local: Thurs, Oct 11 2012 7:01 am
Subject: CherryPy on PythonAnywhere
Hi All,

Can anyone help with the basic to get a cherrypy app running on
pythonanywhere.com ?

The only references I could find for creating a cherrypy wsgi server on
pythonanywhere is here:

https://www.pythonanywhere.com/forums/topic/199/
https://www.pythonanywhere.com/forums/topic/95/

They both refer to this older cherrypy link which has the sample code:

http://tools.cherrypy.org/wiki/ModWSGI

When I use this example as wsgi.py on pythonanywhere, I get this error:

------------------ snip ----------------------
Unrecoverable error in the server.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/CherryPy-3.2.2-
py2.7.egg/cherrypy/_cprequest.py", line 571, in run
    self.script_name = self.app.script_name
  File "/usr/local/lib/python2.7/site-packages/CherryPy-3.2.2-
py2.7.egg/cherrypy/_cptree.py", line 83, in _get_script_name
    return cherrypy.serving.request.wsgi_environ['SCRIPT_NAME'].rstrip("/")
KeyError: 'SCRIPT_NAME'
------------------ snip ----------------------

Has anyone run a cherrypy app on pythonanywhere before, and have any advice on
how to get it done?

Or anyone know of another python hosting environment to run a small proof of
concept cherrypy app on?

Thanks,
 Tom


 
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.
Sylvain Hellegouarch  
View profile  
 More options Oct 11 2012, 7:57 am
From: Sylvain Hellegouarch <s...@defuze.org>
Date: Thu, 11 Oct 2012 13:57:56 +0200
Local: Thurs, Oct 11 2012 7:57 am
Subject: Re: [cherrypy-users] CherryPy on PythonAnywhere

Hi Tom,

> Or anyone know of another python hosting environment to run a small proof
> of
> concept cherrypy app on?

I've never used PythonAnywhere so I cannot really help, but you can look at
WebFaction for a good web host supporting Python and CherryPy.

--
- Sylvain
http://www.defuze.org
http://twitter.com/lawouach


 
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.
liamb...@gmail.com  
View profile  
 More options Oct 11 2012, 8:17 am
From: liamb...@gmail.com
Date: Thu, 11 Oct 2012 14:17:44 +0200
Local: Thurs, Oct 11 2012 8:17 am
Subject: Re: [cherrypy-users] CherryPy on PythonAnywhere
Hi Sylvain,

On Thursday 11 October 2012 13:57:56 Sylvain Hellegouarch wrote:

> Hi Tom,

> > Or anyone know of another python hosting environment to run a small proof
> > of
> > concept cherrypy app on?

> I've never used PythonAnywhere so I cannot really help, but you can look at
> WebFaction for a good web host supporting Python and CherryPy.

I had a very quick look at Webfaction but was not sure if they supported
CherryPy. I'll have a closer look now, thanks.

Cheers,
 Tom


 
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.
Sylvain Hellegouarch  
View profile  
 More options Oct 11 2012, 8:42 am
From: Sylvain Hellegouarch <s...@defuze.org>
Date: Thu, 11 Oct 2012 14:42:20 +0200
Local: Thurs, Oct 11 2012 8:42 am
Subject: Re: [cherrypy-users] CherryPy on PythonAnywhere

> I had a very quick look at Webfaction but was not sure if they supported
> CherryPy. I'll have a closer look now, thanks.

They do. Mostly because they support Python out of the box and let you
compile and deploy your own tools if need be :)

--
- Sylvain
http://www.defuze.org
http://twitter.com/lawouach


 
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.
hardik.ec0...@gmail.com  
View profile  
 More options Apr 18, 5:05 am
From: hardik.ec0...@gmail.com
Date: Thu, 18 Apr 2013 02:05:23 -0700 (PDT)
Local: Thurs, Apr 18 2013 5:05 am
Subject: Re: CherryPy on PythonAnywhere

Hi,

First of all install a Cherrypy.
then go through thae directory:CherryPy-3.2.2\cherrypy\tutorial and try
that examples.
then try to implement on your own.

I am working on CherryPy and for web layouts HTML and my application works
good.
so, Need any help then plz post it..

Regards,


 
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 »