-
Notifications
You must be signed in to change notification settings - Fork 16
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
ValueError: too many values to unpack (expected 2) #283
Comments
This hopefully addresses Bitcoin-ABC#283, but I'm not sure because I don't know how to reproduce the issue. The `try: except...` clause previously used was nonsense that did not catch any error. Replace it with a simple check to find out if the amount string contains a decimal point. If not, assume it only contains an integer. I'm not sure what could cause the string not to have a decimal point, but then I 'm not entirely in control of what `locale.format_string` produces. Maybe their is an exotic/buggy locale setting that produces values without a dp.
This hopefully addresses #283, but I'm not sure because I don't know how to reproduce the issue. The `try: except...` clause previously used was nonsense that did not catch any error. Replace it with a simple check to find out if the amount string contains a decimal point. If not, assume it only contains an integer. I'm not sure what could cause the string not to have a decimal point, but then I 'm not entirely in control of what `locale.format_string` produces. Maybe their is an exotic/buggy locale setting that produces values without a dp.
Does your computer by any chance use a numeric locale that prints number using a e.g. The only way I can see this happening is if the software gets confused because the |
Description
This message came up after installing the latest wallet on Windows 10. It might be related to using Trezor device. I had an old version (4.x) installed and uninstalled that one before installing the latest version. Once I opened the new app this message comes up. I deleted my wallet so it would start with creating a new wallet. Everything worked until I selected my terzor device. Thats when everything goes haywire again. The window with the error message below just keeps poping up over and over. No matter if you do anything or not. I cant use the app right now at all.
Traceback
System information
The text was updated successfully, but these errors were encountered: