Skip to content

Instantly share code, notes, and snippets.

@shauneccles
Created March 4, 2021 00:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shauneccles/c1cd7b5f973a8fdeead27d8f9e4151f5 to your computer and use it in GitHub Desktop.
Save shauneccles/c1cd7b5f973a8fdeead27d8f9e4151f5 to your computer and use it in GitHub Desktop.
[ERROR ] ledfx.core : Exception in core event loop: Exception in callback Display.thread_function()
Traceback (most recent call last):
File "C:\Users\shaun\AppData\Local\Programs\Python\Python39\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "c:\users\shaun\ledfx_venv_3.9\ledfx\ledfx\displays.py", line 312, in thread_function
self.process_active_effect()
File "c:\users\shaun\ledfx_venv_3.9\ledfx\ledfx\displays.py", line 293, in process_active_effect
self.assembled_frame = self.assemble_frame()
File "c:\users\shaun\ledfx_venv_3.9\ledfx\ledfx\displays.py", line 355, in assemble_frame
self.frame_transitions(
File "c:\users\shaun\ledfx_venv_3.9\ledfx\ledfx\transitions.py", line 36, in add
np.add(x1, x3, x1)
ValueError: operands could not be broadcast together with shapes (98,3) (97,3) (98,3)
Traceback (most recent call last):
File "c:\users\shaun\ledfx_venv_3.9\ledfx\ledfx\effects\audio.py", line 196, in _audio_sample_callback
self._invoke_callbacks()
File "c:\users\shaun\ledfx_venv_3.9\ledfx\ledfx\effects\audio.py", line 203, in _invoke_callbacks
callback()
File "c:\users\shaun\ledfx_venv_3.9\ledfx\ledfx\effects\audio.py", line 773, in _audio_data_updated
self.audio_data_updated(self.audio)
File "c:\users\shaun\ledfx_venv_3.9\ledfx\ledfx\effects\blocks.py", line 38, in audio_data_updated
self.r = self._r_filter.update(y - filtered_y)
File "c:\users\shaun\ledfx_venv_3.9\ledfx\ledfx\effects\math.py", line 42, in update
alpha = value - self.value
ValueError: operands could not be broadcast together with shapes (98,) (97,)
Stopping LedFx.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment