OpenMarine
[SOLVED] OP doesn't start "cannot read property map" - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://forum.openmarine.net/forumdisplay.php?fid=4)
+--- Thread: [SOLVED] OP doesn't start "cannot read property map" (/showthread.php?tid=499)



[SOLVED] OP doesn't start "cannot read property map" - faak - 2017-05-16

Hi,
thank you very much for this project.

i'm new with openplotter and
I've Raspberry 3 with openplotter v0.9.0alpha NOOBS.

I' ve not this file

Code:
python /home/pi/.config/openplotter/openplotter.py


My problem is that OP doesn't start anymore and
and i try to read other thread with similar problems without finding a solution.


That's the error:

pi@openplotter:~/.config/signalk-server-node $ openplotter 
Signal K starting
No settings/defaults.json available
/home/pi/.config/signalk-server-node/node_modules/signalk-zones/index.js:103
        const tests = zones.map((zone, i) => {
                           ^

TypeError: Cannot read property 'map' of undefined
    at unsubscribes.reduce (/home/pi/.config/signalk-server-node/node_modules/signalk-zones/index.js:103:28)
    at Array.reduce (native)
    at Object.plugin.start (/home/pi/.config/signalk-server-node/node_modules/signalk-zones/index.js:96:42)
    at registerPlugin (/home/pi/.config/signalk-server-node/lib/interfaces/plugins.js:115:12)
    at fs.readdirSync.filter.forEach.e (/home/pi/.config/signalk-server-node/lib/interfaces/plugins.js:93:7)
    at Array.forEach (native)
    at startPlugins (/home/pi/.config/signalk-server-node/lib/interfaces/plugins.js:85:68)
    at Object.start (/home/pi/.config/signalk-server-node/lib/interfaces/plugins.js:26:7)
    at /home/pi/.config/signalk-server-node/lib/index.js:170:30
    at /home/pi/.config/signalk-server-node/node_modules/lodash/index.js:3073:15
[Errno 111] Connection refused
Signal K starting
No settings/defaults.json available
/home/pi/.config/signalk-server-node/node_modules/signalk-zones/index.js:103
        const tests = zones.map((zone, i) => {


I appreciate any help.

Ps: should i think to install any different version for more stability? Thank you


RE: OP doesn't start "cannot read property map" - Sailoog - 2017-05-16

python /home/pi/.config/openplotter/openplotter.py was the old debug mode, now is just openplotter
Your issue is a fixed issue in signal k node server.
You have to update to openplotter 0.10.0