Unable to add books
Unable to add books
Since installing version 4.9.3 of Bookpedia on my Macbook Pro (running Mac OS X 10.6. I have been having a lot of trouble adding books. It usually hangs for a while and then I get an "Could not Save Changes" message and "The database in memory is not in a valid state and will be reloaded from the hard disk." It closes and reopens but I still can't add books. I've been able to add a few but I get this message most of the time. Is anyone else having this issue?
Re: Unable to add books
Could you please send us the console log when this happens. Bookpedia will print more information that will be very useful for debugging in the console log. To view your console log use the program of the same name in your utilities folder and search for "Bookpedia" in the top right or scroll to the bottom where new messages are located. Also please let us know what was the last search that you did and what book you tried to add when you get these errors. Thank you.
Re: Unable to add books
Thank you for responding and I'm sorry it took me a while to get back to you, just got home and tried again. I went to iSight and scanned in the UPC for "Hellboy Animated: The Black Wedding" (9781593077006) it found the book correctly as far as I could tell.
The most recent messages in the Console Log for Bookpedia are:
11-11-07 6:31:53 PM Bookpedia[203] Call stack: (
0 Pediabase 0xc0f9d944 -[NSException(NSExceptionExtensions) printStackTrace] + 101
1 Pediabase 0xc0f238cc -[MyControllerShared(ApplicationNotifications) exceptionHandler:shouldHandleException] + 120
2 ExceptionHandling 0x97043260 -[NSExceptionHandler _handleException] + 1264
3 ExceptionHandling 0x97042d52 NSExceptionHandlerExceptionRaiser + 228
4 libobjc.A.dylib 0x97ecf5a9 objc_exception_throw + 56
5 CoreData 0x933df278 _PFManagedObject_coerceValueForKeyWithDescription + 1768
6 CoreData 0x933f5e8f _sharedIMPL_setvfk_core + 159
7 CoreData 0x933dea56 -[NSManagedObject(_PFDynamicAccessorsAndPropertySupport) _setGenericValue:forKey:withIndex] + 54
8 CoreData 0x933f5d50 -[NSManagedObject setValue:forKey:] + 288
9 Pediabase 0xc0fbdf0c -[MyEditView updateEntry:] + 296
10 Pediabase 0xc0fc98db -[MyPanel updateEntry:] + 317
11 Pediabase 0xc0f27f3b -[MyControllerShared processAddPanel:] + 3418
12 AppKit 0x95677a26 -[NSApplication sendAction:to:from:] + 112
13 AppKit 0x95757255 -[NSControl sendAction:to:] + 108
14 AppKit 0x95752d02 -[NSCell _sendActionFrom:] + 169
15 AppKit 0x95751ff9 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1808
16 AppKit 0x957a76ed -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 524
17 AppKit 0x95750a4f -[NSControl mouseDown:] + 812
18 AppKit 0x9574ea58 -[NSWindow sendEvent:] + 5549
19 AppKit 0x9566760b -[NSApplication sendEvent:] + 6431
20 AppKit 0x955fb253 -[NSApplication run] + 917
21 AppKit 0x955f3289 NSApplicationMain + 574
22 Bookpedia 0x00002999 start + 53
)
11-11-07 6:31:53 PM Bookpedia[203] Unacceptable type of value for attribute: property = "pages"; desired type = NSString; given type = NSCFNumber; value = 80.
11-11-07 6:31:54 PM Bookpedia[203] Error saving core data: Error Domain=NSCocoaErrorDomain Code=1580 UserInfo=0x13bd6a0 "Too few items in collections."
11-11-07 6:31:57 PM com.apple.launchd.peruser.501[113] ([0x0-0x23023].com.bruji.bookpedia[203]) Exited with exit code: 1
I'm also seeing a lot of messages from yesterday like:
11-11-06 9:01:56 PM Bookpedia[4053] Core Data Error (External Records Support): symlink from path /Users/darrellferguson/Library/Application Support/Bookpedia/Database.bookpd to path /Users/darrellferguson/Library/Caches/Metadata/CoreData/Bookpedia/472AB412-E31B-440F-861D-E3A29C630ABC/.support/store-file : Error Domain=NSCocoaErrorDomain Code=512 UserInfo=0x15ba6c0 "The file “store-file” couldn’t be saved in the folder “.support”." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=17 "The operation couldn’t be completed. File exists")
And I'm not sure if this helps but the first messages for Bookpedia are:
11-11-05 12:39:23 PM [0x0-0x41041].com.bruji.bookpedia[537] "disk3" unmounted.
11-11-05 12:39:23 PM [0x0-0x41041].com.bruji.bookpedia[537] "disk3" ejected.
Would it be more useful for me to just give you the whole log? It's pretty long.
Thanks again.
The most recent messages in the Console Log for Bookpedia are:
11-11-07 6:31:53 PM Bookpedia[203] Call stack: (
0 Pediabase 0xc0f9d944 -[NSException(NSExceptionExtensions) printStackTrace] + 101
1 Pediabase 0xc0f238cc -[MyControllerShared(ApplicationNotifications) exceptionHandler:shouldHandleException] + 120
2 ExceptionHandling 0x97043260 -[NSExceptionHandler _handleException] + 1264
3 ExceptionHandling 0x97042d52 NSExceptionHandlerExceptionRaiser + 228
4 libobjc.A.dylib 0x97ecf5a9 objc_exception_throw + 56
5 CoreData 0x933df278 _PFManagedObject_coerceValueForKeyWithDescription + 1768
6 CoreData 0x933f5e8f _sharedIMPL_setvfk_core + 159
7 CoreData 0x933dea56 -[NSManagedObject(_PFDynamicAccessorsAndPropertySupport) _setGenericValue:forKey:withIndex] + 54
8 CoreData 0x933f5d50 -[NSManagedObject setValue:forKey:] + 288
9 Pediabase 0xc0fbdf0c -[MyEditView updateEntry:] + 296
10 Pediabase 0xc0fc98db -[MyPanel updateEntry:] + 317
11 Pediabase 0xc0f27f3b -[MyControllerShared processAddPanel:] + 3418
12 AppKit 0x95677a26 -[NSApplication sendAction:to:from:] + 112
13 AppKit 0x95757255 -[NSControl sendAction:to:] + 108
14 AppKit 0x95752d02 -[NSCell _sendActionFrom:] + 169
15 AppKit 0x95751ff9 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1808
16 AppKit 0x957a76ed -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 524
17 AppKit 0x95750a4f -[NSControl mouseDown:] + 812
18 AppKit 0x9574ea58 -[NSWindow sendEvent:] + 5549
19 AppKit 0x9566760b -[NSApplication sendEvent:] + 6431
20 AppKit 0x955fb253 -[NSApplication run] + 917
21 AppKit 0x955f3289 NSApplicationMain + 574
22 Bookpedia 0x00002999 start + 53
)
11-11-07 6:31:53 PM Bookpedia[203] Unacceptable type of value for attribute: property = "pages"; desired type = NSString; given type = NSCFNumber; value = 80.
11-11-07 6:31:54 PM Bookpedia[203] Error saving core data: Error Domain=NSCocoaErrorDomain Code=1580 UserInfo=0x13bd6a0 "Too few items in collections."
11-11-07 6:31:57 PM com.apple.launchd.peruser.501[113] ([0x0-0x23023].com.bruji.bookpedia[203]) Exited with exit code: 1
I'm also seeing a lot of messages from yesterday like:
11-11-06 9:01:56 PM Bookpedia[4053] Core Data Error (External Records Support): symlink from path /Users/darrellferguson/Library/Application Support/Bookpedia/Database.bookpd to path /Users/darrellferguson/Library/Caches/Metadata/CoreData/Bookpedia/472AB412-E31B-440F-861D-E3A29C630ABC/.support/store-file : Error Domain=NSCocoaErrorDomain Code=512 UserInfo=0x15ba6c0 "The file “store-file” couldn’t be saved in the folder “.support”." Underlying Error=(Error Domain=NSPOSIXErrorDomain Code=17 "The operation couldn’t be completed. File exists")
And I'm not sure if this helps but the first messages for Bookpedia are:
11-11-05 12:39:23 PM [0x0-0x41041].com.bruji.bookpedia[537] "disk3" unmounted.
11-11-05 12:39:23 PM [0x0-0x41041].com.bruji.bookpedia[537] "disk3" ejected.
Would it be more useful for me to just give you the whole log? It's pretty long.
Thanks again.
Re: Unable to add books
Thank you, that was all I needed. The number of pages was being interpreted as a number instead of an arbitrary string that is what we use in Bookpedia. If you download the beta again it will be fixed, it should self update to the latest version when restarted.
Re: Unable to add books
Yep, everything seems to be a-okay now. Thanks again!