Wednesday, April 16, 2025

Re: QStandardPaths: wrong permissions on runtime directory /run/user/1000



On Wed, Apr 16, 2025 at 10:19 AM gary garcia <gary.garcia1@gmail.com> wrote:
Problem looks to be the Audio source, I need to look into how to connect audio in a windows 11 running Ubuntu on  WSL 2 


On Wed, Apr 16, 2025 at 10:01 AM gary garcia <gary.garcia1@gmail.com> wrote:
 Thanks for all the help.

First, running chmod 700 /run/user/1000
corrected the QStandardPaths: wrong permissions issue.

Now when I run the simulation I get the following errors 

Qt GUI: Could not restore geometry: restoreGeometry(self, Union[QByteArray, bytes, bytearray]): argument 1 has unexpected type 'NoneType'
 ( I have checked all the blocks and cannot find any "NoneType" arguments, the QT GUI does not indicate any errors)

( not looked into the following errors yet )

ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Timeout

audio_alsa_source :error: [default]: Connection refused
Traceback (most recent call last):
  File "/home/jammy/radio_lessons/RTTY_receive.py", line 341, in <module>
    main()
  File "/home/jammy/radio_lessons/RTTY_receive.py", line 319, in main
    tb = top_block_cls()
  File "/home/jammy/radio_lessons/RTTY_receive.py", line 222, in __init__
    self.audio_source_0 = audio.source(samp_rate, '', True)
RuntimeError: audio_alsa_source

>>> Done (return code 1)
--
gary garcia
gary.garcia1@gmail.com
(858)442-9317


--
gary garcia
gary.garcia1@gmail.com
(858)442-9317


--
gary garcia
gary.garcia1@gmail.com
(858)442-9317

No comments:

Post a Comment