Open ghost opened 1 year ago
How can I reproduce this?
Is this still an issue
Yes
I discovered that the pip version has not the same code as the git. After pip3 install vspreview I fixed
File "/home/$USER/.local/lib/python3*/site-packages/vspreview/main/window.py", line 94, in STATUS_FRAME_PROP
return 'Type: %s' % (prop['_PictType'].decode('utf-8') if '_PictType' in prop else '?')
AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'?
by changing decode to encode
# status bar
def STATUS_FRAME_PROP(self, prop: Any) -> str:
return 'Type: %s' % (prop['_PictType'].encode('utf-8') if '_PictType' in prop else '?')
whereas in the git it was correct.
not relevant in the slightest
Config issue.