Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with callsign? #1810

Open
hoeken opened this issue Oct 12, 2024 · 4 comments
Open

Error with callsign? #1810

hoeken opened this issue Oct 12, 2024 · 4 comments

Comments

@hoeken
Copy link

hoeken commented Oct 12, 2024

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
Copy link

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
Copy link

JDaviso1 commented Oct 27, 2024

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

@gregsyoung
Copy link

as a result of some other debugging scott and I have been doing with AIS data over riding the data in basedeltas
(related to vessel dimensions)
.. Im suspicous that this issue may be related.

That is, it appears that your own AIS data from AIS transceiver (connected via n2k in my case) is overiding some? of the corresponding config data in basedeltas.json.
certainly scott debugged this to dimension data from AIS trxr overwriting the same from basedeltas

@gregsyoung
Copy link

i thus wonder if its the same issue at play here,
and the "format"? of the vessel rego coming in from the AIS transceiver (via n2k) is causing this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants