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

List index out of range #3

Open
som3oneMw opened this issue Nov 12, 2020 · 0 comments
Open

List index out of range #3

som3oneMw opened this issue Nov 12, 2020 · 0 comments

Comments

@som3oneMw
Copy link

I'm trying to get this working with TouchDesigner (using an adafruit-hat & 3* 32x32 panels) and I'm successfully getting information sent from TouchDesigner to the Pi, but rpi-matrix-artnet is not able to process them and I keep getting the following message:

Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/twisted/python/log.py", line 86, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
--- exception caught here ---
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/udp.py", line 249, in doRead
self.protocol.datagramReceived(data, addr)
File "rpi-matrix-artnet.py", line 154, in datagramReceived
self.showDisplay(display_size_x,display_size_y,frameBuffer,rgbframeLength)
File "rpi-matrix-artnet.py", line 166, in showDisplay
b = datastream[idx]
exceptions.IndexError: list index out of range

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