Skip to content

[Bug] TypeError: Cannot read properties of undefined (readin... #793

Open
@rogersuski

Description

@rogersuski

What happened?

A bug happened! not sure why it things I am running a fork, i installed it via CLI from the instructions provided onto a raspberry

Version

3.1.1

Distribution

CLI

OS

Linux

What browsers are you seeing the problem on?

No response

If applicable, What Listener Clients are You Using?

GPI

TallyArbiter configuration

{
  "security": {
    "jwt_private_key": ""
  },
  "users": [],
  "device_actions": [],
  "device_sources": [
    {
      "deviceId": "433c03a5",
      "sourceIdx": "0",
      "address": "1",
      "sourceId": "d948cf3e",
      "id": "819aed73"
    },
    {
      "deviceId": "06b73cea",
      "sourceIdx": "0",
      "address": "2",
      "sourceId": "d948cf3e",
      "id": "5cde39c9"
    }
  ],
  "devices": [
    {
      "name": "Hitachi 1",
      "description": "Hitachi 2",
      "linkedBusses": [
        "e393251c",
        "334e4eda"
      ],
      "enabled": true,
      "id": "433c03a5"
    },
    {
      "name": "Hitachi 2",
      "description": "Hitachi 2",
      "linkedBusses": [
        "e393251c",
        "334e4eda"
      ],
      "enabled": true,
      "id": "06b73cea"
    }
  ],
  "sources": [
    {
      "data": {
        "ip": "192.168.10.240",
        "me_onair": [
          "1"
        ],
        "cut_bus_mode": "off"
      },
      "name": "BigBoy",
      "sourceTypeId": "44b8bc4f",
      "reconnect": true,
      "enabled": false,
      "id": "d948cf3e",
      "max_reconnects": 5,
      "connected": false
    }
  ],
  "bus_options": [
    {
      "id": "e393251c",
      "label": "Preview",
      "type": "preview",
      "color": "#3fe481",
      "priority": 50,
      "visible": true
    },
    {
      "id": "334e4eda",
      "label": "Program",
      "type": "program",
      "color": "#e43f5a",
      "priority": 200,
      "visible": true
    },
    {
      "id": "12c8d699",
      "label": "Aux 1",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": true
    },
    {
      "id": "0449b0c7",
      "label": "Aux 2",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": true
    },
    {
      "id": "5d94f273",
      "label": "Aux 3",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": false
    },
    {
      "id": "77ffb605",
      "label": "Aux 4",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": false
    },
    {
      "id": "09d4975d",
      "label": "Aux 5",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": false
    },
    {
      "id": "e2c2e192",
      "label": "Aux 6",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": false
    },
    {
      "id": "734f7395",
      "label": "Aux 7",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": false
    },
    {
      "id": "3011d34a",
      "label": "Aux 8",
      "type": "aux",
      "color": "#0000FF",
      "priority": 100,
      "visible": false
    }
  ],
  "externalAddress": "http://0.0.0.0:4455/#/tally",
  "remoteErrorReporting": false,
  "uuid": ""
}

Relevant log output

[2025-03-13 15:04:55] info: Listener Client Connected. Type: gpo_511418ea-6aeb-4ab2-9f17-ea01623253ee_2 Device: Hitachi 2
[2025-03-13 15:04:55] info: Sending device states to Listener Client: 13a41359 - Hitachi 1
[2025-03-13 15:04:55] info: Sending device states to Listener Client: bc77187b - Hitachi 2
[2025-03-13 15:04:59] info: Cloud Client Connected: 2610:130:102:1200:500d:b7b4:91cb:44b7

Error stacktrace (if applicable)

TypeError: Cannot read properties of undefined (reading 'name')
    at Socket.<anonymous> (/usr/local/lib/node_modules/tallyarbiter/dist/index.js:609:63)
    at Socket.emit (node:events:517:28)
    at Socket.emit (node:domain:489:12)
    at Socket.emitUntyped (/usr/local/lib/node_modules/tallyarbiter/node_modules/socket.io/dist/typed-events.js:69:22)
    at /usr/local/lib/node_modules/tallyarbiter/node_modules/socket.io/dist/socket.js:703:39
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions