Error Message: Unable to load/write config: invalid character 'a' looking for beginning of value

24 views
Skip to first unread message

Ian Derrickson

unread,
Jun 3, 2024, 1:24:40 PMJun 3
to pat-users
I'm getting the following error message when running pat on windows 10.  I've ran this from what I thought was the exact same way on a windows 7 machine and it works fine. Any help would be appreciated.


"Unable to load/write config: invalid character 'a' looking for beginning of value"

{
  "mycall": "KE0QWP",
  "secure_login_password": "xxx",
  "auxiliary_addresses": [],
  "locator": "EM27sb",
  "service_codes": [
    "PUBLIC"
  ],
  "http_addr": "localhost:8080",
  "motd": [
    "Open source Winlink client - getpat.io"
  ],
  "connect_aliases": {
    "telnet": "telnet://{mycall}:CMST...@cms.winlink.org:8772/wl2k"
  },
  "listen": [ax25],
  "hamlib_rigs": {},
  "ax25": {
    "engine": "agwpe",
    "rig": "",
    "beacon": {
      "every": 3600,
      "message": "Winlink P2P",
      "destination": "IDENT"
    }
  },
  "ax25_linux": {
    "port": "wl2k"
  },
  "agwpe": {
    "addr": "localhost:8000",
    "radio_port": 0
  },
  "serial-tnc": {
    "path": "/dev/ttyUSB0",
    "serial_baud": 9600,
    "hbaud": 1200,
    "type": "Kenwood",
    "rig": ""
  },
  "ardop": {
    "addr": "localhost:8515",
    "arq_bandwidth": {
      "Forced": false,
      "Max": 500
    },
    "rig": "",
    "ptt_ctrl": false,
    "beacon_interval": 0,
    "cwid_enabled": true
  },
  "pactor": {
    "path": "/dev/ttyUSB0",
    "baudrate": 57600,
    "rig": "",
    "custom_init_script": ""
  },
  "telnet": {
    "listen_addr": ":8774",
    "password": ""
  },
  "varahf": {
    "addr": "localhost:8300",
    "bandwidth": 2300,
    "rig": "",
    "ptt_ctrl": false
  },
  "varafm": {
    "addr": "localhost:8300",
    "bandwidth": 0,
    "rig": "",
    "ptt_ctrl": false
  },
  "gpsd": {
    "enable_http": false,
    "allow_forms": false,
    "use_server_time": false,
    "addr": "localhost:2947"
  },
  "schedule": {},
  "version_reporting_disabled": false
}

Ian Derrickson

unread,
Jun 3, 2024, 6:11:25 PMJun 3
to pat-users
never mind. I figured out the problem.  The error is telling me that there is a word that is missing quotations to identify the object.  In this case [ax25] needed to have quotations around it.  ["ax25"].
Reply all
Reply to author
Forward
0 new messages