-
Notifications
You must be signed in to change notification settings - Fork 80
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
Fails with TypeError if a key containing integer was removed #22
Comments
Tnx, your solution seems right. I'l check and fix it this monday. |
Fixed in 0.1.12 |
Am I getting the same error on 0.1.12? (cleared cache, installed from github) Apply rules |
Sorry for that, missing more one place with this error. Commit fix with 0.1.13 |
First of all, thank you for this tool.
I've encountered an issue while I was trying to analyze what's taking the memory. While there's a guard against some cases when keys were removed after the scan,
rma
crashes when it encounters an integer-containing key that's already gone whenValueString
gets to it.Here's an example traceback:
The solution seems to handle
TypeError
as well asValueError
inRealStringEntry.get_int_encoded_bytes
. E.g. replacingexcept ValueError:
withexcept (ValueError, TypeError):
. Tried this on my local copy and it worked for me - I got a sensible-looking report. I'm not really sure if that's completely correct, though - maybe manually raisingResponseError("no such key")
would be a better approach there.Thanks!
The text was updated successfully, but these errors were encountered: