iamburny/OrmerodWebControl

Web interface crashes Chrome when trying to select a .g file or when trying to upload a new one

Closed this issue · 9 comments

i'm on the last commit (pulled this morning)
schermata 2014-02-24 alle 11 35 58

OS: OSX 10.9.1
Browser: Chrome 33.0.1750.117

log:

HTTP request: GET / HTTP/1.1
HTTP request: GET /rr_poll HTTP/1.1
JSON response: {"poll":["I","27.8","21.2","0.00","0.00","0.00","0.0000"]} queued
HTTP request: GET /rr_poll HTTP/1.1
JSON response: {"poll":["I","27.8","21.2","0.00","0.00","0.00","0.0000"]} queued
Network connection error, code -10
HTTP request: GET /rr_poll HTTP/1.1
JSON response: {"poll":["I","27.8","21.2","0.00","0.00","0.00","0.0000"]} queued
Network connection error, code -10
HTTP request: GET /rr_files HTTP/1.1
JSON response: {"files":["circle.g","coathook.g","duettest.g","ormaxis.g","snowman.g","square.g"]} queued
Network connection error, code -10
HTTP request: GET /rr_gcode?gcode=M115 HTTP/1.1
JSON response: {} queued
web: M115
FIRMWARE_NAME:RepRapFirmware FIRMWARE_VERSION:0.57a ELECTRONICS:Duet DATE:2014-01-16
Network connection error, code -10
HTTP request: GET /rr_poll HTTP/1.1
JSON response: {"poll":["I","27.8","23.5","0.00","0.00","0.00","0.0000"]} queued
Network connection error, code -10
HTTP request: GET /rr_poll HTTP/1.1
JSON response: {"poll":["I","27.6","23.5","0.00","0.00","0.00","0.0000"]} queued
Network connection error, code -10
HTTP request: GET /rr_poll HTTP/1.1
JSON response: {"poll":["I","27.6","23.5","0.00","0.00","0.00","0.0000"]} queued
Network connection error, code -10
HTTP request: GET /rr_poll HTTP/1.1
JSON response: {"poll":["I","27.8","21.2","0.00","0.00","0.00","0.0000"]} queued
Network connection error, code -10
HTTP request: GET /rr_poll HTTP/1.1
JSON response: {"poll":["I","27.6","21.2","0.00","0.00","0.00","0.0000"]} queued
Network connection error, code -10
HTTP request: GET /rr_poll HTTP/1.1
JSON response: {"poll":["I","27.6","21.2","0.00","0.00","0.00","0.0000"]} queued
HTTP request: GET /rr_poll HTTP/1.1
JSON response: {"poll":["I","27.6","21.2","0.00","0.00","0.00","0.0000"]} queued
HTTP request: GET /rr_poll HTTP/1.1
JSON response: {"poll":["I","27.8","21.2","0.00","0.00","0.00","0.0000"]} queued
Network connection error, code -10
HTTP request: GET /rr_gcode?gcode=M23+snowman.g%0AM24 HTTP/1.1

the white rectangle at the bottom is supposed to be the javascript console - wich actually crash too

What OS and chrome version are you using?

updated my first comment:

OS: OSX 10.9.1
Browser: Chrome 33.0.1750.117

Please tell me how can i help you debugging this if you need - i really love your work and want to help

First thing to try will be updating to the latest custom firmware from dc42, he and I worked together closely to optimize the interface and firmware to work together,

I see your using stock firmware v0.57a at the moment could you try flashing v0.57n-dc42 from this link

https://github.com/dc42/RepRapFirmware/blob/duet/Release/RepRapFirmware-057n-dc42.bin

let me know how you get on.

Matt

Thanks for the tip, will try asap and report

Do i need to update sd-card files after the firmware flash?

thanks in advice

No, the SD card file should be fine. from 0.57a

Matt

I can happily confirm that now works like a charm, thanks for the support! (and sorry for mistakenly calling this an "issue")

Great =)