luke-jr / bfgminer

Modular ASIC/FPGA miner written in C, featuring overclocking, monitoring, fan speed control and remote interface capabilities.
http://luke.dashjr.org/programs/bitcoin/files/bfgminer/
Other
1.85k stars 816 forks source link

Too many values passed to set temp cutoff #278

Open udovdh opened 11 years ago

udovdh commented 11 years ago

It says 'Too many values passed to set temp cutoff' on startup after writing a config file with 6 erupters running. The conf has:

, "temp-cutoff" : "95,95,95,95,95,95", "temp-target" : "89,89,89,89,89,89", "api-mcast-port" : "4028",

udovdh commented 11 years ago

As per your comment in #239 "you are reporting a message indicating user error.": Please explain why starting bfgminer and writing a config file should result in a situation which makes it unable to (re)start bfgminer because of a parameter not used w.r.t. erupters a.f.a.i.k.

luke-jr commented 11 years ago

Writing a config is intended to save your current configuration, not create a generic one-size-fits all config file. For the latter, you really need to handle edit it to match your needs. Even if BFGMiner were to ignore this error (which could be dangerous since it's dealing with overheating conditions), I doubt there won't be other subtle issues. My todo list does involve making configuration less order-dependent so things might work more smoothly in the future, it just isn't a high priority right now.