Post
Topic
Board Altcoin Discussion
Re: [ANN] CryptoSwitcher - Automatically mine the best coin.
by
heartofalion
on 02/07/2013, 02:39:56 UTC
Hey guys I have been trying to get this running for a few hours now and I can't for the life of me figure out what I am missing here.  I keep getting this error message:

Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>cd c:\cryptoswitcher

c:\CryptoSwitcher>python cryptoswitcher.py
ERROR: Cannot read source from config file.

c:\CryptoSwitcher>cryptoswitcher.py
ERROR: Cannot read source from config file.

c:\CryptoSwitcher>

I followed the steps in this thread and have everything installed correctly to my knowledge.  Here is my cryptoswitcher.config file:

Code:
# -------------------------------------------------#
# Cryptocurrency mining switcher config file       #
# TipJar (BTC): 1NhathL6LpcgofDnHELSS6Hej6kU9xrVgp #
# Author: area                                     #
# -------------------------------------------------#


################################################################################
[MineCoins]

# Enable the coins you want to mine here.
mineAMC = False
mineARG = False
mineBQC = False
mineBTB = False
mineBTC = False
mineCNC = False
mineDGC = True
mineELC = False
mineEZC = False
mineFRC = False
mineFRK = False
mineFST = False
mineFTC = True
mineHYC = False
mineLKY = True
mineLTC = True
mineMEM = True
mineMNC = False
mineNBL = False
mineNVC = False
minePPC = False
minePXC = True
mineTRC = False
mineWDC = True

# Listed against LTC only (currently unusable by CS)
mineDBL = False
mineGLD = False
mineJKC = False
mineRYC = False

# No data available from sources
mineBTE = False
minePWC = False
mineMEC = False
mineYAC = False

# BTC Merged mining coins. Will be added to Bitcoin profitibilty when enabled.
mineDVC = False
mineIXC = False
mineNMC = False

# Enable to mine vanity addresses.
mineVANITY = False


################################################################################
[Scripts]

# You should have scripts that stop all other forms of mining, set all necesary
#  environment variables, and start mining the appropriate coin.

# Examples included are 'litecoin.sh.sample' and 'bitcoin.sh.sample'.
# Any coins you aren't mining you can just leave blank.
# For Windows you can use bat-files, eg "BTCscript = bitcoin.bat".
AMCscript =
ARGscript =
BQCscript =
BTBscript =
BTCscript = bitcoin.bat
BTEscript =
CNCscript =
DBLscript =
DGCscript = dgc-ftc-skyhighmining.bat
ELCscript =
EZCscript =
FRCscript =
FRKscript =
FSTscript =
FTCscript = ftc-skyhighmining.bat
GLDscript =
HYCscript =
JKCscript =
LKYscript = lcky-ltc-skyhighmining.bat
LTCscript = ltc-skyhighmining.bat
MECscript = mec-ltc-skyhighmining.bat
MEMscript = meme-ftc-skyhighmining.bat
MNCscript =
NBLscript =
NVCscript =
PPCscript =
PWCscript =
PXCscript = phnx-ltc-skyhighmining.bat
RYCscript =
TRCscript =
WDCscript = wdc-ftc-skyhighmining.bat
YACscript =

VANITYscript =


################################################################################
[Fees]

# Set specific fees for every coin (in percent).
# The fee simply adds to the profitability before calculating the most profitable coin.
# Negative values are also allowed, they increase the profitability.
feeAMC = 0
feeARG = 0
feeBQC = 0
feeBTB = 0
feeBTC = 1.5
feeBTE = 0
feeCNC = 0
feeDBL = 0
feeDGC = 15
feeELC = 0
feeEZC = 0
feeFRC = 0
feeFRK = 0
feeFST = 0
feeFTC = 5
feeGLD = 0
feeHYC = 0
feeJKC = 0
feeLKY = 5
feeLTC = 5
feeMEC = 5
feeMEM = 5
feeMNC = 0
feeNBL = 0
feeNVC = 0
feePPC = 0
feePWC = 0
feePXC = 5
feeRYC = 0
feeTRC = 0
feeWDC = 15
feeYAC = 0


################################################################################
[Data-Source]

# Source list for determining mining profitability.
# The first entry in the source list has the highest priority and is used first.
# If the site is down or a certain coin is not found the next source is used.
# Available sources: cryptoswitcher, coinotron, coinchoose, dustcoin
source=coinchoose, coinotron, dustcoin, cryptoswitcher

# If using CryptoSwitcher as a source, list markets to source prices from.
# Difficulty is acquired from coinchoose and cryptocoinexplorer.
# Available sources: btce, bter, vircurex, cryptsy
source_cryptoswitcher=cryptsy, btce, bter, vircurex

# Hashrates used in calculations when using CryptoSwitcher as a source.
# Measured in hashes per second. Can be acquired by testmining with cgminer.
# sha256 is used by Bitcoin etc. while scrypt is used by Litecoin etc.
hashrate_sha256=5800000
hashrate_scrypt=5800000


################################################################################
[Misc]

# Idle Time (in minutes) between two checks of coin profitability.
idletime = 5

# Gigahash per second you can output doing normal BTC mining.
ghashpersec = 0.7

# Gigakeys per second you can output doing vanity address mining.
gkeypersec = 0.05

# Trade multiplier - if not 1, sells not at the highest bid, but at this
#  multiple of it.  
tradeMultiplier = 1.01


################################################################################
[Sell]

# If you want to sell your coins ASAP after mining, enable an exchange here.
# This will automatically sell flagged coins for BTC ONLY.

# BTC-e
enableBTCE = False
# You'll need to configure your API key, secret, and a nonce in "key.sample".
# Rename this file to "key".

# VirCurEx
enableVircurex = False
vircurexUsername = VCEUSERNAME
vircurexSecret = APISECRET

# Cryptsy
enableCryptsy = True
cryptsyPublicKey =
cryptsyPrivateKey =

# Enable the coins you want to sell here.
sellAMC = False
sellARG = False
sellBQC = False
sellBTB = False
sellBTE = False
sellCNC = False
sellDBL = False
sellDGC = True
sellELC = False
sellEZC = False
sellFRC = False
sellFRK = False
sellFST = False
sellFTC = False
sellGLD = False
sellHYC = False
sellJKC = False
sellLKY = True
sellLTC = False
sellMEC = True
sellMEM = True
sellMNC = False
sellNBL = False
sellNVC = False
sellPPC = False
sellPWC = False
sellPXC = True
sellRYC = False
sellTRC = False
sellWDC = True
sellYAC = False
mineDVC = False
mineIXC = False
mineNMC = False

I have all of those .bat files in my cgminer folder along with all of the cryptoswitcher items.  I am sure I am missing something simple I just can't figure it out.

If anybody has any ideas It would be greatly welcomed.

I hate to bump my own post but this has my head spinning.  I have tried to google and research this issue with no answer anywhere that I can find.  I would  really love to get this working to try out the program.  Again any and all advice is welcome.  Thanks again in advance.

stupid question but you have the .conf file in the same directory as the .py file right? Also make sure the extension is .conf and not .config