Hi guys,
As I was told, I've waited a couple of weeks before trying elisa again using
the svn version.
I'm using debian sid, with most of my libs up to date. Here is the result I
get when I try to launch elisa (after removing my ~/.elisa folder):
$ python2.5 elisa.py
WARN MainThread plugin_registry jan 24 00:51:22 Could not
import component
raval.main_menu_controller:MainMenuController(elisa/core/plugin_registry.py:564)
A problem occurred in Elisa.
/tmp/elisa_gg9iqb.txt contains the description of this error.
WARN MainThread twisted jan 24 00:51:22 A twisted
traceback occurred. (twisted/internet/defer.py:402)
Twisted traceback:
Traceback (most recent call last):
File
"/home/inoshishi/Programmation/python/elisa/elisa/plugins/bad/raval_frontend/elisa_controller.py",
line 79, in model_changed
self.manager.enter_node(self.model.menu)
File
"/home/inoshishi/Programmation/python/elisa/elisa/plugins/bad/raval_frontend/manager_controller.py",
line 176, in enter_node
dfr.addCallback(model_loaded, model).addErrback(got_errback)
File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line
191, in addCallback
callbackKeywords=kw)
File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line
182, in addCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line
317, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File
"/home/inoshishi/Programmation/python/elisa/elisa/plugins/bad/raval_frontend/manager_controller.py",
line 154, in model_loaded
controller = self._create_controller(model)
File
"/home/inoshishi/Programmation/python/elisa/elisa/plugins/bad/raval_frontend/manager_controller.py",
line 125, in _create_controller
controller = plugin_registry.create_component(controller_path)
File
"/home/inoshishi/Programmation/python/elisa/elisa/core/plugin_registry.py",
line 500, in create_component
raise ComponentNotFound(component_path)
elisa.core.plugin_registry.ComponentNotFound: Component
'raval:main_menu_controller' not found
WARN MainThread interface_controller jan 24 00:51:22 An error
occured causing backend 'backend1' creation to fail
(elisa/core/interface_controller.py:134)
A problem occurred in Elisa.
/tmp/elisa_xhIL83.txt contains the description of this error.
WARN MainThread interface_controller jan 24 00:51:22 Backend
'backend1' not existing for frontend 'frontend1'
(elisa/core/interface_controller.py:231)
WARN MainThread interface_controller jan 24 00:51:22 An error
occured causing frontend 'frontend1' creation to fail
(elisa/core/interface_controller.py:145)
A problem occurred in Elisa.
/tmp/elisa_fL6v5t.txt contains the description of this error.
The corresponding trace log files are attached to this mail. Are my error
coming from missing packages ? (I've already installed a bunch of stuff to
avoid some warning)
I didn't try to use the raval.conf from the sample directory since they
refer to your path (/home/kaleo and /home/phil are explicitly mentionned)
Patrick
<type 'exceptions.ImportError'>
Python 2.5.1: /usr/bin/python2.5
Thu Jan 24 00:51:22 2008
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/inoshishi/Programmation/python/elisa/elisa/core/plugin_registry.py in
_import_component(self=<elisa.core.plugin_registry.PluginRegistry object at
0x88ea74c>, plugin=<elisa.plugins.bad.raval_frontend.Raval_Frontend object at
0x92067ac>, component_name='main_menu_controller')
558 try:
559 module = __import__(full_path,
560 {}, {}, [mod_class[1]])
561 Class = getattr(module, mod_class[1])
562 except (ImportError, AttributeError), error:
mod_class = ['main_menu_controller', 'MainMenuController']
/home/inoshishi/Programmation/python/elisa/elisa/plugins/bad/raval_frontend/main_menu_controller.py
in <module>()
21 from elisa.core.input_event import *
22
23 from pgm.widgets import const
24
25 plugin_registry = common.application.plugin_registry
pgm undefined
const undefined
<type 'exceptions.ImportError'>: No module named widgets
__class__ = <type 'exceptions.ImportError'>
__delattr__ = <method-wrapper '__delattr__' of exceptions.ImportError
object at 0x92e1dac>
__dict__ = {}
__doc__ = "Import can't find module, or can't find name in module."
__getattribute__ = <method-wrapper '__getattribute__' of
exceptions.ImportError object at 0x92e1dac>
__getitem__ = <method-wrapper '__getitem__' of exceptions.ImportError
object at 0x92e1dac>
__getslice__ = <method-wrapper '__getslice__' of exceptions.ImportError
object at 0x92e1dac>
__hash__ = <method-wrapper '__hash__' of exceptions.ImportError object at
0x92e1dac>
__init__ = <method-wrapper '__init__' of exceptions.ImportError object at
0x92e1dac>
__new__ = <built-in method __new__ of type object at 0x813e9e0>
__reduce__ = <built-in method __reduce__ of exceptions.ImportError object
at 0x92e1dac>
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.ImportError
object at 0x92e1dac>
__repr__ = <method-wrapper '__repr__' of exceptions.ImportError object at
0x92e1dac>
__setattr__ = <method-wrapper '__setattr__' of exceptions.ImportError
object at 0x92e1dac>
__setstate__ = <built-in method __setstate__ of exceptions.ImportError
object at 0x92e1dac>
__str__ = <method-wrapper '__str__' of exceptions.ImportError object at
0x92e1dac>
args = ('No module named widgets',)
message = 'No module named widgets'
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File
"/home/inoshishi/Programmation/python/elisa/elisa/core/plugin_registry.py",
line 560, in _import_component
{}, {}, [mod_class[1]])
File
"/home/inoshishi/Programmation/python/elisa/elisa/plugins/bad/raval_frontend/main_menu_controller.py",
line 23, in <module>
from pgm.widgets import const
ImportError: No module named widgets
<type 'exceptions.AttributeError'>
Python 2.5.1: /usr/bin/python2.5
Thu Jan 24 00:51:22 2008
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/inoshishi/Programmation/python/elisa/elisa/core/interface_controller.py
in initialize(self=<elisa.core.interface_controller.InterfaceController object
at 0x89e744c>)
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 0x89e744c>
self._create_backend = <bound method
InterfaceController._create_backen...troller.InterfaceController object at
0x89e744c>>
backend_path = 'backend1'
/home/inoshishi/Programmation/python/elisa/elisa/core/interface_controller.py
in _create_backend(self=<elisa.core.interface_controller.InterfaceController
object at 0x89e744c>, backend_name='backend1')
211
212 root_controller.model = root_model
213 root_controller.focus()
214
215 def _create_frontend(self, frontend_name):
root_controller = <raval_frontend.elisa_controller.ElisaController object at
0x92c8f2c>
root_controller.focus = <bound method ElisaController.focus of
<raval_fr..._controller.ElisaController object at 0x92c8f2c>>
/home/inoshishi/Programmation/python/elisa/elisa/plugins/bad/raval_frontend/elisa_controller.py
in focus(self=<raval_frontend.elisa_controller.ElisaController object at
0x92c8f2c>)
80
81 def focus(self):
82 self.manager.focus()
83
84 def focused_changed(self, old_focused, new_focused):
self = <raval_frontend.elisa_controller.ElisaController object at 0x92c8f2c>
self.manager = <raval_frontend.manager_controller.ManagerController object at
0x92d9a8c>
self.manager.focus = <bound method ManagerController.focus of
<raval_...ontroller.ManagerController object at 0x92d9a8c>>
/home/inoshishi/Programmation/python/elisa/elisa/plugins/bad/raval_frontend/manager_controller.py
in focus(self=<raval_frontend.manager_controller.ManagerController object at
0x92d9a8c>)
32
33 def focus(self):
34 self.current.focus()
35
36 def focused_changed(self, old_focus, new_focus):
self = <raval_frontend.manager_controller.ManagerController object at 0x92d9a8c>
self.current = None
self.current.focus undefined
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'focus'
__class__ = <type 'exceptions.AttributeError'>
__delattr__ = <method-wrapper '__delattr__' of exceptions.AttributeError
object at 0x92d27ac>
__dict__ = {}
__doc__ = 'Attribute not found.'
__getattribute__ = <method-wrapper '__getattribute__' of
exceptions.AttributeError object at 0x92d27ac>
__getitem__ = <method-wrapper '__getitem__' of exceptions.AttributeError
object at 0x92d27ac>
__getslice__ = <method-wrapper '__getslice__' of exceptions.AttributeError
object at 0x92d27ac>
__hash__ = <method-wrapper '__hash__' of exceptions.AttributeError object
at 0x92d27ac>
__init__ = <method-wrapper '__init__' of exceptions.AttributeError object
at 0x92d27ac>
__new__ = <built-in method __new__ of type object at 0x813f0a0>
__reduce__ = <built-in method __reduce__ of exceptions.AttributeError
object at 0x92d27ac>
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.AttributeError
object at 0x92d27ac>
__repr__ = <method-wrapper '__repr__' of exceptions.AttributeError object
at 0x92d27ac>
__setattr__ = <method-wrapper '__setattr__' of exceptions.AttributeError
object at 0x92d27ac>
__setstate__ = <built-in method __setstate__ of exceptions.AttributeError
object at 0x92d27ac>
__str__ = <method-wrapper '__str__' of exceptions.AttributeError object at
0x92d27ac>
args = ("'NoneType' object has no attribute 'focus'",)
message = "'NoneType' object has no attribute 'focus'"
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File
"/home/inoshishi/Programmation/python/elisa/elisa/core/interface_controller.py",
line 131, in initialize
self._create_backend(backend_path)
File
"/home/inoshishi/Programmation/python/elisa/elisa/core/interface_controller.py",
line 213, in _create_backend
root_controller.focus()
File
"/home/inoshishi/Programmation/python/elisa/elisa/plugins/bad/raval_frontend/elisa_controller.py",
line 82, in focus
self.manager.focus()
File
"/home/inoshishi/Programmation/python/elisa/elisa/plugins/bad/raval_frontend/manager_controller.py",
line 34, in focus
self.current.focus()
AttributeError: 'NoneType' object has no attribute 'focus'
<type 'exceptions.AttributeError'>
Python 2.5.1: /usr/bin/python2.5
Thu Jan 24 00:51:22 2008
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/inoshishi/Programmation/python/elisa/elisa/core/interface_controller.py
in initialize(self=<elisa.core.interface_controller.InterfaceController object
at 0x89e744c>)
140 for frontend_path in frontend_paths:
141 try:
142 self._create_frontend(frontend_path)
143 except Exception, exc:
144 self.warning("An error occured causing frontend '%s'
creation " \
self = <elisa.core.interface_controller.InterfaceController object at 0x89e744c>
self._create_frontend = <bound method
InterfaceController._create_fronte...troller.InterfaceController object at
0x89e744c>>
frontend_path = 'frontend1'
/home/inoshishi/Programmation/python/elisa/elisa/core/interface_controller.py
in initialize(self=<elisa.core.interface_controller.InterfaceController object
at 0x89e744c>)
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 0x89e744c>
self._create_backend = <bound method
InterfaceController._create_backen...troller.InterfaceController object at
0x89e744c>>
backend_path = 'backend1'
/home/inoshishi/Programmation/python/elisa/elisa/core/interface_controller.py
in _create_backend(self=<elisa.core.interface_controller.InterfaceController
object at 0x89e744c>, backend_name='backend1')
211
212 root_controller.model = root_model
213 root_controller.focus()
214
215 def _create_frontend(self, frontend_name):
root_controller = <raval_frontend.elisa_controller.ElisaController object at
0x92c8f2c>
root_controller.focus = <bound method ElisaController.focus of
<raval_fr..._controller.ElisaController object at 0x92c8f2c>>
/home/inoshishi/Programmation/python/elisa/elisa/plugins/bad/raval_frontend/elisa_controller.py
in focus(self=<raval_frontend.elisa_controller.ElisaController object at
0x92c8f2c>)
80
81 def focus(self):
82 self.manager.focus()
83
84 def focused_changed(self, old_focused, new_focused):
self = <raval_frontend.elisa_controller.ElisaController object at 0x92c8f2c>
self.manager = <raval_frontend.manager_controller.ManagerController object at
0x92d9a8c>
self.manager.focus = <bound method ManagerController.focus of
<raval_...ontroller.ManagerController object at 0x92d9a8c>>
/home/inoshishi/Programmation/python/elisa/elisa/plugins/bad/raval_frontend/manager_controller.py
in focus(self=<raval_frontend.manager_controller.ManagerController object at
0x92d9a8c>)
32
33 def focus(self):
34 self.current.focus()
35
36 def focused_changed(self, old_focus, new_focus):
self = <raval_frontend.manager_controller.ManagerController object at 0x92d9a8c>
self.current = None
self.current.focus undefined
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'focus'
__class__ = <type 'exceptions.AttributeError'>
__delattr__ = <method-wrapper '__delattr__' of exceptions.AttributeError
object at 0x92d27ac>
__dict__ = {}
__doc__ = 'Attribute not found.'
__getattribute__ = <method-wrapper '__getattribute__' of
exceptions.AttributeError object at 0x92d27ac>
__getitem__ = <method-wrapper '__getitem__' of exceptions.AttributeError
object at 0x92d27ac>
__getslice__ = <method-wrapper '__getslice__' of exceptions.AttributeError
object at 0x92d27ac>
__hash__ = <method-wrapper '__hash__' of exceptions.AttributeError object
at 0x92d27ac>
__init__ = <method-wrapper '__init__' of exceptions.AttributeError object
at 0x92d27ac>
__new__ = <built-in method __new__ of type object at 0x813f0a0>
__reduce__ = <built-in method __reduce__ of exceptions.AttributeError
object at 0x92d27ac>
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.AttributeError
object at 0x92d27ac>
__repr__ = <method-wrapper '__repr__' of exceptions.AttributeError object
at 0x92d27ac>
__setattr__ = <method-wrapper '__setattr__' of exceptions.AttributeError
object at 0x92d27ac>
__setstate__ = <built-in method __setstate__ of exceptions.AttributeError
object at 0x92d27ac>
__str__ = <method-wrapper '__str__' of exceptions.AttributeError object at
0x92d27ac>
args = ("'NoneType' object has no attribute 'focus'",)
message = "'NoneType' object has no attribute 'focus'"
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File
"/home/inoshishi/Programmation/python/elisa/elisa/core/interface_controller.py",
line 142, in initialize
self._create_frontend(frontend_path)
File
"/home/inoshishi/Programmation/python/elisa/elisa/core/interface_controller.py",
line 131, in initialize
self._create_backend(backend_path)
File
"/home/inoshishi/Programmation/python/elisa/elisa/core/interface_controller.py",
line 213, in _create_backend
root_controller.focus()
File
"/home/inoshishi/Programmation/python/elisa/elisa/plugins/bad/raval_frontend/elisa_controller.py",
line 82, in focus
self.manager.focus()
File
"/home/inoshishi/Programmation/python/elisa/elisa/plugins/bad/raval_frontend/manager_controller.py",
line 34, in focus
self.current.focus()
AttributeError: 'NoneType' object has no attribute 'focus'