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

Error message "System.Decimal" #756

Closed
exilebg opened this issue Dec 8, 2019 · 4 comments
Closed

Error message "System.Decimal" #756

exilebg opened this issue Dec 8, 2019 · 4 comments
Assignees
Labels
bug Something isn't working solved An issue has been solved

Comments

@exilebg
Copy link

exilebg commented Dec 8, 2019

I've been getting the following error lately:

Cannot convert value "8.04569302377751E+28" to type "System.Decimal". Error: "Value was either too large or too small for a Decimal."
At C:\RainbowMiner\Include.psm1:1315 char:17
+                 [PSCustomObject]@{
+                 ~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidArgument: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvalidCastIConvertible
@RainbowMiner
Copy link
Owner

I see, I had this for some rounds, too. I think, it is a problem with one miner's API (as far as I remember, it was a MiniZ issue). Could you zip the Stats\Miners folder and upload it here?

RainbowMiner added a commit that referenced this issue Dec 8, 2019
- get rig of Ratio_average (not needed) to avoid #756
@exilebg
Copy link
Author

exilebg commented Dec 8, 2019

Here it is, if you still need it...
Miners.zip

@RainbowMiner
Copy link
Owner

Thank you very much, it looks like, it's a floating point overflow happening to "Ratio_Average" in the stat file. Since this value is of pure statistical nature and does not have a real purpose, I decided to remove it (see the above commit). This should get rid of the error.

@RainbowMiner RainbowMiner self-assigned this Dec 8, 2019
@RainbowMiner RainbowMiner added bug Something isn't working solved An issue has been solved labels Dec 8, 2019
@exilebg
Copy link
Author

exilebg commented Dec 9, 2019

Thank you.

@exilebg exilebg closed this as completed Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working solved An issue has been solved
Projects
None yet
Development

No branches or pull requests

2 participants