Public feed #603319

Anonymous

public text v1 · immutable
Raw Edit
·published 2007-07-04 18:24 UTC
rendered paste body
<class 'elisa.core.plugin_registry.PluginNotFound'>
Python 2.5.1: /usr/bin/python
Wed Jul  4 20:22:59 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/tulap/elisa/elisa.py in <module>()
    7     print "setuptools not being used"
    8 
    9 from elisa.core import application
   10 
   11 application.main(sys.argv)
application = <module 'elisa.core.application' from '/home/tulap/elisa/elisa/core/application.pyc'>
application.main = <function main at 0xb71a3064>
sys = <module 'sys' (built-in)>
sys.argv = ['elisa.py', 'sample_config/poblenou.conf']

 /home/tulap/elisa/elisa/core/application.py in main(args=['elisa.py', 'sample_config/poblenou.conf'])
  365         raise
  366     else:
  367         app.initialize()
  368         app.start()
  369         reactor.run()
app = <elisa.core.application.Application object at 0xb71a46cc>
app.initialize = <bound method Application.initialize of <elisa.core.application.Application object at 0xb71a46cc>>

 /home/tulap/elisa/elisa/core/application.py in initialize(self=<elisa.core.application.Application object at 0xb71a46cc>)
  254         self._input_manager.initialize()
  255         self._player_controller.initialize()
  256         self._interface_controller.initialize()
  257 
  258         self.bus.send_message(bus_message.ComponentsLoaded())
self = <elisa.core.application.Application object at 0xb71a46cc>
self._interface_controller = <elisa.core.interface_controller.InterfaceController object at 0x84c2e8c>
self._interface_controller.initialize = <bound method InterfaceController.initialize of ...troller.InterfaceController object at 0x84c2e8c>>

 /home/tulap/elisa/elisa/core/interface_controller.py in initialize(self=<elisa.core.interface_controller.InterfaceController object at 0x84c2e8c>)
   59                                                             default=[])
   60         for backend_path in backend_paths:
   61             self._create_backend(backend_path)
   62 
   63         # Create frontend instances declared in the configuration
self = <elisa.core.interface_controller.InterfaceController object at 0x84c2e8c>
self._create_backend = <bound method InterfaceController._create_backen...troller.InterfaceController object at 0x84c2e8c>>
backend_path = 'backend1'

 /home/tulap/elisa/elisa/core/interface_controller.py in _create_backend(self=<elisa.core.interface_controller.InterfaceController object at 0x84c2e8c>, backend_name='backend1')
   96         controller_path = application.config.get_option('controller', backend_name, default=[])
   97         try:
   98             root_controller = application.plugin_registry.create_component(controller_path)
   99         except:
  100             self.warning("Cannot create controller %r for backend %r" % (controller_path, backend_name))
root_controller undefined
application = <elisa.core.application.Application object at 0xb71a46cc>
application.plugin_registry = <elisa.core.plugin_registry.PluginRegistry object at 0xb71b1b6c>
application.plugin_registry.create_component = <bound method PluginRegistry.create_component of...in_registry.PluginRegistry object at 0xb71b1b6c>>
controller_path = 'poblenou_plugin:elisa_controller'

 /home/tulap/elisa/elisa/core/plugin_registry.py in create_component(self=<elisa.core.plugin_registry.PluginRegistry object at 0xb71b1b6c>, component_path='poblenou_plugin:elisa_controller')
  406         self.debug("Trying to create %r component" % component_path)
  407 
  408         ComponentClass, plugin, component_path_tuple = self._get_component_infos(component_path)
  409 
  410         if ComponentClass:
ComponentClass undefined
plugin undefined
component_path_tuple undefined
self = <elisa.core.plugin_registry.PluginRegistry object at 0xb71b1b6c>
self._get_component_infos = <bound method PluginRegistry._get_component_info...in_registry.PluginRegistry object at 0xb71b1b6c>>
component_path = 'poblenou_plugin:elisa_controller'

 /home/tulap/elisa/elisa/core/plugin_registry.py in _get_component_infos(self=<elisa.core.plugin_registry.PluginRegistry object at 0xb71b1b6c>, component_path='poblenou_plugin:elisa_controller')
  447             plugin_name, component_name = component_path_tuple[0:2]
  448 
  449             plugin = self.get_plugin_with_name(plugin_name)
  450             self.debug("Found plugin %r, searching for Component %r",
  451                        plugin_name, component_name)
plugin = None
self = <elisa.core.plugin_registry.PluginRegistry object at 0xb71b1b6c>
self.get_plugin_with_name = <bound method PluginRegistry.get_plugin_with_nam...in_registry.PluginRegistry object at 0xb71b1b6c>>
plugin_name = 'poblenou_plugin'

 /home/tulap/elisa/elisa/core/plugin_registry.py in get_plugin_with_name(self=<elisa.core.plugin_registry.PluginRegistry object at 0xb71b1b6c>, name='poblenou_plugin')
  218                 self._plugin_instances[name] = plugin
  219             else:
  220                 raise PluginNotFound(name)
  221 
  222         return plugin
global PluginNotFound = <class 'elisa.core.plugin_registry.PluginNotFound'>
name = 'poblenou_plugin'
<class 'elisa.core.plugin_registry.PluginNotFound'>: Plugin 'poblenou_plugin' not found

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

Traceback (most recent call last):
  File "elisa.py", line 11, in <module>
    application.main(sys.argv)
  File "/home/tulap/elisa/elisa/core/application.py", line 367, in main
    app.initialize()
  File "/home/tulap/elisa/elisa/core/application.py", line 256, in initialize
    self._interface_controller.initialize()
  File "/home/tulap/elisa/elisa/core/interface_controller.py", line 61, in initialize
    self._create_backend(backend_path)
  File "/home/tulap/elisa/elisa/core/interface_controller.py", line 98, in _create_backend
    root_controller = application.plugin_registry.create_component(controller_path)
  File "/home/tulap/elisa/elisa/core/plugin_registry.py", line 408, in create_component
    ComponentClass, plugin, component_path_tuple = self._get_component_infos(component_path)
  File "/home/tulap/elisa/elisa/core/plugin_registry.py", line 449, in _get_component_infos
    plugin = self.get_plugin_with_name(plugin_name)
  File "/home/tulap/elisa/elisa/core/plugin_registry.py", line 220, in get_plugin_with_name
    raise PluginNotFound(name)
PluginNotFound: Plugin 'poblenou_plugin' not found