The path '/' was not found.

PFGCIO Michael.O.Rivera at gmail.com
Sun Sep 16 21:57:27 CEST 2007


I've checked for space/tab problems twice.  Any ideas?  Thanks ahead
of time.

404 Not Found
The path '/' was not found.

Page handler: "The path '/' was not found."
Traceback (most recent call last):
  File "c:\python25\lib\site-packages\cherrypy-2.2.1-py2.5.egg\cherrypy
\_cphttptools.py", line 105, in _run
    self.main()
  File "c:\python25\lib\site-packages\cherrypy-2.2.1-py2.5.egg\cherrypy
\_cphttptools.py", line 246, in main
    page_handler, object_path, virtual_path =
self.mapPathToObject(path)
  File "c:\python25\lib\site-packages\cherrypy-2.2.1-py2.5.egg\cherrypy
\_cphttptools.py", line 312, in mapPathToObject
    raise cherrypy.NotFound(objectpath)
NotFound: 404


controllers.py

import logging

import cherrypy
from docutils.core import publish_parts

import turbogears
from turbogears import controllers, expose, validate, redirect

from brokerconduit import json
from brokerconduit.model import Service

class Root(controllers.RootController):
    @expose(template="brokerconduit.templates.home")
    def home(self , servicename="BrokerConduit"):
        service = Service.byServicename(servicename)
        return dict(service=service)




More information about the Python-list mailing list