Created
March 1, 2019 00:22
-
-
Save wgaylord/1db22379c82aa29b99462dee0293282f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "Bot.py", line 26, in SendAudio | |
mumble.sound_output.add_sound(in_data) | |
File "/usr/local/lib/python3.5/dist-packages/pymumble_py3/soundoutput.py", line 158, in add_sound | |
samples = int(self.encoder_framesize * PYMUMBLE_SAMPLERATE * 2) # number of samples in an encoder frame | |
TypeError: unsupported operand type(s) for *: 'NoneType' and 'int' | |
Relevent Lines. | |
mumble = Mumble("192.168.1.215","FT736R",certfile="FT736R.pem",keyfile="FT736R-keys.pem") | |
mumble.callbacks.set_callback(constants.PYMUMBLE_CLBK_SOUNDRECEIVED,ProcessAudioToRadio) | |
mumble.callbacks.set_callback("text_received", ProcessCommand) | |
mumble.set_application_string("HamRadioLink") | |
mumble.start() | |
mumble.is_ready() | |
mumble.set_receive_sound(True) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment