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

'ascii' codec can't decode byte 0xff in position 8: ordinal not in range(128) #98

Closed
benjaminralex opened this issue Mar 22, 2023 · 5 comments

Comments

@benjaminralex
Copy link

Upon trying to open an E2E file, I get the following error:

'ascii' codec can't decode byte 0xff in position 8: ordinal not in range(128)

What is the most likely cause of this? Thanks!

@marksgraham
Copy link
Owner

Hi,

Haven't come across this .e2e error before and it suggests its having trouble early on, reading the main directory structure. One thing you could try is to read it using eyepy which has a different .e2e reader and may fare better. Alternatively, if you're able to share the file with my I could have a look.

@marksgraham
Copy link
Owner

Hi @benjaminralex

Did you solve this? I've come across this elsewhere and I think I may have found a fix, let me know if you want to test it out.

@benjaminralex
Copy link
Author

Hi Mark, I have not unfortunately.

Thank you for the follow up. Would greatly appreciate a fix!

Thank you!

@marksgraham
Copy link
Owner

marksgraham commented May 9, 2023

Could you try out the update on the main branch

Using pip install git+https://github.com/marksgraham/OCT-Converter

@benjaminralex
Copy link
Author

That seems to do the trick! I tested on a few images, but it maybe fail on a wider set of samples. Thanks a lot! Much appreciated.

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

2 participants