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 "/usr/bin/kb", line 33, in <module>
sys.exit(load_entry_point('kb-manager==0.1.7', 'console_scripts', 'kb')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/kb/main.py", line 66, in main
dispatch(cmd, cmd_params, config=DEFAULT_CONFIG)
File "/usr/lib/python3.11/site-packages/kb/main.py", line 56, in dispatch
return COMMANDS[function](*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/kb/commands/view.py", line 68, in view
view_by_id(args["nameid"], config, args["editor"], color_mode)
File "/usr/lib/python3.11/site-packages/kb/commands/view.py", line 125, in view_by_id
viewer.view(artifact_path, markers, color=color_mode)
File "/usr/lib/python3.11/site-packages/kb/viewer.py", line 107, in view
content = fname.read()
^^^^^^^^^^^^
File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
Steps to Reproduce the Problem
No idea.
Something to do with Arch, probably.
It happens with pdf and jpg files, and probably everything else.
Specifications
Version: kb 0.1.7
Platform: Arch Linux
Subsystem: ???
The text was updated successfully, but these errors were encountered:
Can you be more specific? I am not able to reproduce the issue.
Can you try cloning the project and try to run it with deps installed from a virtual environment?
Or what type of file is your file 0? That could give us hints about the source of the issue
Expected Behavior
kb view 0
should open the file.Actual Behavior
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: