mchristopher / PokemonGo-DesktopMap

Electron App around PokemonGo-Map
https://pokemon-go-updater.mike.ai/download
MIT License
1.76k stars 393 forks source link

Database disk image is malformed #1221

Closed BrekiTomasson closed 2 years ago

BrekiTomasson commented 7 years ago

Been having trouble on and off with it not scanning anything. It usually worked if I restarted the app and changed the scan radius, so I never gave it much thought. These past two days, however, it hasn't been working at all, so I decided to check the Developer Tools.

Turns out it's just churning out dozens of rows a second like this:

main.html:169 2016-09-13 23:48:35,383 [    db-updater-0][        models][ WARNING] database disk image is malformed... Retrying
main.html:169 2016-09-13 23:48:35,409 [    db-updater-0][        models][ WARNING] database disk image is malformed... Retrying
main.html:169 2016-09-13 23:48:35,439 [    db-updater-0][        models][ WARNING] database disk image is malformed... Retrying
main.html:169 2016-09-13 23:48:35,468 [    db-updater-0][        models][ WARNING] database disk image is malformed... Retrying
main.html:169 2016-09-13 23:48:35,504 [    db-updater-0][        models][ WARNING] database disk image is malformed... Retrying
main.html:169 2016-09-13 23:48:35,528 [    db-updater-0][        models][ WARNING] database disk image is malformed... Retrying
main.html:169 2016-09-13 23:48:35,550 [    db-updater-0][        models][ WARNING] database disk image is malformed... Retrying
main.html:169 2016-09-13 23:48:35,575 [    db-updater-0][        models][ WARNING] database disk image is malformed... Retrying
main.html:169 2016-09-13 23:48:35,643 [    db-updater-0][        models][ WARNING] database disk image is malformed... Retrying
main.html:169 2016-09-13 23:48:35,790 [    db-updater-0][        models][ WARNING] database disk image is malformed... Retrying
main.html:169 2016-09-13 23:48:35,870 [    db-updater-0][        models][ WARNING] database disk image is malformed... Retrying

What's going on here, and why?

Running latest release on OSX, in case that's relevant.

AVellucci commented 7 years ago

it seems like your pogom-0.3.4.db may be corrupted. try renaming the file and running the app again having it generate a new db file may fix this issue.