#10 ✓resolved
juti_n (at yahoo)

Tori failed to start with CherryPy 3.2

Reported by juti_n (at yahoo) | 2011-03-26 02:10:14 UTC | in Yotsuba 3.1

Affected Version:

Yotsuba 3.0+ / Tori 1.0+

Description:

Tori fails to start a standalone server with CherryPy 3.2 stable.

Reproductive Steps:

Follow the tutorial for Tori.

Solution (Proposal):

  • Primary: fix it for CherryPy 3.2
  • Secondary: change the dependency to CherryPy 3.1.2

Comments and changes to this ticket

  • juti_n (at yahoo)

    juti_n (at yahoo) 2011-03-29 01:28:42 UTC

    • State changed from “open” to “resolved”

    CherryPy 3.2 does not except unicode string for URL mapping but CherryPy 3.1 does.

  • juti_n (at yahoo)

    juti_n (at yahoo) 2011-03-30 16:45:13 UTC

    How to trigger

    First, before executing (tori.ServerInterface.standalone (alias to cherrypy.quickstart), set up a dict.

    routing = {
      u'/': {
                'tools.sessions.on':            True,
                'tools.sessions.timeout':       10,
                'tools.sessions.storage_type':  'file',
                'tools.sessions.storage_path':  path['session']
            }
    }
    

    Then, run the following.

    tori.ServerInterface.standalone(DocumentRoot(), '/', config=routing)
    # Equivalent to cherrypy.quickstart(DocumentRoot(), '/', config=routing)
    

    You will see that the process stop right away.

  • juti_n (at yahoo)

    juti_n (at yahoo) 2011-04-01 21:37:59 UTC

    The related issue is now officially filed on CherryPy.

    http://cherrypy.org/ticket/1056

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Library and Software Development Framework to enable fast and free-style development and deployment in Python

Shared Ticket Bins

People watching this ticket

Pages