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

Python 3.7: Cannot send an int #13

Open
Tracked by #14
aalex opened this issue Mar 2, 2020 · 0 comments
Open
Tracked by #14

Python 3.7: Cannot send an int #13

aalex opened this issue Mar 2, 2020 · 0 comments
Assignees
Labels

Comments

@aalex
Copy link
Owner

aalex commented Mar 2, 2020

Traceback (most recent call last):
  File "/Users/aalex/src/biosynth/biosynth/gui.py", line 101, in _combo_box_cb
    self.send_osc(row_controls.osc_path, int(combo_box.GetValue()))
  File "/Users/aalex/src/biosynth/biosynth/gui.py", line 90, in send_osc
    self._osc_sender.send_something(osc_address, value)
  File "/Users/aalex/src/biosynth/biosynth/oscsender.py", line 26, in send_something
    self._send(osc.Message(osc_address, value))
  File "/usr/local/lib/python3.7/site-packages/txosc/osc.py", line 55, in __init__
    self.add(arg)
  File "/usr/local/lib/python3.7/site-packages/txosc/osc.py", line 84, in add
    value = createArgument(value)
  File "/usr/local/lib/python3.7/site-packages/txosc/osc.py", line 660, in createArgument
    return _types[kind](value)
  File "/usr/local/lib/python3.7/site-packages/txosc/osc.py", line 256, in __init__
    self._check_type()
  File "/usr/local/lib/python3.7/site-packages/txosc/osc.py", line 371, in _check_type
    if type(self.value) not in [int, long]:
NameError: name 'long' is not defined
@aalex aalex self-assigned this Mar 2, 2020
@aalex aalex mentioned this issue Mar 2, 2020
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant