PrintM3D / C3D

2 stars 0 forks source link

Console Spam Error Due to Property IP being Undefined #5

Open Tylerun opened 5 years ago

Tylerun commented 5 years ago

Uncaught (in promise) TypeError: Cannot read property 'ip' of undefined at renderer.js:1 at run (C:\Users\Toast\AppData\Local\Programs\c3d\resources\app.asar\node_modules\p-queue\index.js:200) at PQueue._tryToStartAnother (C:\Users\Toast\AppData\Local\Programs\c3d\resources\app.asar\node_modules\p-queue\index.js:162) at Promise (C:\Users\Toast\AppData\Local\Programs\c3d\resources\app.asar\node_modules\p-queue\index.js:217) at new Promise () at PQueue.add (C:\Users\Toast\AppData\Local\Programs\c3d\resources\app.asar\node_modules\p-queue\index.js:194) at renderer.js:1

Getting this error upon clean install in console. Every time it generates my C3D Freezes. Generates twice every 3 and a half seconds.

daniel-farina commented 5 years ago

Thank you @Tylerun This error seems to be due to the object not being available when the printer has not sent data yet. I'll fix it by preventing this data from being requested until it becomes available in the next version.