Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Tori failed to start with CherryPy 3.2

#10

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

Reported by juti_n (at yahoo) · March 26th, 2011 @ 02:10 AM

State: resolved
Milestone: Yotsuba 3.1
Assigned to: juti_n (at yahoo) juti_n (at yahoo)

Activity

  1. juti_n (at yahoo)
    juti_n (at yahoo)
    • State changed from open to resolved

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

    March 29th, 2011 @ 01:28 AM

  2. juti_n (at yahoo)
    juti_n (at yahoo)

    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.

    March 30th, 2011 @ 04:45 PM

  3. juti_n (at yahoo)
    juti_n (at yahoo)

    The related issue is now officially filed on CherryPy.

    http://cherrypy.org/ticket/1056

    April 1st, 2011 @ 09:37 PM

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.