Doodle3D / doodle3d-client

The Doodle3D web interface that people can access on computers or tablets to draw doodles and control the Doodle3D WiFi box.
www.doodle3d.com
GNU General Public License v2.0
3 stars 8 forks source link

incorrectly formatted line in index file (line 1) #263

Closed companje closed 8 years ago

companje commented 9 years ago

this wifibox has the newest firmware but shows this error in the console: UpdatePanel:checkStatus response: Object {data: Object, msg: "incorrectly formatted line in index file (line 1)", status: "fail"} doodle3d-client.min.js:1 UpdatePanel:setState: undefined > 1 ( ) (in Access Point Mode: undefined ) (newestVersion: undefined ) (refresh: false ) doodle3d-client.min.js:1 Printer:preheat: failed doodle3d-client.min.js:1

peteruithoven commented 8 years ago

Looks like it requests the images index file, but it receives our redirect / 404 page. (Which includes the "success" text we need to prevent captive portal popups on iOS devices) This only happens when the WiFi-Box is in access point mode.

We should add a check and return a more appropriate error. Maybe this check can be added to d3d-updater's downloadFile function.

peteruithoven commented 8 years ago

Moved: https://github.com/Doodle3D/doodle3d-firmware/issues/48