theRealCarneiro / pulsemeeter

Replicating voicemeeter routing functionalities in linux with pulseaudio
MIT License
385 stars 20 forks source link

Pulsemeeter started and running no GUI/errors #69

Closed ZerkerEOD closed 2 years ago

ZerkerEOD commented 2 years ago

Describe the bug Pulsemeeter GUI does not appear, not located in the systray and if I try to open the application I see a pulsemeeter icon show as a blank document and it says its a text editor. Unable to find any GUI, and the terminal will say its already running which is verified when looking at my audio outputs as I have virtual ones appear.

To Reproduce Steps to reproduce the behavior:

  1. Type pulsemeeter daemon or pulsemeeter init

Expected behavior Pulsemeeter GUI appears

Screenshots image image image image image

Desktop (please complete the following information):

Additional context Nothing additional for now.

ZerkerEOD commented 2 years ago

I finally managed to get an error better error message pop up.

pulsemeeter daemon
ERROR: invalid json 
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/pulsemeeter/interface/main_window.py", line 728, in open_ui
    self.windowinstance = self.start_window(self.isserver)
  File "/usr/local/lib/python3.10/dist-packages/pulsemeeter/interface/main_window.py", line 103, in start_window
    self.devices['hi'] = self.client.list_hardware_devices('sources')
  File "/usr/local/lib/python3.10/dist-packages/pulsemeeter/socket/client.py", line 395, in list_hardware_devices
    return json.loads(self.send_command(f'get-hd {device_type}'))
  File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Fl1tzi commented 2 years ago

Hi.

pulsemeeter daemon just starts the server and not the gui.

The other problem is a duplicate of #65.

ZerkerEOD commented 2 years ago

@Fl1tzi, I saw that one but the error message looks similar but different. Looks like mine is having trouble decoding the json and not able to open the UI.

Fl1tzi commented 2 years ago

@ZerkerEOD both have the same traceback and are just started different. In result it is the same error.