Open jchoover opened 3 years ago
i have this in my logs as well.
Google says that it's an error caused by trying to use the +=
operator on a PSObject array.
The text "Starting Cycle" is in Core.ps1 at Line 194. The nearest occurrence of +=
is on Line 315:
$PoolFilter = @()
$Config.PoolName | foreach {$PoolFilter+=($_+=".*")}
But the line before is...
$Variables.StatusText = "Loading pool stats.." $PoolFilter = @() $Config.PoolName | foreach {$PoolFilter+=($_+=".*")} Do { $Tries++ $AllPools = if(Test-Path "Pools"){[System.Collections.ArrayList]::Synchronized(@(Get-SubScriptContent "Pools" -Include $PoolFilter)).Where({$_.Content -ne $Null}) | ForEach {$_.Content | Add-Member @{Name = $_.Name} -PassThru} | Where { $_.SSL -EQ $Config.SSL -and ($Config.PoolName.Count -eq 0 -or ($_.Name -in $Config.PoolName)) -and (!$Config.Algorithm -or ((!($Config.AlgoInclude) -or $_.Algorithm -in $Config.AlgoInclude) -and (!($Config.AlgoExclude) -or $_.Algorithm -notin $Config.AlgoExclude))) } } if ($AllPools.Count -eq 0) { $Variables.StatusText = "Waiting for pool data. retrying in 30 seconds.." Sleep 30 } } While ($AllPools.Count -eq 0 -and $Tries -le 3) $Tries = 0 $Variables.StatusText = "Computing pool stats.."
And we have:
`Starting Cycle Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'.
Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'.
Loading currencies rate from 'api.coinbase.com'.. Loading pool stats.. Computing pool stats.. Loading miners..`
NPlusMiner ZPool Edition 8.1.0
Starting Cycle Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'.
Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'.
Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'.