ValueError on cloudzec --init
letroll opened this issue · 2 comments
letroll commented
Hello,
I want use cloudzec on my raspberry pi with my Archlinux arm install.
I don't know if it's an arm's issue, but when I launch "coudzec --init" I have an error :
Traceback (most recent call last):
File "/usr/bin/cloudzec", line 145, in <module>
main()
File "/usr/bin/cloudzec", line 111, in main
c = libcloudzec.CloudZec(genMasterKey=True, debug=DEBUG)
File "/usr/lib/python3.4/libcloudzec.py", line 114, in __init__
self.loadConfiguration()
File "/usr/lib/python3.4/libcloudzec.py", line 230, in loadConfiguration
conf = json.load(fIn)
File "/usr/lib/python3.4/json/__init__.py", line 268, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib/python3.4/json/__init__.py", line 318, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.4/json/decoder.py", line 361, in raw_decode
raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 11 column 17 (char 261)
can you help me?
KopfKrieg commented
Hm, it seems that the configuration file could not be loaded.
Could you please post the output of
cloudzec --verbose
# and
cloudzec --verbose --init
# and
ls -l ~/.cloudzec
Is your archlinux arm up to date?
You can also try to remove ~/.cloudzec and run cloudzec --init --verbose
again.
KopfKrieg commented
Closing this issue because I still can't reproduce the error.