Quake4 / MindMiner

MindMiner - the miner manager programm with online monitoring
http://mindminer.online
GNU General Public License v3.0
108 stars 35 forks source link

Errors on Initial Run #3

Closed DonavonPage closed 6 years ago

DonavonPage commented 6 years ago

On initial setup, I fill in the info for the config.txt file, the file is created, and I get this error on startup:

capture0

All these errors once the miners are loaded:

capture

Did I miss a step?

Here is a copy of the config.txt file that it created: (Should Currencies be null?)

{ "Region": "Europe", "SSL": true, "Wallet": { "BTC": "redacted" }, "WorkerName": "MindMiner", "Login": "redacted", "Password": "x", "CheckTimeout": 5, "LoopTimeout": 60, "NoHashTimeout": 10, "AverageCurrentHashSpeed": 180, "AverageHashSpeed": "1 day", "AllowedTypes": [ "nVidia", "AMD", "Intel" ], "Verbose": "Normal", "Currencies": null }

Quake4 commented 6 years ago

thanks. Please install Microsoft .NET Framework 4.5 or above. https://msdn.microsoft.com/en-us/library/5a4x27ek(v=vs.110).aspx

Quake4 commented 6 years ago

please start from simple config: { "Wallet": { "BTC": "Your BTC wallet" }, "WorkerName": "Rig/Computer Name", "Login": "Login for Pool with registration", "AllowedTypes": [ "CPU", "nVidia", "AMD", "Intel" ], "Currencies": { "BTC": 8, "USD": 2 } }

Quake4 commented 6 years ago

Hi Donavon! Working?

DonavonPage commented 6 years ago

Going to grab the .45 update and see...

There is an issue apparently with the BinFolder parameter not looking in the right place so it is not finding the detectors. After I put the full path in Get-Config.ps1:

                            [Config]::CPUFeatures = Get-CPUFeatures ("C:\BitcoinMining\MindMiner-master\bin")
                            [Config]::AMDPlatformId = Get-AMDPlatformId ("C:\BitcoinMining\MindMiner-master\bin")

that issue is fixed. It is passing null to Get-CPUFeatures([Parameter(Mandatory)][string] $bin) otherwise so apparently BinLocation is not getting set before the call?

It is running benchmarking now (on the .45 update) so definitely further than it was getting.

Thanks! Donavon

From: Oleg Samsonov [mailto:notifications@github.com] Sent: Saturday, January 27, 2018 2:44 AM To: Quake4/MindMiner MindMiner@noreply.github.com Cc: Donavon G. Page Donavon@Haselwood.com; Author author@noreply.github.com Subject: Re: [Quake4/MindMiner] Errors on Initial Run (#3)

Hi Donavon! Working?

DonavonPage commented 6 years ago

When the script starts a miner, I get this message:

[cid:image001.png@01D39756.48156660]

When I copy the Command from the window and make it so I can run it manually, it starts fine.

[cid:image002.png@01D39756.48156660]

From: Oleg Samsonov [mailto:notifications@github.com] Sent: Saturday, January 27, 2018 2:44 AM To: Quake4/MindMiner MindMiner@noreply.github.com Cc: Donavon G. Page Donavon@Haselwood.com; Author author@noreply.github.com Subject: Re: [Quake4/MindMiner] Errors on Initial Run (#3)

Hi Donavon! Working?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Quake4/MindMiner/issues/3#issuecomment-360976317, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AiMK4D0B5tPjVrWBC4eM2_YjjXhE0961ks5tOv3egaJpZM4Ru1cN.

DonavonPage commented 6 years ago

Currencies still not processing correctly. Keeps ending up being null so doesn’t show BTC or USD columns.

I have to enter them manually into the config file: "Currencies": { "BTC": 8, "USD": 2 }

From: Oleg Samsonov [mailto:notifications@github.com] Sent: Saturday, January 27, 2018 2:44 AM To: Quake4/MindMiner MindMiner@noreply.github.com Cc: Donavon G. Page Donavon@Haselwood.com; Author author@noreply.github.com Subject: Re: [Quake4/MindMiner] Errors on Initial Run (#3)

Hi Donavon! Working?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Quake4/MindMiner/issues/3#issuecomment-360976317, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AiMK4D0B5tPjVrWBC4eM2_YjjXhE0961ks5tOv3egaJpZM4Ru1cN.

Quake4 commented 6 years ago

BinLocation transmit normally, else not working nothing. Please, attach images frome above. If you use drive "c:", please add rights your windows user to folder ""C:\BitcoinMining\MindMiner-master" or try move MindMiner to My Documents.

Quake4 commented 6 years ago

Currencies fixed. Thanks for report error with Rates[0][0].

Quake4 commented 6 years ago

BinFolder parameter not looking in the right place

Where programm looking?

Quake4 commented 6 years ago

Donavon, you run programm from run.bat?

DonavonPage commented 6 years ago

Was not running run.bat because it errors out. [cid:image001.png@01D39781.58494AD0]

From: Oleg Samsonov [mailto:notifications@github.com] Sent: Saturday, January 27, 2018 1:38 PM To: Quake4/MindMiner MindMiner@noreply.github.com Cc: Donavon G. Page Donavon@Haselwood.com; Author author@noreply.github.com Subject: Re: [Quake4/MindMiner] Errors on Initial Run (#3)

Donavon, you run programm from run.bat?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Quake4/MindMiner/issues/3#issuecomment-361017215, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AiMK4Jy75ID0GFbyhmIscZl41BQWYOwMks5tO5c2gaJpZM4Ru1cN.

Quake4 commented 6 years ago

Plesase attach screen on github site. Its dont showing.

DonavonPage commented 6 years ago

The bat doesn't work because my default directory for powershell is one directory up. If I fix that issue, then it will start, but then it cannot find the '.\Code\Out-Data.ps1' pathing. I don't really want it automatically updating the files anyway because when it does, all the ps1 files get marked as untrusted and I have to fix that before anything else will work. Running just the MindMiner.ps1 is working after hard-coding the default BinLocation and entering currencies in config.txt manually.

DonavonPage commented 6 years ago

Got everything working! Your code is much better than what I had been using (Nemos_Miner)! Well done!

A couple of thoughts, suggestions:

  1. Make update optional.

    • I don’t know if everyone has this issue, but after an update, nothing will work until I touch all the ps1 files to tell my computer to “Unblock” the files. I don’t always have time to do this to get things running again! 😊 i. If you convert your startup .bat to a .ps1, maybe you can include this line to unblock the files automatically:

      • Get-ChildItem .\ -file *.ps1 -recurse | Unblock-File
  2. Make “WorkerName” default to the name of the computer.

    • In Config.ps1 i. [string] $WorkerName = $env:computername

    • Then I just delete WorkerName from config.txt file and then I can copy the MindMiner folder to other computers and not have to re-configure them in any way

  3. I converted the startup .bat to a .ps1 and this works to resolve my issue with my default powershell folder not being the root install location of MindMiner. It also fixes my issue with the “Bin” location setting. (I was still having to hard-code the Bin location in Config.ps1.)
    • cd .\MindMiner-master\
    • .\MindMiner.ps1

Donavon Page

From: Oleg Samsonov [mailto:notifications@github.com] Sent: Sunday, January 28, 2018 12:26 AM To: Quake4/MindMiner MindMiner@noreply.github.com Cc: Donavon G. Page Donavon@Haselwood.com; Author author@noreply.github.com Subject: Re: [Quake4/MindMiner] Errors on Initial Run (#3)

Plesase attach screen on github site. Its dont showing.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Quake4/MindMiner/issues/3#issuecomment-361046283, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AiMK4Dua6mG_Vm3tk0xxaWKmHN4udZjzks5tPC8ugaJpZM4Ru1cN.

Quake4 commented 6 years ago

Hi, Donavon.

Your code is much better than what I had been using

Thanks.

maybe you can include this line to unblock the files automatically Make “WorkerName” default to the name of the computer.

Yes. Included in 0.50. Thanks, for the very good ideas.

I converted the startup .bat to a .ps1 and this works to resolve my issue with my default powershell folder not being the root install location of MindMiner.

How I can set default powershell folder to test this use case?

DonavonPage commented 6 years ago

How I can set default powershell folder to test this use case? To set powershell default startup location:

  1. In “Documents” create a folder called “WindowsPowerShell”

  2. Create a file in that folder called “Profile.ps1”

  3. In that file, add a change directory line

    • Cd c:\altcoinmining\

[cid:image003.png@01D3999E.9D2F1F70]

After doing this, whenever the user opens powershell, it will start in the indicated directory

Donavon

From: Oleg Samsonov [mailto:notifications@github.com] Sent: Monday, January 29, 2018 10:30 PM To: Quake4/MindMiner MindMiner@noreply.github.com Cc: Donavon G. Page Donavon@Haselwood.com; State change state_change@noreply.github.com Subject: Re: [Quake4/MindMiner] Errors on Initial Run (#3)

Hi, Donavon.

Your code is much better than what I had been using

Thanks.

maybe you can include this line to unblock the files automatically Make “WorkerName” default to the name of the computer.

Yes. Included in 0.50.

I converted the startup .bat to a .ps1 and this works to resolve my issue with my default powershell folder not being the root install location of MindMiner.

How I can set default powershell folder to test this use case?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/Quake4/MindMiner/issues/3#issuecomment-361490463, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AiMK4OQRh3FBtxYlJtW1az4AFfl8uQmMks5tPrcDgaJpZM4Ru1cN.

Quake4 commented 6 years ago

Hi, Donavon Page.

Please, download new version 0.51. Run.bat has fix to powershell user profile.

Thank you for your cooperation.