Re: Hblink Stopped working...


GB7NR Support
 

Hi, 

looks like a corrupt JSON file upon auto download. Let’s see the output from your log file on that time stamp, just the snippet from the start of the error to the end will do.

 You will need to probably delete the JSON files that are automatically downloaded. These are “peer_ids.json”, “subscriber_ids.json”,” etc etc. Normally these are pulled from radioID when TRY_DOWNLOAD: True is enabled in hblink.cfg. Obviously by the looks of it one of these has failed or part downloaded and corrupted one of them. HBLink has failed to read this and thrown a decode error.. also make sure your “talkgroup_ids.json” has been edited with the correct syntax for JSON format. 

Try deleting “peer_ids.json” & “subscriber_ids.json” and restarting the service!

Shane 
M0VUB 

On 15 Apr 2022, at 21:42, Steve Siesel [K4KSA] <steve@...> wrote:



 

All,

 

I am getting the following after trying to start HBlink3

 

I don’t think I messed with anything….any thoughts?

 

● hblink.service - Start HBLink

   Loaded: loaded (/lib/systemd/system/hblink.service; enabled; vendor preset: enabled)

   Active: failed (Result: exit-code) since Fri 2022-04-15 16:29:10 EDT; 45s ago

  Process: 472 ExecStart=/usr/bin/python3 /opt/HBlink3/bridge.py (code=exited, status=1/FAILURE)

Main PID: 472 (code=exited, status=1/FAILURE)

 

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/__init__.py", line 319, in loads

Apr 15 16:29:10 fldmr python3[472]:     return _default_decoder.decode(s)

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/decoder.py", line 339, in decode

Apr 15 16:29:10 fldmr python3[472]:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())

Apr 15 16:29:10 fldmr python3[472]:   File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode

Apr 15 16:29:10 fldmr python3[472]:     raise JSONDecodeError("Expecting value", s, err.value) from None

Apr 15 16:29:10 fldmr python3[472]: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Main process exited, code=exited, status=1/FAILURE

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Unit entered failed state.

Apr 15 16:29:10 fldmr systemd[1]: hblink.service: Failed with result 'exit-code'.

root@fldmr:/home/k4ksa#

 

 

Steve

 

Join HBlink@DVSwitch.groups.io to automatically receive all group messages.