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

Unicode Error in Anatomy Notebook #3

Open
PaulHuwe opened this issue Dec 8, 2020 · 0 comments
Open

Unicode Error in Anatomy Notebook #3

PaulHuwe opened this issue Dec 8, 2020 · 0 comments

Comments

@PaulHuwe
Copy link
Contributor

PaulHuwe commented Dec 8, 2020

The following codeblock from Anatomy_of_an_ASDF_File throws an error:

# Let's look at the corresponding raw contents of the last file'
with open('tut_with_data2.asdf','rb') as taf2: print(taf2.read()[:3251].decode("utf-8"))

Error:

---------------------------------------------------------------------------
UnicodeDecodeError                        Traceback (most recent call last)
<ipython-input-34-185bbb71f5c0> in <module>
      1 # Let's look at the corresponding raw contents of the last file'
----> 2 with open('tut_with_data2.asdf','rb') as taf2: print(taf2.read()[:3251].decode("utf-8"))

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd3 in position 3205: invalid continuation byte
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