-
-
Save kormat/7ba022a0c561b1e6fd27 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception in handle_shared_certs thread: | |
Traceback (most recent call last): | |
File "/home/scion/scion.git/lib/util.py", line 211, in load_json_file | |
return json.load(f) | |
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 1 column 1 (char 0) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/scion/scion.git/lib/thread.py", line 46, in thread_safety_net | |
return func(*args, **kwargs) | |
File "cert_server.py", line 362, in handle_shared_certs | |
count = self._read_cached_trcs() | |
File "cert_server.py", line 458, in _read_cached_trcs | |
count = self._process_cached_trcs(new, timed_desc=desc) | |
File "/home/scion/scion.git/lib/util.py", line 257, in wrapper | |
ret = f(*args, **kwargs) | |
File "cert_server.py", line 485, in _process_cached_trcs | |
self._store_trc_in_zk(trc_file, trc) | |
File "cert_server.py", line 220, in _store_trc_in_zk | |
tmp = TRC(trc_file) | |
File "/home/scion/scion.git/lib/crypto/certificate.py", line 468, in __init__ | |
self.parse(trc_file) | |
File "/home/scion/scion.git/lib/crypto/certificate.py", line 507, in parse | |
trc = load_json_file(trc_file) | |
File "/home/scion/scion.git/lib/util.py", line 217, in load_json_file | |
(file_path, e)) | |
lib.errors.SCIONJSONError: Error parsing '/home/scion/scion.git/topology/ISD1/certificates/AD12/ISD:2-V:0.crt': Expecting value: line 1 column 1 (char 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment