Post
Topic
Board Mining software (miners)
Re: CGWatcher 1.2.8, the GUI/monitor for CGMiner and BFGMiner to prevent downtime
by
ajw107
on 21/08/2013, 17:28:01 UTC
  • Start miner/Restart miner re-written to create temporary copies of config files and batch files so originals aren't modified in case they're being shared. Improved handling for batch files with longer wait times.

Hi, there seems to be a bug with this new feature if you start the miner using a bat file.  I use one as I am mining LTC, so I need to set the two variables beforehand.  But the temp bat file seems to mess up if there are spaces in the temp config (i.e. CGWatcher) path.  e.g:
Original Bat File:
Quote
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
"D:\Windows Folders\Downloads\Compressed\cgminer-3.3.4-windows\cgminer.exe"  --config "D:\Windows Folders\Downloads\Compressed\cgminer-3.3.4-windows\cgminer.conf"

Temp Bat File:
Quote
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
"D:\Windows Folders\Downloads\Compressed\cgminer-3.3.4-windows\cgminer.exe" Folders\Downloads\Compressed\CGWatcher-1.2.7\temp.conf --api-listen --api-allow W:127.0.0.1 --api-port 4029 --config "D:\Windows Folders\Downloads\Compressed\CGWatcher-1.2.7\temp.conf"

Note how the path to the temp file is not quoted, and starts at "Folders", chopping off the initial "D:\Windows "

Just though you should should know.  Also I have to congratulate you for a brilliant program, the ability to restart a GPU/ASIC when sick and you aren't there is a lifesaver.  Plus the program is so configurable, easy to use, and love that it describes the config file settings, and automates a few things.
Alex