2011-08-16, 22:37
Hi, I was watching a TV show and when I pressed 'x' to stop, XBMC crashed. No big deal, I'm running a nightly build on OSX Lion, I know the risks.
So I relaunch and Movies is ok but TV does not work, no programs are shown, so I check the log and see this:
So it looks like the database became corrupt during the crash. I've taken a copy of the MyVideos54.db file and I'm wondering if there's any hope for repairing it?
I have a backup, but it's not recent. I blame that on QNAP not fixing their time machine support for Lion yet, but that's a whole other issue!
So, an xbmc db, can it be repaired?
So I relaunch and Movies is ok but TV does not work, no programs are shown, so I check the log and see this:
Code:
21:31:09 T:2895577792 DEBUG: Load MyVideoNav.xml: 774.29ms
21:31:09 T:2895577792 DEBUG: Alloc resources: 783.69ms (774.41 ms skin load)
21:31:09 T:2895577792 DEBUG: CGUIMediaWindow::GetDirectory (videodb://2/2/)
21:31:09 T:2895577792 DEBUG: ParentPath = [videodb://2/2/]
21:31:09 T:2895577792 ERROR: SQL: The database disk image is malformed
Query: SELECT * FROM tvshowview
21:31:09 T:2895577792 ERROR: GetTvShowsByWhere failed
21:31:09 T:2895577792 ERROR: GetDirectory - Error getting videodb://2/2/
21:31:09 T:2895577792 ERROR: CGUIMediaWindow::GetDirectory(videodb://2/2/) failed
21:31:09 T:2895577792 INFO: msg: PICTURE::LoadImage: Unable to open image: /logo.png Error: (2)
21:31:09 T:2895577792 ERROR: Texture manager unable to load file: /logo.png
So it looks like the database became corrupt during the crash. I've taken a copy of the MyVideos54.db file and I'm wondering if there's any hope for repairing it?
I have a backup, but it's not recent. I blame that on QNAP not fixing their time machine support for Lion yet, but that's a whole other issue!
So, an xbmc db, can it be repaired?