Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UTF8 decoding error happening intermittently #629

Open
ehristev opened this issue Feb 4, 2025 · 0 comments
Open

UTF8 decoding error happening intermittently #629

ehristev opened this issue Feb 4, 2025 · 0 comments

Comments

@ehristev
Copy link

ehristev commented Feb 4, 2025

When trying to download debug data from crashed board:

Traceback (most recent call last):
  File "/usr/local/bin/edl", line 4, in <module>
    __import__('pkg_resources').run_script('edlclient==3.62', 'edl')
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 722, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1561, in run_script
    exec(code, namespace, namespace)
  File "/usr/local/lib/python3.12/dist-packages/edlclient-3.62-py3.12.egg/EGG-INFO/scripts/edl", line 393, in <module>
    base.run()
  File "/usr/local/lib/python3.12/dist-packages/edlclient-3.62-py3.12.egg/EGG-INFO/scripts/edl", line 308, in run
    self.sahara.debug_mode(version=version)
  File "/usr/local/lib/python3.12/dist-packages/edlclient-3.62-py3.12.egg/edlclient/Library/sahara.py", line 462, in debug_mode
    desc = pd.desc.replace(b"\x00", b"").decode('utf-8')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x88 in position 13: invalid start byte

Happening sometimes, maybe depending on the data coming in on Sahara from the board ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant