danielgtaylor / danielgtaylor/arista

arista-gtk fails on ubuntu 13.04

Open
#161 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
119
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Traceback (most recent call last):
File "/usr/local/bin/arista-gtk", line 447, in drag_data_received
self.on_add(None, preset)
File "/usr/local/bin/arista-gtk", line 514, in on_add
self.add_dialog = AddDialog(self, selected_preset)
File "/usr/local/bin/arista-gtk", line 1063, in **init**
self.setup_source()
File "/usr/local/bin/arista-gtk", line 1129, in setup_source
self.finder = arista.inputs.InputFinder()
File "/usr/local/lib/python2.7/dist-packages/arista/inputs/haldisco.py", line 184, in **init**
"/org/freedesktop/Hal/Manager")
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in **init**
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal was not provided by any .service files

NOTE: intalled as ''sudo ./setup.py install --install-layout=deb'' as described in README.md

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in arista/inputs/haldisco.py at InputFinder initialization and trace the call from arista-gtk's AddDialog.setup_source. Reproduce the Ubuntu 13.04 failure from the reported DBus traceback; done means arista-gtk can process the dragged input without failing when the HAL service is unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, ubuntu
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.