Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Ticket #754 (defect)

Opened 6 months ago

Last modified 4 months ago

Checker raises false alarm with application-level config namespace

Status: closed (fixed)

Reported by: guest Assigned to: rdelon
Priority: normal Milestone: 3.1
Component: CherryPy code Keywords: config checker
Cc:

Derived application class:

class MyApplication(cherrypy.Application):
    def __init__(self, script_name):
        """ Constructs the OrangeApplication object."""
        cherrypy.Application.__init__(self, None, script_name)
        self.namespaces['myapp'] = self._handle_app_cfg
    
        
    def _handle_app_cfg(self, k, v):
        print k
        print v
        

Now when I mount this application with 'myapp.mykey' configuration key the checker says:

The config entry 'myapp.mykey' is invalid, because the 'myapp' config namespace is unknown. section: /

This is obviously not true. After removing this test from checker everything is fine and my namespace handler *is* executed.

Change History

01/12/08 19:37:53: Modified by fumanchu

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone set to 3.1.

Should be fixed in [1841].

Hosted by WebFaction

Log in as guest/cpguest to create tickets