Skip to content

ValueError: Infered arg_value type is not supported #146

Open
@craigvear

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions