Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal JSON Error Loading Config file #38

Closed
NNygren opened this issue Jan 25, 2014 · 3 comments
Closed

Fatal JSON Error Loading Config file #38

NNygren opened this issue Jan 25, 2014 · 3 comments

Comments

@NNygren
Copy link

NNygren commented Jan 25, 2014

Everytime I start up sgminer it throws an error.

[21:33:26] Started sgminer 4.0.0
[21:33:26] Loaded configuration file /home/nate/.sgminer/sgminer.conf
[21:33:26] Fatal JSON error in configuration file.
[21:33:26] Configuration file could not be used.
[21:33:26] Need to specify at least one pool server.

sgminer.conf:

{
"pools" : [
{
"url" : "http://107.170.7.72:19327",
"user" : "6zLgmL9pE4LfrwKPM6XhUQ1CCBZ9jTLWrv",
"pass" : "x"
}
]
,
"intensity" : "13,
"xintensity" : "0,
"rawintensity" : "0",
"worksize" : "256",
"kernel" : "scrypt",
"lookup-gap" : "0",
"thread-concurrency" : "16384",
"shaders" : "0",
"api-mcast-port" : "4028",
"api-port" : "4028",
"expiry" : "120",
"failover-switch-delay" : "60",
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "2",
"log" : "5",
"no-pool-disable" : true,
"queue" : "1",
"scan-time" : "30",
"tcp-keepalive" : "30",
"shares" : "0",
"kernel-path" : "/usr/local/bin"
}

@gacheson
Copy link
Contributor

sgminer writes "intensity" and "xintensity" settings to the configuration file incorrectly. There is an incomplete delimiter (") for both. Resolving that problem should fix the fatal error.

@NNygren
Copy link
Author

NNygren commented Jan 25, 2014

Good observation! I deleted those lines from the config file and it still seems to be having trouble with the line:
"no-pool-disable" : true,

@tixi
Copy link

tixi commented Jan 25, 2014

I guess it is the same issue as issue #39
check it for a patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants