% python3 -m xled_plus.xled_picture xx.xx.xx.xx gifs/snowman_1.GIF
Traceback (most recent call last):
File "/opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/homebrew/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/opt/homebrew/lib/python3.10/site-packages/xled_plus/xled_picture.py", line 98, in <module>
PictureEffect(ctr, file).launch_movie()
File "/opt/homebrew/lib/python3.10/site-packages/xled_plus/effect_base.py", line 95, in launch_movie
self.ctr.show_movie(self.make_movie(self.preferred_frames), self.preferred_fps)
File "/opt/homebrew/lib/python3.10/site-packages/xled_plus/effect_base.py", line 90, in make_movie
frames.append(self.getnext())
File "/opt/homebrew/lib/python3.10/site-packages/xled_plus/xled_picture.py", line 86, in getnext
return self.ctr.make_layout_pattern(self.get_color, style="square")
File "/opt/homebrew/lib/python3.10/site-packages/xled_plus/highcontrol.py", line 737, in make_layout_pattern
(r, g, b) = func(pos)
File "/opt/homebrew/lib/python3.10/site-packages/xled_plus/xled_picture.py", line 66, in get_color
int(round((0.5 - pos[1]) * self.yscale + self.ymid)))
IndexError: tuple index out of range
[+] uploading file: gifs/snowman_1.GIF to group: ['xx.xx.xx.xx', 'xx.xx.xx.xx', 'xx.xx.xx.xx'] with size: stretch ratio: 5.0
Traceback (most recent call last):
File "/Users/nmonkee/Desktop/Twinkly/Twinkly.py", line 303, in <module>
SetAnimation(args.device,args.image,args.aspect,args.ratio)
File "/Users/nmonkee/Desktop/Twinkly/Twinkly.py", line 186, in SetAnimation
pic.launch_movie()
File "/opt/homebrew/lib/python3.10/site-packages/xled_plus/effect_base.py", line 95, in launch_movie
self.ctr.show_movie(self.make_movie(self.preferred_frames), self.preferred_fps)
File "/opt/homebrew/lib/python3.10/site-packages/xled_plus/effect_base.py", line 90, in make_movie
frames.append(self.getnext())
File "/opt/homebrew/lib/python3.10/site-packages/xled_plus/xled_picture.py", line 86, in getnext
return self.ctr.make_layout_pattern(self.get_color, style="square")
File "/opt/homebrew/lib/python3.10/site-packages/xled_plus/highcontrol.py", line 737, in make_layout_pattern
(r, g, b) = func(pos)
File "/opt/homebrew/lib/python3.10/site-packages/xled_plus/xled_picture.py", line 66, in get_color
int(round((0.5 - pos[1]) * self.yscale + self.ymid)))
[+] uploading file: gifs/snowman_1.GIF to group: ['xx.xx.xx.xx', 'xx.xx.xx.xx', 'xx.xx.xx.xx'] with size: stretch ratio: 1.0
Traceback (most recent call last):
File "/Users/nmonkee/Desktop/Twinkly/Twinkly.py", line 303, in <module>
SetAnimation(args.device,args.image,args.aspect,args.ratio)
File "/Users/nmonkee/Desktop/Twinkly/Twinkly.py", line 186, in SetAnimation
pic.launch_movie()
File "/opt/homebrew/lib/python3.10/site-packages/xled_plus/effect_base.py", line 95, in launch_movie
self.ctr.show_movie(self.make_movie(self.preferred_frames), self.preferred_fps)
File "/opt/homebrew/lib/python3.10/site-packages/xled_plus/effect_base.py", line 90, in make_movie
frames.append(self.getnext())
File "/opt/homebrew/lib/python3.10/site-packages/xled_plus/xled_picture.py", line 86, in getnext
return self.ctr.make_layout_pattern(self.get_color, style="square")
File "/opt/homebrew/lib/python3.10/site-packages/xled_plus/highcontrol.py", line 737, in make_layout_pattern
(r, g, b) = func(pos)
File "/opt/homebrew/lib/python3.10/site-packages/xled_plus/xled_picture.py", line 66, in get_color
int(round((0.5 - pos[1]) * self.yscale + self.ymid)))
IndexError: tuple index out of range
error: IndexError: tuple index out of range
From my own utility / test bed: