Python 2.5.2: /usr/bin/python Tue Apr 8 22:38:25 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. /usr/lib/python2.5/site-packages/elisa/core/interface_controller.py in initialize(self=) 141 for frontend_path in frontend_paths: 142 try: 143 self._create_frontend(frontend_path) 144 except Exception, exc: 145 path = application.log_traceback() self = self._create_frontend = > frontend_path = 'frontend1' /usr/lib/python2.5/site-packages/elisa/core/interface_controller.py in _create_frontend(self=, frontend_name='frontend1') 303 # connect the root controller to the root view 304 root_view.frontend = frontend 305 root_view.controller = root_controller 306 307 return True root_view = root_view.controller = root_controller = /usr/lib/python2.5/site-packages/elisa/plugins/raval_frontend/elisa_view.py in controller__set(self=, controller=) 87 self.player.controller = controller.player 88 89 super(ElisaView, self).controller__set(controller) 90 91 def show_popup__set(self, value): builtinsuper = global ElisaView = self = ).controller__set = > controller = /usr/lib/python2.5/site-packages/elisa/base_components/view.py in controller__set(self=, controller=) 137 for controller_attribute, view_attributes in self.bindings: 138 self._update_bound_attributes(controller_attribute, 139 view_attributes) 140 141 # stop observing the old model and start observing the new one view_attributes = 'manager' /usr/lib/python2.5/site-packages/elisa/base_components/view.py in _update_bound_attributes(self=, controller_attribute='manager', child_attributes=['manager']) 227 if isinstance(controller_child_value, Controller): 228 for attribute in child_attributes: 229 self._update_bound_view(attribute, controller_child_value) 230 else: 231 for child_attribute in child_attributes: self = self._update_bound_view = > attribute = 'manager' controller_child_value = /usr/lib/python2.5/site-packages/elisa/base_components/view.py in _update_bound_view(self=, attribute='manager', controller=) 249 250 # connect the corresponding view 251 child_view.controller = controller 252 except UndefinedMVCAssociation, e: 253 self.warning(e) child_view = child_view.controller = controller = /usr/lib/python2.5/site-packages/elisa/base_components/view.py in controller__set(self=, controller=) 137 for controller_attribute, view_attributes in self.bindings: 138 self._update_bound_attributes(controller_attribute, 139 view_attributes) 140 141 # stop observing the old model and start observing the new one view_attributes = 'location' /usr/lib/python2.5/site-packages/elisa/base_components/view.py in _update_bound_attributes(self=, controller_attribute='location', child_attributes=['location']) 227 if isinstance(controller_child_value, Controller): 228 for attribute in child_attributes: 229 self._update_bound_view(attribute, controller_child_value) 230 else: 231 for child_attribute in child_attributes: self = self._update_bound_view = > attribute = 'location' controller_child_value = /usr/lib/python2.5/site-packages/elisa/base_components/view.py in _update_bound_view(self=, attribute='location', controller=) 246 # create the corresponding view 247 path = self.frontend.get_view_path(controller.model.path) 248 child_view = self._create_child_view(attribute, path) 249 250 # connect the corresponding view child_view undefined self = self._create_child_view = > attribute = 'location' path = 'raval:location_view' /usr/lib/python2.5/site-packages/elisa/base_components/view.py in _create_child_view(self=, attribute='location', path='raval:location_view') 268 # create the new child view 269 registry = common.application.plugin_registry 270 new_view = registry.create_component(path) 271 272 # associate the new child view new_view undefined registry = registry.create_component = > path = 'raval:location_view' /usr/lib/python2.5/site-packages/elisa/core/plugin_registry.py in create_component(self=, component_path='raval:location_view') 488 self.debug("Trying to create %r component" % component_path) 489 490 infos = self._get_component_infos(component_path) 491 492 ComponentClass, plugin, component_path_tuple = infos infos undefined self = self._get_component_infos = > component_path = 'raval:location_view' /usr/lib/python2.5/site-packages/elisa/core/plugin_registry.py in _get_component_infos(self=, component_path='raval:location_view') 557 plugin.check_dependencies() 558 559 ComponentClass = self._import_component(plugin, component_name) 560 561 return (ComponentClass, plugin, component_path_tuple) ComponentClass = None self = self._import_component = > plugin = component_name = 'location_view' /usr/lib/python2.5/site-packages/elisa/core/plugin_registry.py in _import_component(self=, plugin=, component_name='location_view') 587 try: 588 module = __import__(full_path, 589 {}, {}, [mod_class[1]]) 590 Class = getattr(module, mod_class[1]) 591 except (ImportError, AttributeError), error: mod_class = ['location_view', 'LocationView'] /usr/lib/python2.5/site-packages/elisa/plugins/raval_frontend/location_view.py in () 22 from elisa.core import common 23 from elisa.extern.translation import Translatable 24 import constants 25 26 import pgm constants undefined /usr/lib/python2.5/site-packages/elisa/plugins/raval_frontend/constants.py in () 19 status_bar_height = None 20 context_bar_height = None 21 if is_hildon_desktop_running(): 22 status_bar_height = 7.0 23 context_bar_height = 11.0 is_hildon_desktop_running = None /usr/lib/python2.5/site-packages/elisa/core/utils/misc.py in is_hildon_desktop_running() 177 dbus.BUS_DAEMON_PATH, dbus.BUS_DAEMON_IFACE) 178 _hildon_desktop_running = \ 179 bool(driver.NameHasOwner('com.nokia.hildon-desktop')) 180 181 return _hildon_desktop_running builtinbool = driver = driver.NameHasOwner = /var/lib/python-support/python2.5/dbus/proxies.py in __call__(self=, *args=('com.nokia.hildon-desktop',), **keywords={}) 66 # we're being synchronous, so block 67 self._block() 68 return self._proxy_method(*args, **keywords) 69 70 def call_async(self, *args, **keywords): self = self._proxy_method = args = ('com.nokia.hildon-desktop',) keywords = {} /var/lib/python-support/python2.5/dbus/proxies.py in __call__(self=, *args=('com.nokia.hildon-desktop',), **keywords={}) 138 introspect_sig, 139 args, 140 **keywords) 141 142 def call_async(self, *args, **keywords): keywords = {} /var/lib/python-support/python2.5/dbus/connection.py in call_blocking(self=, bus_name='org.freedesktop.DBus', object_path='/org/freedesktop/DBus', dbus_interface=None, method='NameHasOwner', signature=None, args=('com.nokia.hildon-desktop',), timeout=-1.0, utf8_strings=False, byte_arrays=False) 605 # make a blocking call 606 reply_message = self.send_message_with_reply_and_block( 607 message, timeout) 608 args_list = reply_message.get_args_list(**get_args_opts) 609 if len(args_list) == 0: message = timeout = -1.0 : org.freedesktop.DBus.Error.AccessDenied: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "(unset)" member "NameHasOwner" error name "(unset)" destination "org.freedesktop.DBus") __class__ = __delattr__ = __dict__ = {'_dbus_error_name': 'org.freedesktop.DBus.Error.AccessDenied'} __doc__ = None __getattribute__ = __getitem__ = __getslice__ = __hash__ = __init__ = __module__ = 'dbus.exceptions' __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __str__ = __weakref__ = None _dbus_error_name = 'org.freedesktop.DBus.Error.AccessDenied' args = ('A security policy in place prevents this sender ...ame "(unset)" destination "org.freedesktop.DBus")',) get_dbus_name = message = 'A security policy in place prevents this sender ...ame "(unset)" destination "org.freedesktop.DBus")' The above is a description of an error in a Python program. Here is the original traceback: Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/elisa/core/interface_controller.py", line 143, in initialize self._create_frontend(frontend_path) File "/usr/lib/python2.5/site-packages/elisa/core/interface_controller.py", line 305, in _create_frontend root_view.controller = root_controller File "/usr/lib/python2.5/site-packages/elisa/plugins/raval_frontend/elisa_view.py", line 89, in controller__set super(ElisaView, self).controller__set(controller) File "/usr/lib/python2.5/site-packages/elisa/base_components/view.py", line 139, in controller__set view_attributes) File "/usr/lib/python2.5/site-packages/elisa/base_components/view.py", line 229, in _update_bound_attributes self._update_bound_view(attribute, controller_child_value) File "/usr/lib/python2.5/site-packages/elisa/base_components/view.py", line 251, in _update_bound_view child_view.controller = controller File "/usr/lib/python2.5/site-packages/elisa/base_components/view.py", line 139, in controller__set view_attributes) File "/usr/lib/python2.5/site-packages/elisa/base_components/view.py", line 229, in _update_bound_attributes self._update_bound_view(attribute, controller_child_value) File "/usr/lib/python2.5/site-packages/elisa/base_components/view.py", line 248, in _update_bound_view child_view = self._create_child_view(attribute, path) File "/usr/lib/python2.5/site-packages/elisa/base_components/view.py", line 270, in _create_child_view new_view = registry.create_component(path) File "/usr/lib/python2.5/site-packages/elisa/core/plugin_registry.py", line 490, in create_component infos = self._get_component_infos(component_path) File "/usr/lib/python2.5/site-packages/elisa/core/plugin_registry.py", line 559, in _get_component_infos ComponentClass = self._import_component(plugin, component_name) File "/usr/lib/python2.5/site-packages/elisa/core/plugin_registry.py", line 589, in _import_component {}, {}, [mod_class[1]]) File "/usr/lib/python2.5/site-packages/elisa/plugins/raval_frontend/location_view.py", line 24, in import constants File "/usr/lib/python2.5/site-packages/elisa/plugins/raval_frontend/constants.py", line 21, in if is_hildon_desktop_running(): File "/usr/lib/python2.5/site-packages/elisa/core/utils/misc.py", line 179, in is_hildon_desktop_running bool(driver.NameHasOwner('com.nokia.hildon-desktop')) File "/var/lib/python-support/python2.5/dbus/proxies.py", line 68, in __call__ return self._proxy_method(*args, **keywords) File "/var/lib/python-support/python2.5/dbus/proxies.py", line 140, in __call__ **keywords) File "/var/lib/python-support/python2.5/dbus/connection.py", line 607, in call_blocking message, timeout) DBusException: org.freedesktop.DBus.Error.AccessDenied: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "(unset)" member "NameHasOwner" error name "(unset)" destination "org.freedesktop.DBus")