-
Notifications
You must be signed in to change notification settings - Fork 2
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
KeyError: '9' #22
Comments
@justingrayston Interesting. Does key |
Doesn't it just mean that I'll take a look through the logic.. Errors are few and far between atm. |
Perhaps it's cartouche-related: because cartouches are generated pre-merge, a cluster could be both inside a cartouche frame, and also inside another cluster within the cartouche frame. |
Catching the exception removes the 500 but doesn't necassarily close issue #22 as the cause is not replicable yet from a glyph image.
PR #23 will catch the key error, but I am not convinced this should be happening in the first place. I've done the simple "fix" for now to stop 500 errors, but I'd like to be able to reproduce with an actual glyph image test, and so far I haven't managed to get it to do it. |
Thanks - I've been taking a bit of time off - just getting back into the swing of things. Will test this week. |
Meant to say that I tested with these images but couldn't replicate the issue. |
Error found in main.py
The text was updated successfully, but these errors were encountered: