Zello feed from a Raspberry Pi

kb9mwr

Member
Joined
Apr 8, 2003
Messages
167
Location
Green Bay, WI
From my notes:
pip3 install pycryptodome
(if this doesn't work, try this:
pip3 uninstall crypto
pip3 uninstall pycryptodome
pip3 install pycryptodome

see here: Frequently Asked Questions — PyCryptodome 3.9.8 documentation)
Okay thanks for that, I had tried installing pycryptodome before but was getting an environment error, that uninstall/install business cured that.

It runs now, but errors out reporting "OSError: [Errno -9998] Invalid number of channels"... Seems like an underlying sound related thing? I am using a SYBA SD-CM-UAUD USB CM119 audio adapter.
 

kb9mwr

Member
Joined
Apr 8, 2003
Messages
167
Location
Green Bay, WI
@aaknitt I noticed the program crashes/exits when the vox level is tripped for me. Any words of wisdom?

I'm not sure if its supposed to be pip3 install websocket-client-py3 instead of pip3 install websocket. Maybe that is part of my problem?
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,238
Location
Massachusetts
What sort of error does it return when it crashes? Here is what mine looks like when streaming successfully:

Done sending audio
found audio - creating zello connection
{'error': 'channel is not ready', 'seq': 2}
{'command': 'on_channel_status', 'channel': 'Simulcast 1', 'status': 'online', 'users_online': 7, 'images_supported': False, 'texting_supported': True, 'locations_supported': False}
{'stream_id': 34951, 'success': True, 'seq': 3}
Fri Jul 3 21:47:50 2020
sending to stream_id 34951
Done sending audio
 

kb9mwr

Member
Joined
Apr 8, 2003
Messages
167
Location
Green Bay, WI
The last line or two after tripping the vox level and attempting to start steaming the audio is SSL related:

ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1056)

And I have run update-ca-certificates, with no difference

Nevermind, I have the wrong time zone selected! doh!
 
Last edited:

kb9mwr

Member
Joined
Apr 8, 2003
Messages
167
Location
Green Bay, WI
You know what would help here is if someone would write a how to, listing dependencies so I can stop guessing. Does this thing use jack server for audio? Kind of looks that way.

ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM bluealsa
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5036:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM bluealsa
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

...

self._sslobj.do_handshake()
ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1056)

And I still get the SSL thing with the correct time, so I dunno
 
Top