Auteur Sujet: Ubuntu System Jobs Administration  (Lu 6461 fois)

0 Membres et 1 Invité sur ce sujet

Hors ligne melodie

  • Administrateur
  • Membre Héroïque
  • *****
  • Messages: 1775
    • Citrotux
Ubuntu System Jobs Administration
« le: 10 novembre 2013 à 01:03:35 »
Managing the Jobs (services) in Ubuntu would be much nicer if it was possible to do it with a Graphical User Interface instead of having to deal with cryptic command lines (I say it that way, while I like very much the command line I can't really get into it when it comes to jobs in Ubuntu).

Here is the content of a research I did several months ago. I just extracted it from this thread where it has been talked about: Bento 2 mini as I would like to emphasize on this fail, for a man who was in charge some day promised to come back upload what he once accidentally erased, and never came back to re upload the fix he promised. I let you read here after:

Jacob Peddicord reported on 2010-08-05

The UI has gone through three different designs during GSoC:

* The initial list & details design
* Full-window listview (feedback from mpt)
* Two-pane listview and settings

Each has built on the previous, and especially for the final two-pane design I've tried to keep mpt's feedback in mind. The reason for reverting to a two-pane display is due to the emphasis on job settings: we want to make them more visible for tweaking, not hidden behind a password-protected button. Further changes likely need to be done, however, and this bug is open for that.

which bug was confirmed by Jacob Peddicord on 2010-08-05. We can see he confirmed because after he wrote the bug report he changed the status himself:
Changed in jobsadmin:
status:    New → Confirmed

(this is strange, shouldn't this be managed by someone who is not the author of a bug or a wish?)

next bug reported:
by Colin Law on 2011-01-19

ug Description

Installed jobs-admin (and jobservice) 0.8.0-0ubuntu1 on Maverick from repository. On starting from System menu it appears to crash immediately. When run from terminal -
$ jobs-admin
No module named pkit
Traceback (most recent call last):
  File "/usr/bin/jobs-admin", line 31, in <module>
  File "/usr/lib/pymodules/python2.6/JobsAdmin/", line 108, in load_jobs
    weight = 700 if job.running else 400
  File "/usr/lib/pymodules/python2.6/JobsAdmin/", line 68, in __getattr__
    retry(self._connect, call)
  File "/usr/lib/pymodules/python2.6/JobsAdmin/", line 26, in retry
    return func()
  File "/usr/lib/pymodules/python2.6/JobsAdmin/", line 67, in call
  File "/usr/lib/pymodules/python2.6/dbus/", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/", line 140, in __call__
  File "/usr/lib/pymodules/python2.6/dbus/", line 620, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.ValueError: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/pymodules/python2.6/JobService/", line 40, in GetAll
  File "/usr/lib/pymodules/python2.6/JobService/", line 122, in _load_properties
    self._props = self.root.proxy.get_service(
  File "/usr/lib/pymodules/python2.6/JobService/backends/", line 111, in get_service
  File "/usr/lib/pymodules/python2.6/JobService/backends/", line 73, in get_service
    job_name, inst_name = self._split_job(name)
  File "/usr/lib/pymodules/python2.6/JobService/backends/", line 136, in _split_job
    job_name, inst_name = name.split('/')
ValueError: too many values to unpack

answer by...
Jacob Peddicord (jpeddicord) wrote on 2011-01-20:    #1

It's already fixed in bzr; I just need to release and package it for Natty (and possibly backport to Maverick).
summary:    - jobs-admin crash on startup - No module named pkit
+ ValueError: too many values to unpack
Changed in jobsadmin:
importance:    Undecided → Medium
status:    New → Fix Committed

this brings us to a version which had been on his ppa and tested.

read more starting from #8.

This is where it is disappointing:

last post:
Jacob Peddicord (jpeddicord) wrote on 2011-06-20:    #3

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

The version in Precise is the 0.8.0-0ubuntu3 and the launchpad page to his repos leads to a 404 error as you can see from here:

Certainly doesn't work here. At all. I'm getting the exact same results as this guy.

I have answered just after Olivier Blondel, as I did a few tests in Virtualbox to see what feedback and testimonial I could bring to his bug report:


I have also uploaded a few screenshots, some where you can see Jobs Admin in Ubuntu (not working in fact, as the numerous bug reports about it state), and the equivalent User Interfaces in Archlinux and in Fedora.

in the above one, you can notice on the right pane "System V". Obviously it does not fit with Ubuntu, this one using Upstart.

Archlinux now:

I was using a git version, which was the only one available. Well I don't need it anymore, the Archlinux wiki is there as a reminder for the command lines to use, which are quite simple. (Archlinux is not meant for users seeking especially to use gui tools anyhow, whereas Ubuntu is supposed to be the friendly distribution, right?).

And the one where it works best, fully detailed, and so easy to use!

This is what I would enjoy using in all distributions, whether they are or not intended for end users.

Pass on the word!

Good leaders being scarce, following yourself is allowed.