Bug 17867 - claudia doesn't work due to missing ladish (audio session management system)
Summary: claudia doesn't work due to missing ladish (audio session management system)
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Shlomi Fish
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-02 21:55 CET by Xavier Matz
Modified: 2020-06-05 21:14 CEST (History)
2 users (show)

See Also:
Source RPM: cadence
CVE:
Status comment:


Attachments

Description Xavier Matz 2016-03-02 21:55:58 CET
Description of problem:
trying to start claudia fails with error "dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ladish was not provided by any .service files"
Indeed, ladish is not a dependency of the claudia rpm package - which is weird, since claudia is precisely a gui for ladish session management. 
Actually, ladish seems to be missing in mageia altogether (i can't find any ladish package), whereas there was a ladish package in mandriva and there is one in fedora. as can be seen here:
http://fr2.rpmfind.net/linux/rpm2html/search.php?query=ladis&submit=Search
Apart from that fact (that there's no ladish rpm in mageia), the fact that the claudia rpm package is missing a dependency to ladish may come from the fact that it is generated by a common rpm of the whole cadence suite - most other parts of which do work without ladish.
################################################
here's the full error output to the console:
$ claudia
Using Tray Engine 'Qt'
Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/dbus/bus.py", line 175, in activate_name_owner
    return self.get_name_owner(bus_name)
  File "/usr/lib/python3.5/site-packages/dbus/bus.py", line 361, in get_name_owner
    's', (bus_name,), **keywords)
  File "/usr/lib/python3.5/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.ladish': no such name

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/cadence/src/claudia.py", line 2717, in <module>
    gDBus.ladish_control = gDBus.bus.get_object("org.ladish", "/org/ladish/Control")
  File "/usr/lib/python3.5/site-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python3.5/site-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python3.5/site-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python3.5/site-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python3.5/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ladish was not provided by any .service files
################################################
By the way, "claudia-launcher", another program of the same rpm package "claudia", doesn't start either. Here, the error messages in the console are:
$ claudia-launcher 
XIcon::getIcon(dialog-ok-apply) - Failed to find icon
XIcon::getIcon(dialog-cancel) - Failed to find icon
XIcon::getIcon(start-here) - Failed to find icon
XIcon::getIcon(start-here) - Failed to find icon
XIcon::getIcon(start-here) - Failed to find icon
XIcon::getIcon(start-here) - Failed to find icon
XIcon::getIcon(start-here) - Failed to find icon
XIcon::getIcon(start-here) - Failed to find icon
XIcon::getIcon(start-here) - Failed to find icon
Traceback (most recent call last):
  File "/usr/share/cadence/src/claudia_launcher.py", line 1552, in <module>
    gui = ClaudiaLauncherApp()
  File "/usr/share/cadence/src/claudia_launcher.py", line 1330, in __init__
    self.setupUi(self)
  File "/usr/share/cadence/src/ui_claudia_launcher_app.py", line 125, in setupUi
    self.launcher = ClaudiaLauncher(self.centralwidget)
  File "/usr/share/cadence/src/claudia_launcher.py", line 162, in __init__
    self.refreshAll()
  File "/usr/share/cadence/src/claudia_launcher.py", line 777, in refreshAll
    package, installed = pkg_info.rsplit("\t", 1)
ValueError: not enough values to unpack (expected 2, got 1)
################################################

Version-Release number of selected component (if applicable):
claudia-0.8.1-0.git20140718.10.mga6

How reproducible:
always

Steps to Reproduce:
1. start claudia from console
2. see the error messages
3.
Rémi Verschelde 2016-03-03 00:11:42 CET

Assignee: bugsquad => makowski.mageia

Comment 1 Timothée Giet 2016-03-04 10:00:11 CET
Hi,
Yes, this is known and on a long waiting TODO.
If you look in cadence.spec, I added "#TODO: package ladish and add it to Requires here" when I wrote this spec.

I don't remember exactly what stopped me from adding ladish, I think that it needed again other new dependencies. I have to check again, but I'm away from home for 2 weeks and can't spend much time to package those for now.

Status: NEW => ASSIGNED
Assignee: makowski.mageia => animtim
CC: (none) => animtim

Comment 2 Timothée Giet 2016-03-29 14:56:01 CEST
Just to let you know, I started looking at packaging ladish to fix this bug.
However ladish has 2 BR that also needs to be packaged first:
-laditools
-flowcanvas

for laditools, I have a (locally) working spec, but for flowcanvas I'm stuck with some build errors. 
If someone can help me packaging flowcanvas, that would help a lot.
Comment 3 Timothée Giet 2017-05-19 10:45:07 CEST
Added ladish in the repository and updated claudia to require it.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 4 Conrad Vielson 2020-05-31 19:03:40 CEST
Just encountered that same problem on a current cauldron: 

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.ladish': no such name

and just as in the original bug report, there is no ladish package as a dependency of claudia and in fact ladish apparently isn't even available as a package in cauldron

Resolution: FIXED => (none)
Status: RESOLVED => UNCONFIRMED
CC: (none) => conrad.vielson.nhb4
Ever confirmed: 1 => 0

Comment 5 Timothée Giet 2020-05-31 20:04:26 CEST
I guess ladish was removed as part of the removal of python 2...

However, I saw yesterday that falkTX (the maintainer of KXStudio) fixed his ladish package "to work on systems without python2", so the same should be doable in cauldron...

The sources of his .deb package can be found in the list here:
https://launchpad.net/~kxstudio-debian/+archive/ubuntu/apps/+packages

Also, official homepage for reference:
http://ladish.org/

So if someone could bring back ladish in cauldron before the freeze for mga8, it would be highly appreciated as claudia is a tool I use in mga7 (and I'm a bit over-busy these days to look at it).

Status: UNCONFIRMED => NEW
Ever confirmed: 0 => 1
Assignee: animtim => bugsquad

Comment 6 Lewis Smith 2020-06-05 21:14:29 CEST
Thanks Timothée for the work you did. Shlomi has kindly just picked this up, so re-assigning to him for the moment.

> So if someone could bring back ladish in cauldron before the freeze for
> mga8, it would be highly appreciated
It looks as if ladish is now re-instated in Cauldron. And it is a bit early to worry about "the freeze for mga8"!

Source RPM: cadence-0.8.1-0.git20140718.10.mga6.src.rpm => cadence
Assignee: bugsquad => shlomif


Note You need to log in before you can comment on or make changes to this bug.