fabdrol / signalk-windjs-plugin

Other
4 stars 1 forks source link

bug: grib files not created #4

Open joabakk opened 6 years ago

joabakk commented 6 years ago

When opening the webapp, there is a black screen. Debug shows: signalk-windjs:0.3.1 exec error: Error: Command failed: /home/pi/.signalk/node_modules/signalk-windjs/converter/bin/grib2json --data --output /home/pi/.signalk/node_modules/signalk-windjs/json-data/2018070506.json --names --compact /home/pi/.signalk/node_modules/signalk-windjs/grib-data/2018070506.f000 signalk-windjs:0.3.1 /home/pi/.signalk/node_modules/signalk-windjs/converter/bin/grib2json: 5: /home/pi/.signalk/node_modules/signalk-windjs/converter/bin/grib2json: /bin/java: not found

fabdrol commented 6 years ago

Ah, yeah, you need java to be at /bin/java to make it work. I need to look into a way to change that location (or find the location using an env variable)

joabakk commented 6 years ago

I got somewhere closer with this (/usr/bin/java). But now it complains that it cannot find Xmx512M, when I removed that, it complains about jar missing and start searching for older gribs, doesn't seem to stop (I got to 2009 and halted it)