eastein / lidless

A great Eye, lidless, wreathed in webcams.
Other
19 stars 4 forks source link

Unable to get value of the property 'initElement' #45

Open rhj4 opened 11 years ago

rhj4 commented 11 years ago

I am just running into this issue (https://github.com/eastein/lidless/issues/36) now, but you have marked it as closed. I am testing code that works fine in Chrome and FF, but fails in IE with:

Unable to get value of the property 'initElement

I changed the Flot.js code to:

if (!c.getContext) { // excanvas hack if (window.G_vmlCanvasManager.initElement) { c = window.G_vmlCanvasManager.initElement(c); } }

but this doesn't fix it.

Even though we all may agree that IE sucks, I need my code to work in IE or I cannot use Flot. That would be a real bummer because I like Flot alot.

Any advise, please?

eastein commented 11 years ago

The flot.js code is not mine. I would like you to be able to use my software, which uses flot, but I do not have time time to work on IE support. What versions of IE did you try?

Flot is actually maintained by other people at https://github.com/flot/flot - perhaps they have a solution. I could try updating the flot library to the newest version, perhaps that would help - and if not, you could report a bug and reference the git version of flot that you have issues with. Are you running your own instance of lidless, or looking at one of mine online?

If you are running your own, please try out the latest version of flot like this (assuming you are in the lidless directory):

cd flot
git checkout master
git pull

Then restart lidless. Let me know if that fixes it - if it does, I'll try out updating flot and testing on the platforms I care about. Thanks for trying out lidless!