All pastes #811958 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-12-11 11:41 UTC
rendered paste body
<class 'elisa.core.interface_controller.UndefinedMVCAssociation'>
Python 2.5.1: /usr/bin/python
Tue Dec 11 20:40:16 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/matthew/Downloads/svn/elisa/elisa/core/interface_controller.py in initialize(self=<elisa.core.interface_controller.InterfaceController object at 0x89b20ac>)
  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 0x89b20ac>
self._create_backend = <bound method InterfaceController._create_backen...troller.InterfaceController object at 0x89b20ac>>
backend_path = 'backend1'

 /home/matthew/Downloads/svn/elisa/elisa/core/interface_controller.py in _create_backend(self=<elisa.core.interface_controller.InterfaceController object at 0x89b20ac>, 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:
controller_path = 'poblenou:elisa_controller'
backend = <elisa.core.backend.Backend object at 0x8fbb98c>
backend.get_controller_path = <bound method Backend.get_controller_path of <elisa.core.backend.Backend object at 0x8fbb98c>>
root_model = <base.models.elisa_model.ElisaModel object at 0x8fbbc0c>
root_model.path = 'base:elisa_model'

 /home/matthew/Downloads/svn/elisa/elisa/core/backend.py in get_controller_path(self=<elisa.core.backend.Backend object at 0x8fbb98c>, model_path='base:elisa_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'
    __class__ = <class 'elisa.core.interface_controller.UndefinedMVCAssociation'>
    __delattr__ = <method-wrapper '__delattr__' of UndefinedMVCAssociation object at 0x91e7964>
    __dict__ = {}
    __doc__ = '\n    Raised by L{InterfaceController} when no Mo...backend managed by the interface controller.\n    '
    __getattribute__ = <method-wrapper '__getattribute__' of UndefinedMVCAssociation object at 0x91e7964>
    __getitem__ = <method-wrapper '__getitem__' of UndefinedMVCAssociation object at 0x91e7964>
    __getslice__ = <method-wrapper '__getslice__' of UndefinedMVCAssociation object at 0x91e7964>
    __hash__ = <method-wrapper '__hash__' of UndefinedMVCAssociation object at 0x91e7964>
    __init__ = <method-wrapper '__init__' of UndefinedMVCAssociation object at 0x91e7964>
    __module__ = 'elisa.core.interface_controller'
    __new__ = <built-in method __new__ of type object at 0x8140660>
    __reduce__ = <built-in method __reduce__ of UndefinedMVCAssociation object at 0x91e7964>
    __reduce_ex__ = <built-in method __reduce_ex__ of UndefinedMVCAssociation object at 0x91e7964>
    __repr__ = <method-wrapper '__repr__' of UndefinedMVCAssociation object at 0x91e7964>
    __setattr__ = <method-wrapper '__setattr__' of UndefinedMVCAssociation object at 0x91e7964>
    __setstate__ = <built-in method __setstate__ of UndefinedMVCAssociation object at 0x91e7964>
    __str__ = <method-wrapper '__str__' of UndefinedMVCAssociation object at 0x91e7964>
    __weakref__ = None
    args = ("No controller path for 'base:elisa_model'",)
    message = "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/matthew/Downloads/svn/elisa/elisa/core/interface_controller.py", line 131, in initialize
    self._create_backend(backend_path)
  File "/home/matthew/Downloads/svn/elisa/elisa/core/interface_controller.py", line 191, in _create_backend
    controller_path = backend.get_controller_path(root_model.path)
  File "/home/matthew/Downloads/svn/elisa/elisa/core/backend.py", line 157, in get_controller_path
    raise UndefinedMVCAssociation(msg)
UndefinedMVCAssociation: No controller path for 'base:elisa_model'