You are not logged in.

#1 2013-09-18 17:05:50

haagch
Member
Registered: 2013-08-17
Posts: 213

veromix plasmoid keeps not working

The last time I have tried veromix I had a problem that sometimes it would somehow "lose" the connection to pulseaudio and just don't update the outputstreams any more or just flatout not displaying anything anymore. Usually killing plasma and restarting it "solved" it but that was still a huge inconvenience for an audio mixer. So I stopped using it. Then I tried it again and sip was broken.

Now python[2]-sip, sip etc have been updated and veromix has successfully worked for me for a whole day! But today it does not work anymore. It shows the default oxygen volume icon audio_volume_high.png instead of the completely white one (don't know where it is from) and it shows no sound cards.

With plasmate's plasmoidviewer veromix-plasmoid -f horizontal this is all I keep seeing:
XRkDFmws.png

$ plasmoidviewer veromix-plasmoid -f horizontal
veromix icon installed
Outputting dbus-servie file

Now veromix-gtk-git works just fine. But kdeplasma-applets-veromix or kdeplasma-applets-veromix-git don't and I have absolutely no idea why they don't because yesterday they both worked. There's no error message or something like that and a short google search has shown nothing on how to debug plasmoids.

I just discovered thatn when I open veromix from veromix-gtk-git, the (already "running") plasmoid changes its icon to the correct one and displays the output devices and streams correctly. But when trying to change volumes I get

Traceback (most recent call last):
  File "/usr/share/apps/plasma/plasmoids/veromix-plasmoid/contents/code/Channel.py", line 347, in on_slider_cb
    self.setVolume(value)
  File "/usr/share/apps/plasma/plasmoids/veromix-plasmoid/contents/code/Channel.py", line 253, in setVolume
    self.set_channel_volumes(vol)
  File "/usr/share/apps/plasma/plasmoids/veromix-plasmoid/contents/code/Channel.py", line 316, in set_channel_volumes
    self.pa_sink.set_volume(values)
  File "/usr/share/apps/plasma/plasmoids/veromix-plasmoid/contents/code/veromixcommon/PulseProxyObjects.py", line 223, in set_volume
    self.pulse_proxy.set_sink_volume(self.index, values)
  File "/usr/share/apps/plasma/plasmoids/veromix-plasmoid/contents/code/PulseAudioProxy.py", line 212, in set_sink_volume
    self.getMixer().sink_volume(index,vol)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.ctypes.ArgumentError: Traceback (most recent call last):
  File "/usr/lib/python3.3/site-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/share/apps/plasma/plasmoids/veromix-plasmoid/dbus-service/VeromixDbus.py", line 107, in sink_volume
    self.pulse.pulse_set_sink_volume(int(index), PulseVolume(vol))
  File "/usr/share/apps/plasma/plasmoids/veromix-plasmoid/dbus-service/pulseaudio/PulseAudio.py", line 609, in pulse_set_sink_volume
    operation = pa_context_set_sink_volume_by_index(self._context,index,vol.toCtypes(), self._null_cb,None)
ctypes.ArgumentError: argument 4: <class 'TypeError'>: expected CFunctionType instance instead of NoneType

Last edited by haagch (2013-09-18 19:01:13)

Offline

#2 2013-09-18 17:36:37

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: veromix plasmoid keeps not working

You may want to resize the screenshots. https://wiki.archlinux.org/index.php/Fo … s_and_Code

Last edited by donniezazen (2013-09-18 17:37:37)

Offline

#3 2013-09-18 18:18:26

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: veromix plasmoid keeps not working

donniezazen wrote:

You may want to resize the screenshots. https://wiki.archlinux.org/index.php/Fo … s_and_Code

I checked smile  The file is only 17K.  I don't worry too much about the width and height.  It is about storage and bandwidth.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2013-09-19 01:51:20

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: veromix plasmoid keeps not working

@ewaller Good to know. Outrageously large pictures like the speaker icon are quite distracting. Thanks.

Offline

#5 2013-09-20 13:38:05

MadCat_X
Member
Registered: 2009-10-08
Posts: 189

Re: veromix plasmoid keeps not working

Hi,

Every time I log into KDE4, KMix or veromix show no devices or steams - their menus are completely empty. The problem first appeared when the sip update broke KDE's python bindings and it's been like this ever since. I can work around the problem by restarting KMix; once I do that, all streams and devices show up as expected in KMix. I didn't figure out any similar workaround for veromix. PA itself works perfectly fine as far as I can tell.

Offline

#6 2013-09-20 14:08:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: veromix plasmoid keeps not working

Offline

#7 2013-09-20 15:27:52

MadCat_X
Member
Registered: 2009-10-08
Posts: 189

Re: veromix plasmoid keeps not working

Apparently so. veromix-gtk works for me, veromix plasmoid is dead even though all the knobs appear when veromix-gtk is launched.

Offline

#8 2013-09-20 17:05:47

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: veromix plasmoid keeps not working

Merging threads


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#9 2013-10-02 08:37:07

MadCat_X
Member
Registered: 2009-10-08
Posts: 189

Re: veromix plasmoid keeps not working

Even after the update to KDE 4.11.2 it's still broken. It seems that the pulseaudio daemon starts a moment too late for KDE to pick it up; it would explain why a simple restart of KMix makes it working.

Offline

#10 2013-10-03 07:30:36

Chawoosh
Member
From: Russia, Siberia, Tomsk
Registered: 2013-05-11
Posts: 57

Re: veromix plasmoid keeps not working

Veromix is working just now in a tray on my box.

Offline

Board footer

Powered by FluxBB