Issue #882 resolved

CherryPy-3.1.1.win32.exe places tutorial.conf in wrong folder - cannot test per instructions

guest
created an issue

Summary: After installing CherryPy with the CherryPy-3.1.1.win32.exe installer on my Win XP SP3 machine, I cannot establish the hello world site as described on the Installation page.

First, the path given in "To run your first sample website, go to cherrypy/tutorial/" is incorrect; it should be (assuming C: as drive): C:\Python26\Lib\site-packages\cherrypy\tutorial

Second, when using the above path, errors appear, including 'no such file or directory: 'tutorial.conf'

I looked in tut01_helloworld.py; line 26 describes the local directory as the location of 'tutorial.conf', but that file is actually in C:\Python26\cherrypy\tutorial.

Move tutorial.conf to C:\Python26\Lib\site-packages\cherrypy\tutorial.

Now follow instructions to enter "python tut01_helloworld.py", to establish the site. Test successfully in browser.

  • D Lawrence

Comments (4)

  1. Jason R. Coombs

    I confirmed this occurs with CherryPy 3.2.0 (trunk) and only occurs when installing from the Windows installer. A workaround is to install from source (i.e. run 'setup.py' from an unzipped copy of the source. Obviously, this solution is less than ideal. We will continue to track down a fix.

  2. Log in to comment