Tibus / TouchScreen-For-NanoDLP

Nextion Touch Screen => NodeJS => NanoDLP By Mango3D
http://fb.com/mango3dslicer
MIT License
79 stars 74 forks source link

Doesnt read stl files from some sdcard readers #19

Open amitlobo opened 6 years ago

amitlobo commented 6 years ago

Hi,

I am trying to read stl file from sd card using add plate display option,but cant read and the display hangs.From the shell i checked errorlogoutput file and I get the below error.

missing API key for pushbullet /home/pi/nextion/bin/plugins/nextion/pages/addPlate.js:136 pth.push(drive.mountpoints[0].path); ^

TypeError: Cannot read property 'path' of undefined at /home/pi/nextion/bin/plugins/nextion/pages/addPlate.js:136:60 at Array.forEach (native) at /home/pi/nextion/bin/plugins/nextion/pages/addPlate.js:134:35 at getDevicePaths (/home/pi/nextion/node_modules/drivelist/lib/lsblk/index.$ at done (/home/pi/nextion/node_modules/drivelist/lib/lsblk/index.js:41:16) at fs.readlink (/home/pi/nextion/node_modules/drivelist/lib/lsblk/index.js:$ at FSReqWrap.oncomplete (fs.js:123:15)

Please note the same sdcard content can be read by nanodlp on the browser.