Kodi Community Forum
Win Malformed Database disk image?? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+---- Forum: Ember Media Manager (https://forum.kodi.tv/forumdisplay.php?fid=195)
+---- Thread: Win Malformed Database disk image?? (/showthread.php?tid=182407)



Malformed Database disk image?? - akelley - 2014-01-06

Hi, I'm getting the following error message whenever I try to access a movie or try to update the database:

"database disk image is malformed"

I've tried the "Clean Database" option under Tools, but that doesn't seem to make a difference. Anyone know how I can fix this problem?

Here's my error log:

================= <Assembly Versions> =================

Platform: x86
Ember Application (Revision: 1.3.0.18)
Ember API (Revision: 1.3.0.17)
Ember Extras Scraper (Revision: 1.3.0.12)
Ember Native Movie Scrapers (Revision: 1.3.0.18)
Ember TMDB Movie Scrapers (Revision: 1.3.0.18)
Ember XML Scraper (Revision: 1.3.0.5)
Renamer (Revision: 1.3.0.12)
Frame Extractor (Revision: 1.3.0.12)
Media File Manager (Revision: 1.3.0.5)
Movie List Exporter (Revision: 1.3.0.12)
NMT Jukebox Builder (Revision: 1.3.0.13)
Notifications (Revision: 1.3.0.14)
Offline Media Manager (Revision: 1.3.0.15)
XBMC Controller (Revision: 1.3.0.5)
Boxee Compatibility (Revision: 1.3.0.12)
MediaBrowser Compatibility (Revision: 1.3.0.12)
YAMJ Compatibility (Revision: 1.3.0.12)
Genres Editor (Revision: 1.3.0.12)
Media Sources Editor (Revision: 1.3.0.12)
Audio & Video Codec Mapping (Revision: 1.3.0.12)
Trakt Settings (Revision: 1.3.0.12)
Ember Native TV Scrapers (Revision: 1.3.0.18)

================= <Assembly Versions> =================


Title: Error
Message: database disk image is malformed
database disk image is malformed
StackTrace: at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
at System.Data.SQLite.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteReader()
at EmberAPI.Database.LoadMovieFromDB(Int64 MovieID)
Date/Time: 1/5/2014 8:53:16 PM
===========================================================================================

Title: Error
Message: database disk image is malformed
database disk image is malformed
StackTrace: at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
at System.Data.SQLite.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteReader()
at EmberAPI.Database.LoadMovieFromDB(Int64 MovieID)
Date/Time: 1/5/2014 8:53:18 PM
===========================================================================================


RE: Malformed Database disk image?? - akelley - 2014-01-07

No one has any suggestions on fixing this?


RE: Malformed Database disk image?? - T-bird_se - 2014-01-07

If the DB get corrupted then remove it, it's named media.emm
Start Ember and the DB is recreated, set up your sources again and all get imported


RE: Malformed Database disk image?? - akelley - 2014-01-07

Thanks, T-bird. I figured I would have to do that. I see you can export the movies and tv shows to an xml, but I don't see any way to reimport them again. I guess I'll just delete the db and rescan everything.


RE: Malformed Database disk image?? - T-bird_se - 2014-01-07

No need to rescan, not movies anyway, if not reading all content when sources is setup just hit reload all movies under tools menu


RE: Malformed Database disk image?? - m.savazzi - 2014-01-08

exactly all info should be saved in the NFO files near the real content and the db should be recreated starting from that