mchristopher / PokemonGo-DesktopMap

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

Stuck on loading, database disk image is malformed #1324

Closed hubbalicious closed 7 years ago

hubbalicious commented 7 years ago

Map has been working fine for the past few days, but this morning my pc crashed (blue screen) while the map was running. After rebooting my pc, the map no longer starts and is stuck on the "Loading, please wait" screen. I'm not a dev so don't know how to interpret logs and such, but here are the last few lines in the console screen. Any help is appreciated!

File "C:\Users\i5_GT\AppData\Local\pokemon\app-0.4.1\resources\app\packages.zip\peewee.py", line 3689, in get_tables 'type = ? ORDER BY name;', ('table',)) File "C:\Users\i5_GT\AppData\Local\pokemon\app-0.4.1\resources\app\packages.zip\peewee.py", line 3492, in execute_sql self.commit() File "C:\Users\i5_GT\AppData\Local\pokemon\app-0.4.1\resources\app\packages.zip\peewee.py", line 3316, in exit reraise(new_type, new_type(*exc_args), traceback) File "C:\Users\i5_GT\AppData\Local\pokemon\app-0.4.1\resources\app\packages.zip\peewee.py", line 3485, in execute_sql cursor.execute(sql, params or ()) DatabaseError: database disk image is malformed

Things I've tried:

  1. Uninstall and reinstall PGM
  2. Remove all accounts and try running with just one account
  3. Rename the pogom.db file in C:\Python27\PokemonGo-Map-master and restart PGM. I tried this based on issue #1221 that was posted here but don't know if my issue is related. It was the only thing I could find that was similar. Not even sure if anything in the python folder is used for the desktop app. I think I had set this up before I even started using the desktop app.
hubbalicious commented 7 years ago

Updating and closing in case it helps anyone else down the road - I found the database located at C:\Users\username\AppData\Roaming\pokemon-go-map\pogom-0.4.1.db