ptmv icon indicating copy to clipboard operation
ptmv copied to clipboard

IndexError: list index out of range

Open sugizo opened this issue 1 year ago • 0 comments

env google colab

code

pip install -U ptmv
!ptmv https://www.youtube.com/watch?v=a18QZI3ttiY&t=639s

result

stty: 'standard input': Inappropriate ioctl for device
Traceback (most recent call last):
  File "/usr/local/bin/ptmv", line 5, in <module>
    from ptmv.__main__ import main
  File "/usr/local/lib/python3.10/dist-packages/ptmv/__main__.py", line 8, in <module>
    from . import console
  File "/usr/local/lib/python3.10/dist-packages/ptmv/console.py", line 9, in <module>
    image_height = height()
  File "/usr/local/lib/python3.10/dist-packages/ptmv/console.py", line 7, in height
    def height(): return int(os.popen('stty size', 'r').read().split()[0]) * 2
IndexError: list index out of range

best regards

sugizo avatar Jan 17 '24 13:01 sugizo