JSON decode failed(1): '[' or '{' expected near '

edited February 2016 in Support
Setting up MacMiner for X11 CPU mining and got this error after starting

JSON decode failed(1): '[' or '{' expected near '<

Would greatly appreciate some help in the right direction, thanks.


  • I've discovered that on OSX 10.11, El Capitan, that if you Edit Manually, to edit the bfguils.conf file, it introduces oddities that Jason falls over, and MacMiner refuses to start.
    You MUST create and edit that file in vi, or vim as its often called. PURE text. I don't know what the MacMiner built in editor is doing, but it introduces hidden, bad characters in.

    The file lives in /Users/your-name/Library/Application Support/MacMiner/bfguils.conf

    to get to it, change to that directory from Terminal, and use vi to create the file.
    Use this with the inverted commas.
    Stop MacMiner - close it down.
    cd "/Users/your-name/Library/Application Support/MacMiner"
    vi bfguils.conf

    save it.
    Start MacMiner - hope for the best. This has been driving me NUTS for days now. But I think I discovered it. Don't edit it from within MacMiner - ever. The moment you do, it's stuffed and NOTHING you do to that file will clean it.
  • This is usually an issue with autocorrect replacing quote marks with curly quotes, which causes a formatting error

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file