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

demo image receiver not working #21

Open
nndays opened this issue May 30, 2018 · 1 comment
Open

demo image receiver not working #21

nndays opened this issue May 30, 2018 · 1 comment

Comments

@nndays
Copy link

nndays commented May 30, 2018

https://quiet.github.io/quiet-js/ gives me this error in Chrome whenever I click on Receive Image/Start Receiver:

quiet-emscripten.js:16 Uncaught abort() at Error
    at jsStackTrace (https://quiet.github.io/quiet-js/javascripts/quiet-emscripten.js:1:18181)
    at stackTrace (https://quiet.github.io/quiet-js/javascripts/quiet-emscripten.js:1:18364)
    at abort (https://quiet.github.io/quiet-js/javascripts/quiet-emscripten.js:16:17777)
    at ze (https://quiet.github.io/quiet-js/javascripts/quiet-emscripten.js:6:74856)
    at pc (https://quiet.github.io/quiet-js/javascripts/quiet-emscripten.js:6:23930)
    at Ib (https://quiet.github.io/quiet-js/javascripts/quiet-emscripten.js:6:1450)
    at asm._quiet_decoder_create (https://quiet.github.io/quiet-js/javascripts/quiet-emscripten.js:16:3354)
    at Object.ccallFunc [as ccall] (https://quiet.github.io/quiet-js/javascripts/quiet-emscripten.js:1:8963)
    at Object.receiver (https://quiet.github.io/quiet-js/javascripts/quiet.js:744:30)
    at startReceiver (https://quiet.github.io/quiet-js/javascripts/receiveimage.js:43:48)

Otherwise it's a great project, thanks!

Btw if you want to support local usage in Chrome you could allow status 0 in line 108 of quiet.js as Chrome returns status 0 for local xhr:
if (this.status >= 200 && this.status < 300) {
(allow 0 there as well)

@nndays
Copy link
Author

nndays commented May 30, 2018

It also says whenever I call the page:
quiet-emscripten.js:1 run() called, but dependencies remain, so not running

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

No branches or pull requests

1 participant