You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/tavi/.local/bin/video-to-ascii", line 33, in
sys.exit(load_entry_point('video-to-ascii==1.3.0', 'console_scripts', 'video-to-ascii')())
File "/home/tavi/.local/lib/python3.10/site-packages/video_to_ascii/cli.py", line 21, in main
player.play(ARGS.file, strategy=ARGS.strategy, output=ARGS.output, play_audio=ARGS.with_audio)
File "/home/tavi/.local/lib/python3.10/site-packages/video_to_ascii/player.py", line 23, in play
engine.play(output)
File "/home/tavi/.local/lib/python3.10/site-packages/video_to_ascii/video_engine.py", line 36, in play
self.render_strategy.render(self.read_buffer,
File "/home/tavi/.local/lib/python3.10/site-packages/video_to_ascii/render_strategy/ascii_strategy.py", line 126, in render
stream.write(data)
File "/usr/lib/python3.10/site-packages/pyaudio.py", line 585, in write
pa.write_stream(self._stream, frames, num_frames,
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
OS: ArcoLinuxL (Arch Linux)
The text was updated successfully, but these errors were encountered:
This is a little incompatibility of Pyaudio ( and some others modules ) with python 3.10 that aren't resolved at now. In your cases, just executing in python 3.9 or earlier will resolve imediatly.
I get the following error:
Traceback (most recent call last):
File "/home/tavi/.local/bin/video-to-ascii", line 33, in
sys.exit(load_entry_point('video-to-ascii==1.3.0', 'console_scripts', 'video-to-ascii')())
File "/home/tavi/.local/lib/python3.10/site-packages/video_to_ascii/cli.py", line 21, in main
player.play(ARGS.file, strategy=ARGS.strategy, output=ARGS.output, play_audio=ARGS.with_audio)
File "/home/tavi/.local/lib/python3.10/site-packages/video_to_ascii/player.py", line 23, in play
engine.play(output)
File "/home/tavi/.local/lib/python3.10/site-packages/video_to_ascii/video_engine.py", line 36, in play
self.render_strategy.render(self.read_buffer,
File "/home/tavi/.local/lib/python3.10/site-packages/video_to_ascii/render_strategy/ascii_strategy.py", line 126, in render
stream.write(data)
File "/usr/lib/python3.10/site-packages/pyaudio.py", line 585, in write
pa.write_stream(self._stream, frames, num_frames,
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
OS: ArcoLinuxL (Arch Linux)
The text was updated successfully, but these errors were encountered: