zrhoffman commented on PR #7450:
URL: https://github.com/apache/trafficcontrol/pull/7450#issuecomment-1555042510

   > > Expecting value: line 2 column 1 (char 1)
   > 
   > I looked at the traceback and the line (998) where the error is being 
generated and it is not informative. ` Expecting value: line 2 column 1 (char 
1)`
   
   The error is happening at the top line of the stack trace:
   
   ```
     File "/opt/traffic_ops/install/bin/_postinstall.py", line 994, in 
generate_cdn_conf
       existing_conf = json.load(conf_file)
     File "/usr/lib64/python3.6/json/__init__.py", line 299, in load
       parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
     File "/usr/lib64/python3.6/json/__init__.py", line 354, in loads
       return _default_decoder.decode(s)
     File "/usr/lib64/python3.6/json/decoder.py", line 339, in decode
       obj, end = self.raw_decode(s, idx=_w(s, 0).end())
     File "/usr/lib64/python3.6/json/decoder.py", line 357, in raw_decode
       raise JSONDecodeError("Expecting value", s, err.value) from None
   json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)
   ```
   
   so `_postinstall.py", line 994, in generate_cdn_conf`
   
   
https://github.com/apache/trafficcontrol/blob/7390acc5769838aff9d588ac55f96ccf03f2f464/traffic_ops/install/bin/_postinstall.py#L994


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to