Hi papampi,
great work until my small help on WTM scripts. Congratulation!!
I using testing nvOC-19-2.0 community, now. I've a small problem with auto switching WTM coins... Detected new one, but no switch...
Log for WTM:
Currently mining ALTCOM coin is no longer more profitabile with 249
Switching to new MONA coin 190
Set up coin in 1bash is still:
COIN="ALTCOM"
Thanks for advice.
Hi mate and thanks again for your helps in wtm python script
Will check now, see if I can find the problem
Edit 1:
Just checked 8wtm_auto_switch script and it switched between MONA and ALTCOM with no problem.
Can you check and see if WTM_SWITCHER can write to WTM_top_coin or not?
May be a permission problem
Does other coins switch?
Edit 2:
Please put this in a test file and run with different coins in WTM_top_coin and 1bash COIN see if it can change 1bash or not
#!/bin/bash
source /home/m1/1bash
CURRENT_COIN=$COIN
TOP_COIN=$(cat /home/m1/WTM_top_coin | sed 's/:[0-9]*//' )
echo "$CURRENT_COIN"
echo "$TOP_COIN"
if [[ "$CURRENT_COIN" != "$TOP_COIN" ]]; then
sed -i '/^#/!s/'COIN=\"$CURRENT_COIN\"'/'COIN=\"$TOP_COIN\"/'' /home/m1/1bash
source /home/m1/1bash
CURRENT_COIN=$COIN
TOP_COIN=$(cat /home/m1/WTM_top_coin | sed 's/:[0-9]*//' )
echo "Changed"
echo "Current Coin: $CURRENT_COIN"
echo "Top Coin: $TOP_COIN"
else
echo "same coin"
source /home/m1/1bash
CURRENT_COIN=$COIN
TOP_COIN=$(cat /home/m1/WTM_top_coin | sed 's/:[0-9]*//' )
echo "Current Coin: $CURRENT_COIN"
echo "Top Coin: $TOP_COIN"
fi
Sorry for delayed answer. So, I try on both rigs with 19-2.0. I set ALTCOM in 1bash, in WTM_top_coin set SIB. After that, restart mining process. Unfortunately, rig still mining coin defined in 1bash and ZCL has better profit... :-(
Maybe this's a problem:
LAUNCHING: WTM AUTO SWITCH
(guake:3528): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Failed to connect to socket /tmp/dbus-0sUOkeQRt8: Connection refused
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/lib/python2.7/dist-packages/guake/main.py", line 239, in
exec_main()
File "/usr/lib/python2.7/dist-packages/guake/main.py", line 230, in exec_main
if not test_gconf():
File "/usr/lib/python2.7/dist-packages/guake/common.py", line 52, in test_gconf
return c.dir_exists('/apps/guake')
glib.GError: No D-BUS daemon running