Error while trying to run monitor.py


Alejandro Pereida
 

While trying to manually start hbmonitor (monitor.py) I get the following error:

 

2020-10-09 22:15:00,670 INFO monitor.py starting up

2020-10-09 22:15:00,670 INFO 

 

            Copyright (c) 2016, 2017, 2018, 2019

            The Regents of the K0USY Group. All rights reserved.

 

            Python 3 port:

            2019 Steve Miller, KC1AWV <smiller@...>

 

            Version by:      SP2ONG 2019-2020

 

 

2020-10-09 22:15:00,670 INFO ID ALIAS MAPPER: 'peer_ids.json' is current, not downloaded

2020-10-09 22:15:00,670 INFO ID ALIAS MAPPER: 'subscriber_ids.json' is current, not downloaded

2020-10-09 22:15:00,718 INFO ID ALIAS MAPPER: peer_ids dictionary is available

Traceback (most recent call last):

  File "monitor.py", line 819, in <module>

    subscriber_ids = mk_full_id_dict(PATH, SUBSCRIBER_FILE, 'subscriber')

  File "/usr/local/lib/python3.6/site-packages/dmr_utils3/utils.py", line 118, in mk_full_id_dict

    records = jload(_handle)

  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 1 column 1 (char 0)

 

Any ideas what may be wrong?

 

Thanks in advance

 

Alex N2IX

 


SP2ONG Waldek
 

it looks like a problem with file subscriber ids.json


On Sat, Oct 10, 2020 at 07:27 AM, Alejandro Pereida wrote:
subscriber_ids.json