jobs-admin does not start in Maverick: "string index out of range"

Bug #782046 reported by gregg128
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jobs-admin
New
Undecided
Unassigned

Bug Description

$sudo su
#add-apt-repository ppa:jpeddicord/jobs-daily
#apt-get update
#apt-get install jobs-admin
(from non-root)
$jobs-admin
jobs-admin
No module named pkit
Traceback (most recent call last):
  File "/usr/bin/jobs-admin", line 31, in <module>
    ui.load_jobs()
  File "/usr/lib/pymodules/python2.6/JobsAdmin/__init__.py", line 108, in load_jobs
    weight = 700 if job.running else 400
  File "/usr/lib/pymodules/python2.6/JobsAdmin/remote.py", line 68, in __getattr__
    retry(self._connect, call)
  File "/usr/lib/pymodules/python2.6/JobsAdmin/util.py", line 26, in retry
    return func()
  File "/usr/lib/pymodules/python2.6/JobsAdmin/remote.py", line 67, in call
    dbus_interface=PROPERTIES_IFACE)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.IndexError: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/pymodules/python2.6/JobService/job.py", line 40, in GetAll
    self._load_properties()
  File "/usr/lib/pymodules/python2.6/JobService/job.py", line 122, in _load_properties
    self._props = self.root.proxy.get_service(self.name)
  File "/usr/lib/pymodules/python2.6/JobService/backends/__init__.py", line 111, in get_service
    info.update(bk.get_service(name))
  File "/usr/lib/pymodules/python2.6/JobService/backends/upstart_0_6.py", line 87, in get_service
    info['automatic'] = (starton[0] != '#')
IndexError: string index out of range

Revision history for this message
gregg128 (gregg128) wrote :

#cat /etc/issue
Ubuntu 10.10

Revision history for this message
Jacob Peddicord (jpeddicord) wrote :

Could you try the version in the main PPA and see if that works?

https://launchpad.net/~jpeddicord/+archive/jobs
ppa:jpeddicord/jobs

jobs-daily has been out-of-date; I probably should remove that PPA.

Revision history for this message
Jacob Peddicord (jpeddicord) wrote :

Due to a personal fatfingering, I accidentally deleted the repository I was referring to and not the daily one. Sorry about that. I'll work on getting it back online. :-P

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.