All pastes #811169 Raw Edit

Someone

public text v1 · immutable
·published 2007-12-10 17:57 UTC
rendered paste body
<class 'elisa.core.interface_controller.UndefinedMVCAssociation'>
Python 2.5.1: /usr/bin/python
Mon Dec 10 19:21:50 2007

A problem occurred in a Python script.  Here is the sequence of
function calls leading up to the error, in the order they occurred.

 /home/michal/soft/elisa/elisa/elisa/core/interface_controller.py in initialize(self=<elisa.core.interface_controller.InterfaceController object at 0x14d4b90>)
  129         for backend_path in backend_paths:
  130             try:
  131                 self._create_backend(backend_path)
  132             except Exception, e:
  133                 self.warning("An error occured causing backend '%s' creation " \
self = <elisa.core.interface_controller.InterfaceController object at 0x14d4b90>
self._create_backend = <bound method InterfaceController._create_backen...troller.InterfaceController object at 0x14d4b90>>
backend_path = 'backend1'

 /home/michal/soft/elisa/elisa/elisa/core/interface_controller.py in _create_backend(self=<elisa.core.interface_controller.InterfaceController object at 0x14d4b90>, backend_name='backend1')
  189         controller_path = application.config.get_option('controller',
  190                                                         backend_name)
  191         controller_path = backend.get_controller_path(root_model.path)
  192
  193         try:
  193         try:
controller_path = 'poblenou:elisa_controller'
backend = <elisa.core.backend.Backend object at 0x1c41250>
backend.get_controller_path = <bound method Backend.get_controller_path of <elisa.core.backend.Backend object at 0x1c41250>>
root_model = <base.models.elisa_model.ElisaModel object at 0x1c415d0>
root_model.path = 'base:elisa_model'

 /home/michal/soft/elisa/elisa/elisa/core/backend.py in get_controller_path(self=<elisa.core.backend.Backend object at 0x1c41250>, model_path='base:el
isa_model', content_type=None)
  155             from elisa.core.interface_controller import UndefinedMVCAssociation
  156             msg = "No controller path for %r" % model_path
  157             raise UndefinedMVCAssociation(msg)
  158         else:
  159             self.debug("Found %r", controller_path)
UndefinedMVCAssociation = <class 'elisa.core.interface_controller.UndefinedMVCAssociation'>
msg = "No controller path for 'base:elisa_model'"
<class 'elisa.core.interface_controller.UndefinedMVCAssociation'>: No controller path for 'base:elisa_model'

The above is a description of an error in a Python program.  Here is
the original traceback:

Traceback (most recent call last):
  File "/home/michal/soft/elisa/elisa/elisa/core/interface_controller.py", line 131, in initialize
    self._create_backend(backend_path)
  File "/home/michal/soft/elisa/elisa/elisa/core/interface_controller.py", line 191, in _create_backend
    controller_path = backend.get_controller_path(root_model.path)
  File "/home/michal/soft/elisa/elisa/elisa/core/backend.py", line 157, in get_controller_path
    raise UndefinedMVCAssociation(msg)
UndefinedMVCAssociation: No controller path for 'base:elisa_model'