SignalK / signalk-server

An implementation of a Signal K central server for boats.
http://signalk.org
Apache License 2.0
313 stars 154 forks source link

Error with callsign? #1810

Open hoeken opened 2 weeks ago

hoeken commented 2 weeks ago

I'm getting this error after updating to 2.11.0:

WDN5234 is my callsign I had entered in Server -> Settings. Still getting the error even after removing it.

Oct 12 10:43:36 TypeError: Cannot create property 'meta' on string 'WDN5234' at /usr/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:224:35 at Array.reduce () at addValue (/usr/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:216:27) at addValues (/usr/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:188:5) at FullSignalK.addUpdate (/usr/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:110:5) at FullSignalK.addUpdates (/usr/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:97:10) at FullSignalK.addDelta (/usr/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:54:8) at DeltaChain.doProcess (/usr/lib/node_modules/signalk-server/lib/deltachain.js:15:18) at /usr/lib/node_modules/signalk-server/lib/deltachain.js:34:22 at Array. (/home/pi/.signalk/node_modules/signalk-path-mapper/index.js:65:9) at DeltaChain.doProcess (/usr/lib/node_modules/signalk-server/lib/deltachain.js:18:26) at DeltaChain.process (/usr/lib/node_modules/signalk-server/lib/deltachain.js:11:21) at Server.app.handleMessage (/usr/lib/node_modules/signalk-server/lib/index.js:233:38) at Simple. (/usr/lib/node_modules/signalk-server/lib/pipedproviders.js:83:17) at Simple.emit (node:events:526:35) at addChunk (node:internal/streams/readable:376:12)

gregsyoung commented 6 days ago

likewise very similar .. albeit last 2 lines of above dont show on my error message

TypeError: Cannot create property 'meta' on string 'MEN59Q' Oct 26 13:46:48 raspberrypi signalk-server[619]: at /usr/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:224:35 Oct 26 13:46:48 raspberrypi signalk-server[619]: at Array.reduce () Oct 26 13:46:48 raspberrypi signalk-server[619]: at addValue (/usr/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:216:27) Oct 26 13:46:48 raspberrypi signalk-server[619]: at addValues (/usr/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:188:5) Oct 26 13:46:48 raspberrypi signalk-server[619]: at FullSignalK.addUpdate (/usr/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:110:5) Oct 26 13:46:48 raspberrypi signalk-server[619]: at FullSignalK.addUpdates (/usr/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:97:10) Oct 26 13:46:48 raspberrypi signalk-server[619]: at FullSignalK.addDelta (/usr/lib/node_modules/signalk-server/node_modules/@signalk/signalk-schema/dist/fullsignalk.js:54:8) Oct 26 13:46:48 raspberrypi signalk-server[619]: at DeltaChain.doProcess (/usr/lib/node_modules/signalk-server/lib/deltachain.js:15:18) Oct 26 13:46:48 raspberrypi signalk-server[619]: at /usr/lib/node_modules/signalk-server/lib/deltachain.js:34:22 Oct 26 13:46:48 raspberrypi signalk-server[619]: at Array. (/home/pi/.signalk/node_modules/signalk-path-mapper/index.js:65:9) Oct 26 13:46:48 raspberrypi signalk-server[619]: at DeltaChain.doProcess (/usr/lib/node_modules/signalk-server/lib/deltachain.js:18:26) Oct 26 13:46:48 raspberrypi signalk-server[619]: at /usr/lib/node_modules/signalk-server/lib/deltachain.js:34:22 Oct 26 13:46:48 raspberrypi signalk-server[619]: at Array. (/home/pi/.signalk/node_modules/@signalk/calibration/index.js:82:15) Oct 26 13:46:48 raspberrypi signalk-server[619]: at DeltaChain.doProcess (/usr/lib/node_modules/signalk-server/lib/deltachain.js:18:26) Oct 26 13:46:48 raspberrypi signalk-server[619]: at DeltaChain.process (/usr/lib/node_modules/signalk-server/lib/deltachain.js:11:21) Oct 26 13:46:48 raspberrypi signalk-server[619]: at Server.app.handleMessage (/usr/lib/node_modules/signalk-server/lib/index.js:233:38)

JDaviso1 commented 5 days ago

I have this issue with my callsign, too. I logged it here: https://github.com/SignalK/n2k-signalk/issues/277