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

Bug, empty websql entries #100

Open
KriPet opened this issue Apr 18, 2014 · 1 comment
Open

Bug, empty websql entries #100

KriPet opened this issue Apr 18, 2014 · 1 comment

Comments

@KriPet
Copy link

KriPet commented Apr 18, 2014

I'll preface with saying I can't reproduce the bug, but figured I'd write this up anyway.

I noticed there had been no new manga updates in a while, so I checked AMR. No mirrors showed up in "supported web sites" and everything was just empty.

After some error hunting, I found an error being thrown in amrcsql.js:89, where it parses data from the databases. Thing is, the "websites" database had been bloated with about 17000 entries with all columns "undefined", and the JSON parser didn't like that.

Steps to fix:
In Chrome developer tools, select resources, Web SQL, AMR, execute DELETE FROM websites WHERE websites="undefined"

I don't know how the database is populated, so I don't know under which circumstances this can happen.

@KriPet
Copy link
Author

KriPet commented Apr 22, 2014

Recently happened again. I think it is related to AMR crashing, since I noticed the icon being blue after i reloaded it after a crash.

I'm also using the dev branch of chrome, so it could be that. I'll try looking into it.

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