pulsemeeter: Multiple bugs

God bless you brother, I appreciate your work! ✌🏻

If you want me to make separate bug reports just tell me!

1: Blocks is too large and I can’t scroll, so I switched to tabbed.

2: Added some Virtual Inputs: Headset Motherboard Both Image

Added some Hardware Inputs: JBL Headset Built-in Audio Analog Stereo Image

Then when I go to Applications Outputs and select a Input device it gives me the following traceback: Image

Traceback (most recent call last):
  File "/home/alex/pulsemeeter/src/pulsemeeter/clients/gtk/gtk_client.py", line 450, in set_app_device
    self.app_manager.change_device(app_type, app_index, device_nick)
  File "/home/alex/pulsemeeter/src/pulsemeeter/model/app_manager_model.py", line 34, in change_device
    pmctl.move_app_device(app_type, app_index, device_name)
  File "/home/alex/pulsemeeter/src/pulsemeeter/scripts/pmctl.py", line 246, in move_app_device
    sink = PULSE.get_sink_by_name(device_name)
  File "/home/alex/.venv-girepository/lib/python3.10/site-packages/pulsectl/pulsectl.py", line 567, in _wrapper_method
    if not data: raise PulseIndexError(index)
pulsectl.pulsectl.PulseIndexError: HS

Renaming Virtual Inputs is possible but not detected in Application Outputs (it still has the old name as you can see above: HS instead of Headset.

3: Renaming Hardware Inputs seemed like it worked from JBL Quantum 910 Wireless Mono to Test: Image

But I wanted to rename it back to Microphone it had the wrong Nick: Easy Effects Source: Image

No errors after renaming it but if I want to rename it again it still has the Easy Effects Source Nick.

4: Renaming Hardware Outputs gave me the following traceback:

Traceback (most recent call last):
  File "/home/alex/pulsemeeter/src/pulsemeeter/clients/gtk/gtk_client.py", line 476, in wrapper
    self.change_device_widget(device_type, device_id, device_model)
  File "/home/alex/pulsemeeter/src/pulsemeeter/clients/gtk/gtk_client.py", line 174, in change_device_widget
    device_widget.device_update(device_model)
  File "/home/alex/pulsemeeter/src/pulsemeeter/clients/gtk/adapters/device_adapter.py", line 115, in device_update
    self.name_widget.set_label(device_model.nick, device_model.description)
  File "/home/alex/pulsemeeter/src/pulsemeeter/clients/gtk/widgets/device/name_widget.py", line 37, in set_label
    self.description_label.set_text(description)
AttributeError: 'NoneType' object has no attribute 'set_text'

That’s it for now!

Expected behavior The Application Output to be set to the Virtual Input. (This is actually what I wanted to report 😜)

Desktop (please complete the following information):

  • Distro: Pop!_OS 22.04 (Compiled gi myself because it was outdated)
  • Python Version: Python 3.10

Again thanks brother and keep up the good work! Peace! ✌🏻

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 18 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Oh there’s the issue, when you set a device as external, pulsemeeter wont create or remove the virtual device, it will just leave that to the user, so the error is because the device doesn’t exist

Can you try removing the external option in the virtual inputs and outputs?

Ohhhh 😅 I thought something else but thanks for explaining, this is also explaining why Pulsemeeter didn’t work 😂 I just pulled the patches and I will try it out!

It works brother! I’m grateful! 🙏🏻

I have a question, will you bring back the latency option from the old Pulsemeeter?

I like what you did with the Nicks instead of A1, A2 etcetera!

Also when the application is shown and in the Tray you select show it crashes with a segfault!

I’m going to try the patches now.

Can you try the new patches and test if the issues are still there? I think the only one left is issue 2, but that might be caused by it tring to nick the device as easy effects source