[go: nahoru, domu]

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

Couple of small issues #16

Open
wiktor-k opened this issue Apr 24, 2018 · 1 comment
Open

Couple of small issues #16

wiktor-k opened this issue Apr 24, 2018 · 1 comment
Projects

Comments

@wiktor-k
Copy link
wiktor-k commented Apr 24, 2018

I'm using dev mode (npm start).
When I'm connecting with localStorage cleared I get:

Unhandled Rejection (TypeError): Cannot read property 'roster' of undefined
(anonymous function)
C:/Workspaces/Projects/Fossil/src/fossil/roster.js:25
  22 |   this.booted = true;
  23 | 
  24 |   this.contacts.forEach((c) => c.boot());
> 25 |   this.client.getRoster((err, resp) => this.update(resp.roster));
  26 | }
  27 | 
  28 | update(roster) {

and blank screen. After refresh I'm immediately met with:

Unhandled Rejection (InvalidCharacterError): Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
Function.base64StringToArrayBuffer
C:/Workspaces/Projects/Fossil/src/fossil/stanzaio/omemo.js:227
  224 | }
  225 | 
  226 | static base64StringToArrayBuffer(str) {
> 227 |   const byteStr = atob(str);

After closing that screen everything works.

I could share credentials to my test accounts if that helps with debugging (my contact details in GitHub profile page).

@the-eater
Copy link
Owner

Could you sent me the stack trace of the last error? :)

@the-eater the-eater added this to To do in MVP via automation May 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
MVP
  
To do
Development

No branches or pull requests

2 participants