Page 1 of 1

Bookpedia html export hangs with FancyIndex

Posted: Wed Dec 18, 2013 5:39 pm
by fcolas
Hi,

Since the last update of Bookpedia (5.2), I'm not able to export my library using my preferred template (FancyIndex). It just hangs on an empty progress bar (out of 148).
The iPhone and iPhoneGrouped templates hang in the same way, but all the others work.

I'm on mac and the console shows the following errors:

Code: Select all

18/12/2013 22:53:41,292 Bookpedia[517]: -[NSImage length]: unrecognized selector sent to instance 0x18d0000
18/12/2013 22:53:41,294 Bookpedia[517]: Call stack: (
	0   Pediabase                           0xc0f9a84d -[NSException(NSExceptionExtensions) printStackTrace] + 118
	1   Pediabase                           0xc0f381c4 -[MyControllerShared(ApplicationNotifications) exceptionHandler:shouldHandleException:mask:] + 120
	2   ExceptionHandling                   0x9aacffc9 -[NSExceptionHandler _handleException:mask:] + 1147
	3   ExceptionHandling                   0x9aacf6f0 NSExceptionHandlerExceptionRaiser + 240
	4   libobjc.A.dylib                     0x98501091 objc_exception_throw + 162
	5   CoreFoundation                      0x99bbfef3 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275
	6   CoreFoundation                      0x99b0b802 ___forwarding___ + 1010
	7   CoreFoundation                      0x99b0b3ee _CF_forwarding_prep_0 + 14
	8   Pediabase                           0xc0f83062 -[MyExport sortedColumnEntry:sortType:columnType:column:sortColumn:] + 395
	9   Pediabase                           0xc0f84086 -[MyExport createIndex:entries:sortType:columnType:column:sortColumn:pages:] + 538
	10  Pediabase                           0xc0f80383 -[MyExport exportTo:usingTemplate:entries:sortBy:listName:details:] + 6352
	11  Pediabase                           0xc0f7f9c7 -[MyExport exportTo:usingTemplate:entries:sortBy:listName:details:] + 3860
	12  Pediabase                           0xc0f7d602 -[MyExport exportTemplate:to:] + 142
	13  Pediabase                           0xc0f7d54d -[MyExport savePanelDidEnd:returnCode:contextInfo:] + 369
	14  Pediabase                           0xc0f7d3d4 -[MyExport sheetDidEnd:returnCode:contextInfo:] + 732
	15  AppKit                              0x963957e5 -[NSWindow endSheet:returnCode:] + 705
	16  AppKit                              0x96395517 -[NSApplication endSheet:returnCode:] + 342
	17  Pediabase                           0xc0f8a769 -[MyExport okExport:] + 56
	18  libobjc.A.dylib                     0x9850d2af -[NSObject performSelector:withObject:] + 70
	19  AppKit                              0x96249c35 -[NSApplication sendAction:to:from:] + 438
	20  AppKit                              0x96249a3d -[NSControl sendAction:to:] + 102
	21  AppKit                              0x96298fcb -[NSCell _sendActionFrom:] + 159
	22  AppKit                              0x962b42ea -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2465
	23  AppKit                              0x962b3521 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 513
	24  AppKit                              0x962b2b45 -[NSControl mouseDown:] + 690
	25  AppKit                              0x9622ee4d -[NSWindow sendEvent:] + 11953
	26  AppKit                              0x961cacad -[NSApplication sendEvent:] + 4034
	27  AppKit                              0x9600f3bc -[NSApplication run] + 823
	28  AppKit                              0x95ff81f8 NSApplicationMain + 1165
	29  Bookpedia                           0x000025f9 Bookpedia + 5625
)
18/12/2013 22:53:41,295 Bookpedia[517]: -[NSImage length]: unrecognized selector sent to instance 0x18d0000
18/12/2013 22:53:41,297 Bookpedia[517]: (
	0   CoreFoundation                      0x99bbb6b1 __raiseError + 193
	1   libobjc.A.dylib                     0x98501091 objc_exception_throw + 162
	2   CoreFoundation                      0x99bbb2a1 -[NSException raise] + 17
	3   ExceptionHandling                   0x9aad0164 -[NSExceptionHandler _handleException:mask:] + 1558
	4   ExceptionHandling                   0x9aacf6f0 NSExceptionHandlerExceptionRaiser + 240
	5   libobjc.A.dylib                     0x98501091 objc_exception_throw + 162
	6   CoreFoundation                      0x99bbfef3 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275
	7   CoreFoundation                      0x99b0b802 ___forwarding___ + 1010
	8   CoreFoundation                      0x99b0b3ee _CF_forwarding_prep_0 + 14
	9   Pediabase                           0xc0f83062 -[MyExport sortedColumnEntry:sortType:columnType:column:sortColumn:] + 395
	10  Pediabase                           0xc0f84086 -[MyExport createIndex:entries:sortType:columnType:column:sortColumn:pages:] + 538
	11  Pediabase                           0xc0f80383 -[MyExport exportTo:usingTemplate:entries:sortBy:listName:details:] + 6352
	12  Pediabase                           0xc0f7f9c7 -[MyExport exportTo:usingTemplate:entries:sortBy:listName:details:] + 3860
	13  Pediabase                           0xc0f7d602 -[MyExport exportTemplate:to:] + 142
	14  Pediabase                           0xc0f7d54d -[MyExport savePanelDidEnd:returnCode:contextInfo:] + 369
	15  Pediabase                           0xc0f7d3d4 -[MyExport sheetDidEnd:returnCode:contextInfo:] + 732
	16  AppKit                              0x963957e5 -[NSWindow endSheet:returnCode:] + 705
	17  AppKit                              0x96395517 -[NSApplication endSheet:returnCode:] + 342
	18  Pediabase                           0xc0f8a769 -[MyExport okExport:] + 56
	19  libobjc.A.dylib                     0x9850d2af -[NSObject performSelector:withObject:] + 70
	20  AppKit                              0x96249c35 -[NSApplication sendAction:to:from:] + 438
	21  AppKit                              0x96249a3d -[NSControl sendAction:to:] + 102
	22  AppKit                              0x96298fcb -[NSCell _sendActionFrom:] + 159
	23  AppKit                              0x962b42ea -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2465
	24  AppKit                              0x962b3521 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 513
	25  AppKit                              0x962b2b45 -[NSControl mouseDown:] + 690
	26  AppKit                              0x9622ee4d -[NSWindow sendEvent:] + 11953
	27  AppKit                              0x961cacad -[NSApplication sendEvent:] + 4034
	28  AppKit                              0x9600f3bc -[NSApplication run] + 823
	29  AppKit                              0x95ff81f8 NSApplicationMain + 1165
	30  Bookpedia                           0x000025f9 Bookpedia + 5625
)

Re: Bookpedia html export hangs with FancyIndex

Posted: Thu Dec 19, 2013 5:35 pm
by Conor
Thank you for the console log and the details. I'll make sure to fix the bug for the next version, but from the quick reading it looks like the issue is with the sorting being in the status column. Click on the director header and then the title header or any other column that is not based on an image, might be the my rating column as well. Do let me know what column you have sorted, so that I can track down the bug quicker.

Re: Bookpedia html export hangs with FancyIndex

Posted: Thu Dec 19, 2013 6:23 pm
by fcolas
Yes, indeed it was sorted by status.
If I sort by author, title, pages numbers, or "my rating" there is no issue. I didn't test all other column, but so far it seems only the status is the issue.
Thanks a lot for the support. :)

Re: Bookpedia html export hangs with FancyIndex

Posted: Fri Dec 20, 2013 5:11 am
by Conor
Thank you for testing it. I'll be sure to fix it so that it ignores the status column when exporting to a template that uses groupings based on the sorting.

Re: Bookpedia html export hangs with FancyIndex

Posted: Fri Dec 20, 2013 3:48 pm
by Conor
Fixed for the next version. Thank you.