Closed ghost closed 8 years ago
The latest release (v3.2.2) should fix this crash. I think you put something invalid in the auth section of your floorc.json. Something like...
{
"auth": {
"floobits.com": {
"api_key": "...",
"secret": "...",
"username": "..."
},
"debug": "true"
}
}
(Notice that debug is in the auth section, not the global section. Also, its value is a string instead of a boolean.)
Sorry for replying so late. For me, what the source of the error turned out to be was that I was using 4 spaces to indent the JSON in the configuration instead of two. When I corrected it, the error no longer appeared. I assume that this is either unintended behaviour, or just how JSON parsing is itself supposed to work.
Either way, thanks!
Indentation shouldn't matter for JSON. I just tried with no indentation and with 4 spaces, and it worked fine.
When I run
:FlooJoinWorkspace <url>
I get the above error. The URL is valid, other clients like Atom can connect to it just fine. I have done all the setup and have double checked my~/.floorc.json
. What could be wrong here?