tutulino / Megaminer

Multipool and multialgo windows miner
GNU General Public License v3.0
78 stars 69 forks source link

Issue with Dual-Mining #18

Closed alexrogers closed 7 years ago

alexrogers commented 7 years ago

Am seeing this error come up only when i'm dualminig

Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:291 char:25
+                         $_.HashRate  = [double]$Miner.HashRate
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException
Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:291 char:25
+                         $_.HashRate  = [double]$Miner.HashRate
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException

Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:292 char:25
+ ...                        $_.HashRateDual  = [double]$Miner.HashRateDual
+                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException
Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:292 char:25
+ ...                        $_.HashRateDual  = [double]$Miner.HashRateDual
+                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException

>> TerminatingError(ConvertTo-Hash): "Cannot process argument transformation on parameter 'Hash'. Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double"."
ConvertTo-Hash : Cannot process argument transformation on parameter 'Hash'. Cannot convert the "System.Object[]" value 
of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:293 char:95
+ ... r.AlgorithmDual -ne $null) {(ConvertTo-Hash ($Miner.HashRate)) + "/s| ...
+                                                 ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [ConvertTo-Hash], ParameterBindingArgumentTransformationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,ConvertTo-Hash
ConvertTo-Hash : Cannot process argument transformation on parameter 'Hash'. Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:293 char:95
+ ... r.AlgorithmDual -ne $null) {(ConvertTo-Hash ($Miner.HashRate)) + "/s| ...
+                                                 ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [ConvertTo-Hash], ParameterBindingArgumentTransformationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,ConvertTo-Hash

Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:291 char:25
+                         $_.HashRate  = [double]$Miner.HashRate
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException
Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:291 char:25
+                         $_.HashRate  = [double]$Miner.HashRate
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException

Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:292 char:25
+ ...                        $_.HashRateDual  = [double]$Miner.HashRateDual
+                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException
Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:292 char:25
+ ...                        $_.HashRateDual  = [double]$Miner.HashRateDual
+                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException

>> TerminatingError(ConvertTo-Hash): "Cannot process argument transformation on parameter 'Hash'. Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double"."
ConvertTo-Hash : Cannot process argument transformation on parameter 'Hash'. Cannot convert the "System.Object[]" value 
of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:293 char:95
+ ... r.AlgorithmDual -ne $null) {(ConvertTo-Hash ($Miner.HashRate)) + "/s| ...
+                                                 ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [ConvertTo-Hash], ParameterBindingArgumentTransformationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,ConvertTo-Hash
ConvertTo-Hash : Cannot process argument transformation on parameter 'Hash'. Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:293 char:95
+ ... r.AlgorithmDual -ne $null) {(ConvertTo-Hash ($Miner.HashRate)) + "/s| ...
+                                                 ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [ConvertTo-Hash], ParameterBindingArgumentTransformationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,ConvertTo-Hash

Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:291 char:25
+                         $_.HashRate  = [double]$Miner.HashRate
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException
Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:291 char:25
+                         $_.HashRate  = [double]$Miner.HashRate
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException

Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:292 char:25
+ ...                        $_.HashRateDual  = [double]$Miner.HashRateDual
+                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException
Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:292 char:25
+ ...                        $_.HashRateDual  = [double]$Miner.HashRateDual
+                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException

>> TerminatingError(ConvertTo-Hash): "Cannot process argument transformation on parameter 'Hash'. Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double"."
ConvertTo-Hash : Cannot process argument transformation on parameter 'Hash'. Cannot convert the "System.Object[]" value 
of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:293 char:95
+ ... r.AlgorithmDual -ne $null) {(ConvertTo-Hash ($Miner.HashRate)) + "/s| ...
+                                                 ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [ConvertTo-Hash], ParameterBindingArgumentTransformationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,ConvertTo-Hash
ConvertTo-Hash : Cannot process argument transformation on parameter 'Hash'. Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:293 char:95
+ ... r.AlgorithmDual -ne $null) {(ConvertTo-Hash ($Miner.HashRate)) + "/s| ...
+                                                 ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [ConvertTo-Hash], ParameterBindingArgumentTransformationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,ConvertTo-Hash

Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:291 char:25
+                         $_.HashRate  = [double]$Miner.HashRate
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException
Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:291 char:25
+                         $_.HashRate  = [double]$Miner.HashRate
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException

Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:292 char:25
+ ...                        $_.HashRateDual  = [double]$Miner.HashRateDual
+                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException
Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:292 char:25
+ ...                        $_.HashRateDual  = [double]$Miner.HashRateDual
+                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException

>> TerminatingError(ConvertTo-Hash): "Cannot process argument transformation on parameter 'Hash'. Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double"."
ConvertTo-Hash : Cannot process argument transformation on parameter 'Hash'. Cannot convert the "System.Object[]" value 
of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:293 char:95
+ ... r.AlgorithmDual -ne $null) {(ConvertTo-Hash ($Miner.HashRate)) + "/s| ...
+                                                 ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [ConvertTo-Hash], ParameterBindingArgumentTransformationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,ConvertTo-Hash
ConvertTo-Hash : Cannot process argument transformation on parameter 'Hash'. Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:293 char:95
+ ... r.AlgorithmDual -ne $null) {(ConvertTo-Hash ($Miner.HashRate)) + "/s| ...
+                                                 ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [ConvertTo-Hash], ParameterBindingArgumentTransformationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,ConvertTo-Hash

Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:291 char:25
+                         $_.HashRate  = [double]$Miner.HashRate
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException
Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:291 char:25
+                         $_.HashRate  = [double]$Miner.HashRate
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException

Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:292 char:25
+ ...                        $_.HashRateDual  = [double]$Miner.HashRateDual
+                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException
Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:292 char:25
+ ...                        $_.HashRateDual  = [double]$Miner.HashRateDual
+                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [], RuntimeException
    + FullyQualifiedErrorId : ConvertToFinalInvalidCastException

>> TerminatingError(ConvertTo-Hash): "Cannot process argument transformation on parameter 'Hash'. Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double"."
ConvertTo-Hash : Cannot process argument transformation on parameter 'Hash'. Cannot convert the "System.Object[]" value 
of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:293 char:95
+ ... r.AlgorithmDual -ne $null) {(ConvertTo-Hash ($Miner.HashRate)) + "/s| ...
+                                                 ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [ConvertTo-Hash], ParameterBindingArgumentTransformationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,ConvertTo-Hash
ConvertTo-Hash : Cannot process argument transformation on parameter 'Hash'. Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Double".
At C:\Users\alex\Desktop\Megaminer-3.0\core.ps1:293 char:95
+ ... r.AlgorithmDual -ne $null) {(ConvertTo-Hash ($Miner.HashRate)) + "/s| ...
+                                                 ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [ConvertTo-Hash], ParameterBindingArgumentTransformationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,ConvertTo-Hash

and in the table output

Algorithm       Coin             Miner                Speed             BTC/Day USD/Day Pool         PoolWorkers
---------       ----             -----                -----             ------- ------- ----         -----------
MYRIAD-GROESTL                   ccminerAlexis78      Benchmarking Benchmarking   0.000 ZPOOL                 34
LYRA2V2                          ccminerAlexis78      Benchmarking Benchmarking   0.000 ZPOOL                301
NIST5                            ccminerAlexis78      Benchmarking Benchmarking   0.000 ZPOOL                 63
SKEIN                            ccminerAlexis78      Benchmarking Benchmarking   0.000 ZPOOL                342
QUARK                            ccminerAlexis78      Benchmarking Benchmarking   0.000 H.RFRY                 4
LBRY                             ccminerAlexis78      Benchmarking Benchmarking   0.000 ZPOOL                 40
EQUIHASH        zcash            EWBF                 Benchmarking Benchmarking   0.000 MPH
ETHASH          musicoin         ClaymoreETH          Benchmarking Benchmarking   0.000 MPH
EQUIHASH        zclassic         EWBF                 Benchmarking Benchmarking   0.000 MPH
BLAKE2S                          ccminerAlexis78      Benchmarking Benchmarking   0.000 ZPOOL                249
BITCORE                          ccminer-2.2          Benchmarking Benchmarking   0.000 ZPOOL                 11
SKUNK                            CcminerTpruvot       Benchmarking Benchmarking   0.000 ZPOOL                161
HMQ1725                          CcminerTpruvot       Benchmarking Benchmarking   0.000 ZPOOL                 39
KECCAK                           CcminerTpruvot       Benchmarking Benchmarking   0.000 ZPOOL                  5
EQUIHASH                         EWBF                 Benchmarking Benchmarking   0.000 ZPOOL                 61
NEOSCRYPT                        CcminerTpruvot       Benchmarking Benchmarking   0.000 ZPOOL               2410
BLAKE14R                         CcminerTpruvot       Benchmarking Benchmarking   0.000 ZPOOL                429
GROESTL                          CcminerKlaust        Benchmarking Benchmarking   0.000 ZPOOL                  7
QUBIT                            ccminerAlexis78Cuda8 Benchmarking Benchmarking   0.000 H.RFRY                 2
C11                              CcminerSp-mod        Benchmarking Benchmarking   0.000 ZPOOL                 32
BLAKECOIN                        CcminerTpruvot       Benchmarking Benchmarking   0.000 ZPOOL                 65
JHA                              CcminerTpruvot       Benchmarking Benchmarking   0.000 ZPOOL                  4
ETHASH          expanse          ClaymoreETH          Benchmarking Benchmarking   0.000 MPH
QUBIT           geocoin          ccminerAlexis78Cuda8 Benchmarking Benchmarking   0.000 MPH
QUBIT           digibyte         ccminerAlexis78Cuda8 Benchmarking Benchmarking   0.000 MPH
GROESTL         groestlcoin      CcminerKlaust        Benchmarking Benchmarking   0.000 MPH
CRYPTONIGHT     monero           ccminer-2.2          Benchmarking Benchmarking   0.000 MPH
SKEIN           myriad           ccminerAlexis78      Benchmarking Benchmarking   0.000 MPH
MYRIAD-GROESTL  digibyte         ccminerAlexis78      Benchmarking Benchmarking   0.000 MPH
LYRA2V2         vertcoin         ccminerAlexis78      Benchmarking Benchmarking   0.000 MPH
SKEIN           digibyte         ccminerAlexis78      Benchmarking Benchmarking   0.000 MPH
MYRIAD-GROESTL  myriad           ccminerAlexis78      Benchmarking Benchmarking   0.000 MPH
LYRA2Z          zcoin            CcminerTpruvot       Benchmarking Benchmarking   0.000 MPH
ETHASH          ethereum         ClaymoreETH          Benchmarking Benchmarking   0.000 MPH
NEOSCRYPT       feathercoin      CcminerTpruvot       Benchmarking Benchmarking   0.000 MPH
ETHASH          ethereum-classic ClaymoreETH          Benchmarking Benchmarking   0.000 MPH
KECCAK          maxcoin          CcminerTpruvot       Benchmarking Benchmarking   0.000 MPH
ETHASH|BLAKE14R ethereum|        ClaymoreDual120                                        MPH|ZPOOL {$null, $null}
ETHASH|BLAKE14R ethereum|        ClaymoreDual100                                        MPH|ZPOOL {$null, $null}
ETHASH|BLAKE14R ethereum|        ClaymoreDual80                                         MPH|ZPOOL {$null, $null}
ETHASH|BLAKE14R ethereum|        ClaymoreDual60                                         MPH|ZPOOL {$null, $null}
ETHASH|BLAKE14R ethereum|        ClaymoreDual40                                         MPH|ZPOOL {$null, $null}
VELTOR                           ccminerAlexis78      30.89 MH/s        0.00053   2.230 ZPOOL                 12
TIMETRAVEL                       ccminerSKUNKKrnlx    23.83 MH/s        0.00041   1.713 ZPOOL                  4
X11EVO                           ccminerAlexis78      13.62 MH/s        0.00037   1.576 ZPOOL                 15
X11GOST                          ccminerAlexis78Cuda8 10.76 MH/s        0.00036   1.518 ZPOOL                 15
X17                              ccminerAlexis78      10.31 MH/s        0.00031   1.297 ZPOOL                 11
TIMETRAVEL                       CcminerTpruvot       15.26 MH/s        0.00026   1.096 ZPOOL                  4
TRIBUS                           CcminerTpruvot       41.42 MH/s        0.00016   0.688 ZPOOL                  4
X13                              ccminerAlexis78      11.45 MH/s        0.00006   0.249 H.RFRY                 2
X11             dash             ccminerAlexis78      15.09 MH/s        0.00003   0.121 MPH
X11             adzcoin          ccminerAlexis78      15.09 MH/s        0.00002   0.100 MPH
X14                              ccminerAlexis78      11.15 MH/s        0.00002   0.097 ZPOOL                  5
X11                              ccminerAlexis78      15.09 MH/s        0.00002   0.093 H.RFRY                 2
X11             startcoin        ccminerAlexis78      15.09 MH/s        0.00002   0.090 MPH
X15                              CcminerTpruvot       8.95 MH/s         0.00001   0.027 ZPOOL                 18
tutulino commented 7 years ago

Fixing now

alexrogers commented 7 years ago

great, I just noticed that closing and restarting the script appears to fix the issue, until you try and run benchmarks against those dualminers again.

tutulino commented 7 years ago

Error showns in second interval, i have seen after release, i´m testing solution now for next release (and a surprise )