Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Infered arg_value type is not supported #146

Open
craigvear opened this issue Oct 12, 2021 · 0 comments
Open

ValueError: Infered arg_value type is not supported #146

craigvear opened this issue Oct 12, 2021 · 0 comments

Comments

@craigvear
Copy link

sending the following floats to be individually parsed by send_message but get this error message (0.5938088 0.21404406 0.06094052 0.5298297 0.05217947 0.6697440937739355 0.005217947065830231 0.04091830836684529 0.5938088 0.05217947):

  Exception in thread Thread-5:
  Traceback (most recent call last):
    File "/usr/local/Caskroom/miniconda/base/envs/monks_mood/lib/python3.7/threading.py", line 926, in _bootstrap_inner
      self.run()
    File "/usr/local/Caskroom/miniconda/base/envs/monks_mood/lib/python3.7/threading.py", line 870, in run
      self._target(*self._args, **self._kwargs)
    File "/Users/craigvear/PycharmProjects/retroDemoMusic/controller.py", line 125, in robot_sax
      self.make_sound('sax', raw_data_from_dict, rhythm_rate)
    File "/Users/craigvear/PycharmProjects/retroDemoMusic/controller.py", line 188, in make_sound
      self.kyma_client.send_message("/vcs/Amp1/1", amp1)  # Send float message
    File "/usr/local/Caskroom/miniconda/base/envs/monks_mood/lib/python3.7/site-packages/pythonosc/udp_client.py", line 73, in send_message
      builder.add_arg(val)
    File "/usr/local/Caskroom/miniconda/base/envs/monks_mood/lib/python3.7/site-packages/pythonosc/osc_message_builder.py", line 83, in add_arg
      arg_type = self._get_arg_type(arg_value)
    File "/usr/local/Caskroom/miniconda/base/envs/monks_mood/lib/python3.7/site-packages/pythonosc/osc_message_builder.py", line 122, in _get_arg_type
      raise ValueError('Infered arg_value type is not supported')
  ValueError: Infered arg_value type is not supported

Only happens occasionally, and the values are always floats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant