sylvaingi / meteor-smartfile

MIT License
10 stars 3 forks source link

Error TypeError: Argument 1 of FileReader.readAsArrayBuffer does not implement interface Blob. #4

Open sajidahmad opened 10 years ago

sajidahmad commented 10 years ago

FIle upload is working fine but some times it is generating error

TypeError: Argument 1 of FileReader.readAsArrayBuffer does not implement interface Blob. ...eReader.readAsArrayBuffer(file);

sylvaingi commented 10 years ago

Can you provide me more info about the browser in which this error occurs?

sajidahmad commented 10 years ago

it occurer in Mozilla.

'change #choice3_image':function(evt,t){ var choice3_image=t.find("#choice3_image").files[0]; if(choice3_image){ sf.upload(choice3_image, function(err, result){ smurl=sf.resolvePublic(result);

    });
    }
},

This is the code where it occurred.

On Sat, Jan 4, 2014 at 5:36 PM, Sylvain Gizard notifications@github.comwrote:

Can you provide me more info about the browser in which this error occurs?

— Reply to this email directly or view it on GitHubhttps://github.com/sylvaingi/meteor-smartfile/issues/4#issuecomment-31577064 .

sylvaingi commented 10 years ago

Sorry to leave this hanging around, can you be more specific on which version of Firefox it happens?