inhies / cjdcmd

cjdcmd is a command line tool for cjdns
Other
43 stars 16 forks source link

Cannot parse cjdroute.conf (json issue) #48

Open stevenleeg opened 10 years ago

stevenleeg commented 10 years ago

I seem to be running into a json issue while trying to create a .cjdnsadmin file using the cjdnsadmin sub-command:

$ cjdcmd cjdnsadmin --file ./cjdroute.conf
Loading configuration from: /Users/steve/Documents/cjdns/cjdroute.conf... Invalid JSON
Expected bool but received a number
I apologize for not being more helpful
Error loading config: json: cannot unmarshal number into Go value of type bool

For reference, here is my cjdroute.conf (edited to remove private details).

Thanks in advance!