Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
companje opened this issue Nov 11, 2014 · 2 comments
Closed

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

companje opened this issue Nov 11, 2014 · 2 comments
Labels

Comments

@companje
Copy link
Member

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

@companje companje added the bug label Nov 11, 2014
@peteruithoven
Copy link
Member

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
Copy link
Member

Moved: Doodle3D/doodle3d-firmware#48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants