Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

editor/ui-grid.eot 404 (Not Found) #153

Closed
curiousPup opened this issue Dec 22, 2017 · 6 comments
Closed

editor/ui-grid.eot 404 (Not Found) #153

curiousPup opened this issue Dec 22, 2017 · 6 comments

Comments

@curiousPup
Copy link

Getting this error while converting an SVG on line 205 ( oReq.send(); )of saveSvgAsPng.js

var oReq = new XMLHttpRequest();
oReq.addEventListener('load', fontLoaded);
oReq.addEventListener('error', transferFailed);
oReq.addEventListener('abort', transferFailed);
oReq.open('GET', font.url);
oReq.responseType = 'arraybuffer';
oReq.send();

@exupero
Copy link
Owner

exupero commented Dec 24, 2017

It sounds like your CSS or a CSS library you're using refers to the font file editor/ui-grid.eot, but your server is returning a 404 Not Found. I've added error catching around the call to that .send() that will log the error. Try this branch and let me know if that improves the clarity of the failure. If that change is suitable, I'll merge in #154.

@curiousPup
Copy link
Author

Doesn't help. I'm still getting the same error

@curiousPup
Copy link
Author

Okay so I got rid of this error. But now image.onload is not getting fired.
Any leads on that please?

@exupero
Copy link
Owner

exupero commented Dec 26, 2017

Is image.onerror being triggered?

Can you supply a minimal reproduction of the problem?

@darkdoon
Copy link

darkdoon commented Jan 23, 2018

same problem here.

GET http://localhost:3000/common-images/spreadsheet/ejxlicons.eot? 404 (Not Found) 
GET http://localhost:3000/ui-grid.eot  404 (Not Found)

at line 200 (oRes.send())

My navigator fetch .woff font files by default, don't know why, but .eot are not loaded.

@curiousPup
Copy link
Author

Version of this library publish in bower repo doesn't have this issue. You can try that.

@exupero exupero closed this as completed May 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants