Page 1 of 1

Hanging on IMDb global update

Posted: Tue Mar 16, 2010 5:46 am
by kbarnes70
Hi Conor,

This has been happening increasingly. I am attempting to update via IMDb a number of entries in one pass. Usual method - select the DVDs to be updated, open Edit pane, tick the Ratings box (in this case) which is blank, click OK then do Get Advanced Info on the selection, choosing IMDb. The update starts and after a varying number of successful updates it just stops. The progress bar stops and the dialog just says "Updating 56 entries" or whatever. I suspect this is a problem at the IMDb end but my problem here is that I cannot exit the update from DVDpedia. The only way out is to Force Quit DVDpedia. Is there either a solution to whatever causes it to hang during the attempted update, or a more elegant way to exit the attempted update in DVDpedia? I am using the latest version of the program, Beta 12.

I should add that restarting DVDpedia and repeating the process produces the same result - some entries will be updated and then it may hang again. IOW, it's not a terminal failure to update specific IMDb entries - it's just random. It will sometimes take several passes to get every entry updated, even when it's as few as 25 or so entries. I used to periodically blank the Ratings field on the entire database (760 DVDs) and do a global update with no problems so something has changed somewhere. Incidentally, if I leave DVDpedia for a few minutes before Force Quitting, the successfully updated entries are written to the database. If I Force Quit as soon as it hangs during the update, none of them is changed in the database.

EDIT: It has just taken me 5 passes and 4 Force Quits to update 23 movies!

Kind regards,

Keith

Re: Hanging on IMDb global update

Posted: Tue Mar 16, 2010 7:11 am
by Nora
Could you take a look through your Console, see if there are any messages from DVDpedia? Thanks.

Re: Hanging on IMDb global update

Posted: Tue Mar 16, 2010 7:19 am
by kbarnes70
Nora wrote:Could you take a look through your Console, see if there are any messages from DVDpedia? Thanks.
Yes there are, Nora. Take a look at today's entries, when I attempted to update about 23 movies' Ratings fields.

16/03/2010 00:38:04 Preview[2913] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 00:38:29 CoreServicesUIAgent[2922] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 00:38:29 Preview[2920] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 00:40:24 iCal[1489] Unexpected EOF, returning last token as fallback
16/03/2010 00:41:22 GoogleSoftwareUpdateAgent[2936] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 00:41:45 System Events[2940] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 00:45:24 iCal[1489] Unexpected EOF, returning last token as fallback
16/03/2010 00:50:24 iCal[1489] Unexpected EOF, returning last token as fallback
16/03/2010 00:51:03 TextEdit[2954] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 00:55:24 iCal[1489] Unexpected EOF, returning last token as fallback
16/03/2010 00:56:48 TextEdit[2968] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 00:58:34 DVDpedia[2989] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 00:58:36 DVDpedia[2989] Cannot recognize type of executable for CFBundle/CFPlugIn 0x1545c4d0 </Library/Contextual Menu Items/MediaProCM.plugin> (not loaded)
16/03/2010 00:58:36 DVDpedia[2989] Cannot find function pointer MediaProCMFactory for factory F33A2227-57F1-11D9-9FF3-000D933C4E4C in CFBundle/CFPlugIn 0x1545c4d0 </Library/Contextual Menu Items/MediaProCM.plugin> (not loaded)
16/03/2010 00:59:39 DVDpedia[3005] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 00:59:41 DVDpedia[3005] Cannot recognize type of executable for CFBundle/CFPlugIn 0x14d91a30 </Library/Contextual Menu Items/MediaProCM.plugin> (not loaded)
16/03/2010 00:59:41 DVDpedia[3005] Cannot find function pointer MediaProCMFactory for factory F33A2227-57F1-11D9-9FF3-000D933C4E4C in CFBundle/CFPlugIn 0x14d91a30 </Library/Contextual Menu Items/MediaProCM.plugin> (not loaded)
16/03/2010 01:00:24 iCal[1489] Unexpected EOF, returning last token as fallback
16/03/2010 01:03:07 DVDpedia[3019] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 01:03:09 DVDpedia[3019] Cannot recognize type of executable for CFBundle/CFPlugIn 0x41a160 </Library/Contextual Menu Items/MediaProCM.plugin> (not loaded)
16/03/2010 01:03:09 DVDpedia[3019] Cannot find function pointer MediaProCMFactory for factory F33A2227-57F1-11D9-9FF3-000D933C4E4C in CFBundle/CFPlugIn 0x41a160 </Library/Contextual Menu Items/MediaProCM.plugin> (not loaded)
16/03/2010 01:05:24 iCal[1489] Unexpected EOF, returning last token as fallback
16/03/2010 01:10:24 iCal[1489] Unexpected EOF, returning last token as fallback
16/03/2010 01:10:56 mobilemesyncclient[3046] POST / (FAILED), httpStatusCode:402, errorType:100, transactionState:5, txnId:A00D3D1B-6DF9-44CE-AEA8-C8B7BF843B1C, auto-retries=0, manual-retries=0
16/03/2010 01:10:56 mobilemesyncclient[3046] DMMKPATH /Library/Application Support/SyncServices/Clients (FAILED), httpStatusCode:402, errorType:100, transactionState:5, txnId:F0AFF5BA-1694-425E-8E0D-A8351166CA62, auto-retries=0, manual-retries=0
16/03/2010 01:11:45 System Events[3052] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 01:12:20 [0x0-0x20020].com.vladalexa.MagicPrefs[305] *** Recognized (0x70) family*** (10 cols X 15 rows) using raw16bitRange= 630, thresh8bits= 12, zsignal_per_pixelsum= 26
16/03/2010 01:12:20 [0x0-0x20020].com.vladalexa.MagicPrefs[305] *** Recognized (0x70) family*** (10 cols X 15 rows) using raw16bitRange= 630, thresh8bits= 12, zsignal_per_pixelsum= 26
16/03/2010 01:12:20 [0x0-0x20020].com.vladalexa.MagicPrefs[305] *** Recognized (0x70) family*** (10 cols X 15 rows) using raw16bitRange= 630, thresh8bits= 12, zsignal_per_pixelsum= 26
16/03/2010 01:12:20 [0x0-0x20020].com.vladalexa.MagicPrefs[305] *** Recognized (0x70) family*** (10 cols X 15 rows) using raw16bitRange= 630, thresh8bits= 12, zsignal_per_pixelsum= 26
16/03/2010 01:12:21 MagicPrefs[3058] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 01:12:21 MagicPrefs[3058] Found 'noMenubarIcon', not showing icon
16/03/2010 01:12:21 MagicPrefs[3058] Allready flagged with taps , skipping warning
16/03/2010 01:12:21 MagicPrefs[3058] Found 1 taps (com.vladalexa.MagicPrefs )
16/03/2010 01:12:23 MagicPrefs[3058] Found 'noAutostart', not adding to startup list
16/03/2010 01:12:23 MagicPrefs[3058] Driver version 204.9 - 204.9 (790900)
16/03/2010 01:12:23 MagicPrefs[3058] Event tap created 0x100247560
16/03/2010 01:12:23 MagicPrefs[3058] Magicprefs 1.8.0 (39) loaded on OSX Version 10.6.2 (Build 10C540) by user
16/03/2010 01:17:45 ScreenSaverEngine[3070] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 01:40:05 GoogleSoftwareUpdateAgent[3093] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 01:41:45 System Events[3108] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 02:10:56 mobilemesyncclient[3157] POST / (FAILED), httpStatusCode:402, errorType:100, transactionState:5, txnId:E80BFEEE-866B-4BB0-8C50-6CCD66CABD7E, auto-retries=0, manual-retries=0
16/03/2010 02:10:56 mobilemesyncclient[3157] DMMKPATH /Library/Application Support/SyncServices/Clients (FAILED), httpStatusCode:402, errorType:100, transactionState:5, txnId:56CC4567-654E-4D62-8611-3D4078B31EF7, auto-retries=0, manual-retries=0
16/03/2010 02:11:46 System Events[3167] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 02:38:48 GoogleSoftwareUpdateAgent[3198] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 02:41:45 System Events[3211] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 03:10:56 mobilemesyncclient[3254] POST / (FAILED), httpStatusCode:402, errorType:100, transactionState:5, txnId:1D7B4515-7CB8-49E2-823F-A7229A17C48A, auto-retries=0, manual-retries=0
16/03/2010 03:10:56 mobilemesyncclient[3254] DMMKPATH /Library/Application Support/SyncServices/Clients (FAILED), httpStatusCode:402, errorType:100, transactionState:5, txnId:4F6A0F7B-5196-4D96-B84D-6417185EF26F, auto-retries=0, manual-retries=0
16/03/2010 03:11:45 System Events[3261] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 03:37:31 GoogleSoftwareUpdateAgent[3291] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 03:41:45 System Events[3304] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 04:10:57 mobilemesyncclient[3345] POST / (FAILED), httpStatusCode:402, errorType:100, transactionState:5, txnId:61E02F3A-6FE2-4208-B49C-841EAA44C6BD, auto-retries=0, manual-retries=0
16/03/2010 04:10:58 mobilemesyncclient[3345] DMMKPATH /Library/Application Support/SyncServices/Clients (FAILED), httpStatusCode:402, errorType:100, transactionState:5, txnId:2717E768-DAC6-4350-9BB0-BBD133212401, auto-retries=0, manual-retries=0
16/03/2010 04:11:45 System Events[3352] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 04:13:07 SyncServer[3347] [110f10] |SyncServer|Warning| Refreshing watchdog because of a calendar time change alert.
16/03/2010 04:14:43 MagicPrefs[370] Stopped tracking device <MTDevice 0x11207d400 [0x7fff70215f20]>.
16/03/2010 04:14:43 MagicPrefs[3058] Stopped tracking device <MTDevice 0x10108ac00 [0x7fff70215f20]>.
16/03/2010 04:14:43 MagicPrefs[370] Event tap destroyed.
16/03/2010 04:14:43 MagicPrefs[3058] Event tap destroyed.
16/03/2010 08:00:00 SyncServer[3347] [110f10] |SyncServer|Warning| Refreshing watchdog because of a calendar time change alert.
16/03/2010 08:00:08 MagicPrefs[370] Event tap created 0x11616a090
16/03/2010 08:00:08 MagicPrefs[3058] Event tap created 0x100602c90
16/03/2010 08:21:22 GoogleSoftwareUpdateAgent[3404] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 08:26:55 System Events[3422] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 08:56:01 SubmitDiagInfo[3463] Removed expired file /Library/Logs/DiagnosticReports/SystemUIServer_2010-03-02-080014_MacG5-3.spin
16/03/2010 08:56:04 mobilemesyncclient[3462] POST / (FAILED), httpStatusCode:402, errorType:100, transactionState:5, txnId:109F08E7-2C31-448D-A2A6-7C802F0C9BEA, auto-retries=0, manual-retries=0
16/03/2010 08:56:05 mobilemesyncclient[3462] DMMKPATH /Library/Application Support/SyncServices/Clients (FAILED), httpStatusCode:402, errorType:100, transactionState:5, txnId:29E931DC-2C0A-4DF4-BF04-17EFA1EA710D, auto-retries=0, manual-retries=0
16/03/2010 08:56:53 System Events[3470] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 09:20:05 GoogleSoftwareUpdateAgent[3498] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 09:26:53 System Events[3511] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 09:35:05 MagicPrefs[370] Stopped tracking device <MTDevice 0x100993400 [0x7fff70215f20]>.
16/03/2010 09:35:05 MagicPrefs[3058] Stopped tracking device <MTDevice 0x100a04800 [0x7fff70215f20]>.
16/03/2010 09:35:05 MagicPrefs[370] Event tap destroyed.
16/03/2010 09:35:05 MagicPrefs[3058] Event tap destroyed.
16/03/2010 10:06:33 MagicPrefs[370] Event tap created 0x11616a090
16/03/2010 10:06:33 MagicPrefs[3058] Event tap created 0x11593d670
16/03/2010 10:06:40 Mail[3545] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 10:12:32 Safari[3567] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 10:12:32 1PasswordAgent[285] (Information) Activating Safari extension '/Users/keithbarnes1/Library/Application Support/1Password/Extensions/30535/WebKitExtension.bundle'
16/03/2010 10:12:39 [0x0-0x169169].com.apple.Safari[3567] [30535] Tue Mar 16 10:12:39 2010| >install
16/03/2010 10:12:40 WebKitPluginHost[3578] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 10:12:40 com.apple.WebKit.PluginAgent[3577] 2010-03-16 10:12:40.554 WebKitPluginHost[3578:903] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 10:12:40 com.apple.WebKit.PluginAgent[3577] Debugger() was called!
16/03/2010 10:12:41 Safari[3567] reloadAllObjects
16/03/2010 10:12:42 Safari[3567] Database (agilekeychain:/Users/keithbarnes1/Library/Application Support/1Password/1Password.agilekeychain) load time [Cache]: 0.151 (609 objects)
16/03/2010 10:25:03 DVDpedia[3597] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 10:25:49 DVDpedia[3597] Cannot recognize type of executable for CFBundle/CFPlugIn 0x14c1f1b0 </Library/Contextual Menu Items/MediaProCM.plugin> (not loaded)
16/03/2010 10:25:49 DVDpedia[3597] Cannot find function pointer MediaProCMFactory for factory F33A2227-57F1-11D9-9FF3-000D933C4E4C in CFBundle/CFPlugIn 0x14c1f1b0 </Library/Contextual Menu Items/MediaProCM.plugin> (not loaded)
16/03/2010 10:27:20 mobilemesyncclient[3607] POST / (FAILED), httpStatusCode:402, errorType:100, transactionState:5, txnId:9210EF13-69D3-435F-831E-F9FE48728DF0, auto-retries=0, manual-retries=0
16/03/2010 10:27:20 mobilemesyncclient[3607] DMMKPATH /Library/Application Support/SyncServices/Clients (FAILED), httpStatusCode:402, errorType:100, transactionState:5, txnId:D45CA4B3-2081-444F-BE13-D7C5017F0CDB, auto-retries=0, manual-retries=0
16/03/2010 10:28:08 System Events[3614] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 10:39:22 DVDpedia[3597] *** -[NSCFArray objectAtIndex:]: index (12) beyond bounds (11)
16/03/2010 10:46:21 com.apple.launchd.peruser.502[248] ([0x0-0x16d16d].com.bruji.dvdpedia[3597]) Exited: Terminated
16/03/2010 10:46:24 DVDpedia[3641] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 10:46:32 DVDpedia[3641] Cannot recognize type of executable for CFBundle/CFPlugIn 0x14d9ab80 </Library/Contextual Menu Items/MediaProCM.plugin> (not loaded)
16/03/2010 10:46:32 DVDpedia[3641] Cannot find function pointer MediaProCMFactory for factory F33A2227-57F1-11D9-9FF3-000D933C4E4C in CFBundle/CFPlugIn 0x14d9ab80 </Library/Contextual Menu Items/MediaProCM.plugin> (not loaded)
16/03/2010 10:47:01 DVDpedia[3641] *** -[NSCFArray objectAtIndex:]: index (6) beyond bounds (6)
16/03/2010 10:48:52 com.apple.launchd.peruser.502[248] ([0x0-0x172172].com.bruji.dvdpedia[3641]) Exited: Terminated
16/03/2010 10:48:55 DVDpedia[3655] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 10:49:00 DVDpedia[3655] Cannot recognize type of executable for CFBundle/CFPlugIn 0x14b997b0 </Library/Contextual Menu Items/MediaProCM.plugin> (not loaded)
16/03/2010 10:49:00 DVDpedia[3655] Cannot find function pointer MediaProCMFactory for factory F33A2227-57F1-11D9-9FF3-000D933C4E4C in CFBundle/CFPlugIn 0x14b997b0 </Library/Contextual Menu Items/MediaProCM.plugin> (not loaded)
16/03/2010 10:49:21 DVDpedia[3655] *** -[NSCFArray objectAtIndex:]: index (4) beyond bounds (3)
16/03/2010 10:50:03 GoogleSoftwareUpdateAgent[3659] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 10:52:06 com.apple.launchd.peruser.502[248] ([0x0-0x174174].com.bruji.dvdpedia[3655]) Exited: Terminated
16/03/2010 10:52:09 DVDpedia[3662] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 10:52:14 DVDpedia[3662] Cannot recognize type of executable for CFBundle/CFPlugIn 0x3e1a60 </Library/Contextual Menu Items/MediaProCM.plugin> (not loaded)
16/03/2010 10:52:14 DVDpedia[3662] Cannot find function pointer MediaProCMFactory for factory F33A2227-57F1-11D9-9FF3-000D933C4E4C in CFBundle/CFPlugIn 0x3e1a60 </Library/Contextual Menu Items/MediaProCM.plugin> (not loaded)
16/03/2010 10:52:31 DVDpedia[3662] *** -[NSCFArray objectAtIndex:]: index (2) beyond bounds (2)
16/03/2010 10:53:45 com.apple.launchd.peruser.502[248] ([0x0-0x176176].com.bruji.dvdpedia[3662]) Exited: Terminated
16/03/2010 10:53:47 DVDpedia[3668] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 10:54:09 DVDpedia[3668] Cannot recognize type of executable for CFBundle/CFPlugIn 0x14adda70 </Library/Contextual Menu Items/MediaProCM.plugin> (not loaded)
16/03/2010 10:54:09 DVDpedia[3668] Cannot find function pointer MediaProCMFactory for factory F33A2227-57F1-11D9-9FF3-000D933C4E4C in CFBundle/CFPlugIn 0x14adda70 </Library/Contextual Menu Items/MediaProCM.plugin> (not loaded)
16/03/2010 10:58:09 System Events[3682] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 11:00:08 [0x0-0x178178].com.bruji.dvdpedia[3668] Debugger() was called!
16/03/2010 11:02:50 Mail[3545] [Error] Could not create LDAP context: Can't contact LDAP server (ID -1)
16/03/2010 11:07:57 Mail[3545] [Error] Could not create LDAP context: Can't contact LDAP server (ID -1)
16/03/2010 11:07:59 Mail[3545] [Error] Could not create LDAP context: Can't contact LDAP server (ID -1)
16/03/2010 11:08:03 Mail[3545] [Error] Could not create LDAP context: Can't contact LDAP server (ID -1)
16/03/2010 11:08:03 Mail[3545] [Error] Could not create LDAP context: Can't contact LDAP server (ID -1)
16/03/2010 11:08:04 Mail[3545] [Error] Could not create LDAP context: Can't contact LDAP server (ID -1)
16/03/2010 11:19:12 Mail[3545] [Error] Could not create LDAP context: Can't contact LDAP server (ID -1)
16/03/2010 11:19:15 Mail[3545] [Error] Could not create LDAP context: Can't contact LDAP server (ID -1)
16/03/2010 11:21:34 Mail[3545] [Error] Could not create LDAP context: Can't contact LDAP server (ID -1)
16/03/2010 11:26:39 ScreenSaverEngine[3724] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 11:27:20 mobilemesyncclient[3730] POST / (FAILED), httpStatusCode:402, errorType:100, transactionState:5, txnId:3CC53CD0-311A-450C-A944-57904259CB19, auto-retries=0, manual-retries=0
16/03/2010 11:27:21 mobilemesyncclient[3730] DMMKPATH /Library/Application Support/SyncServices/Clients (FAILED), httpStatusCode:402, errorType:100, transactionState:5, txnId:FFB0952C-ED1D-4BAD-A6DC-63C53C1B1F35, auto-retries=0, manual-retries=0
16/03/2010 11:28:09 System Events[3737] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 11:48:48 GoogleSoftwareUpdateAgent[3769] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 11:57:19 ScreenSaverEngine[3780] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 11:58:10 System Events[3785] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 12:10:45 DVDpedia[3802] Can't open input server /Library/InputManagers/Inquisitor
16/03/2010 12:11:23 DVDpedia[3802] Cannot recognize type of executable for CFBundle/CFPlugIn 0x18e582f0 </Library/Contextual Menu Items/MediaProCM.plugin> (not loaded)
16/03/2010 12:11:23 DVDpedia[3802] Cannot find function pointer MediaProCMFactory for factory F33A2227-57F1-11D9-9FF3-000D933C4E4C in CFBundle/CFPlugIn 0x18e582f0 </Library/Contextual Menu Items/MediaProCM.plugin> (not loaded)
16/03/2010 12:15:58 Console[3815] Can't open input server /Library/InputManagers/Inquisitor

Re: Hanging on IMDb global update

Posted: Tue Mar 16, 2010 9:16 am
by Conor
16/03/2010 10:52:31 DVDpedia[3662] *** -[NSCFArray objectAtIndex:]: index (2) beyond bounds (2)
That is the line causing the problem, it should be simple to fix, just need to figure out where that is happening. I haven't been able to repeat it after updating 1000 records. Could you please download beta 13, that if running Mac OS X 10.6 will print more information about the error, giving me the location of the bug. The console log after the hang with the beta will look something like this:

Code: Select all

2010-03-16 10:01:15.486 DVDpedia[8573:a0f] 0   Pediabase                           0xc0f8be68 -[NSException(NSExceptionExtensions) printStackTrace] + 91
2010-03-16 10:01:15.486 DVDpedia[8573:a0f] 1   Pediabase                           0xc0f17734 -[MyControllerShared(ApplicationNotifications) exceptionHandler:shouldHandleException:mask:] + 126
2010-03-16 10:01:15.486 DVDpedia[8573:a0f] 2   ExceptionHandling                   0x9160b260 -[NSExceptionHandler _handleException:mask:] + 1264
2010-03-16 10:01:15.487 DVDpedia[8573:a0f] 3   ExceptionHandling                   0x9160ad52 NSExceptionHandlerExceptionRaiser + 228
2010-03-16 10:01:15.487 DVDpedia[8573:a0f] 4   libobjc.A.dylib                     0x9147f509 objc_exception_throw + 56
2010-03-16 10:01:15.487 DVDpedia[8573:a0f] 5   CoreFoundation                      0x920b2138 +[NSException raise:format:arguments:] + 136
2010-03-16 10:01:15.487 DVDpedia[8573:a0f] 6   CoreFoundation                      0x920b20aa +[NSException raise:format:] + 58
2010-03-16 10:01:15.488 DVDpedia[8573:a0f] 7   Foundation                          0x969fd4dc _NSArrayRaiseBoundException + 121
2010-03-16 10:01:15.488 DVDpedia[8573:a0f] 8   Foundation                          0x96950c66 -[NSCFArray objectAtIndex:] + 63
2010-03-16 10:01:15.488 DVDpedia[8573:a0f] 9   Pediabase                           0xc0f28896 -[MyControllerShared processAddPanel:] + 87
2010-03-16 10:01:15.488 DVDpedia[8573:a0f] 10  AppKit                              0x973eaf86 -[NSApplication sendAction:to:from:] + 112
2010-03-16 10:01:15.488 DVDpedia[8573:a0f] 11  AppKit                              0x974ca705 -[NSControl sendAction:to:] + 108
2010-03-16 10:01:15.489 DVDpedia[8573:a0f] 12  AppKit                              0x974c61ba -[NSCell _sendActionFrom:] + 169
2010-03-16 10:01:15.489 DVDpedia[8573:a0f] 13  AppKit                              0x974c54b1 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1808
2010-03-16 10:01:15.489 DVDpedia[8573:a0f] 14  AppKit                              0x9751a95d -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 524
2010-03-16 10:01:15.489 DVDpedia[8573:a0f] 15  AppKit                              0x974c3f07 -[NSControl mouseDown:] + 812
2010-03-16 10:01:15.489 DVDpedia[8573:a0f] 16  AppKit                              0x974c1f10 -[NSWindow sendEvent:] + 5549
2010-03-16 10:01:15.489 DVDpedia[8573:a0f] 17  AppKit                              0x973dab2f -[NSApplication sendEvent:] + 6431
2010-03-16 10:01:15.492 DVDpedia[8573:a0f] 18  AppKit                              0x9736e4ff -[NSApplication run] + 917
2010-03-16 10:01:15.492 DVDpedia[8573:a0f] 19  AppKit                              0x97366535 NSApplicationMain + 574
2010-03-16 10:01:15.492 DVDpedia[8573:a0f] 20  DVDpedia                            0x00002505 _start + 208
2010-03-16 10:01:15.492 DVDpedia[8573:a0f] 21  DVDpedia                            0x00002434 start + 40
2010-03-16 10:01:15.493 DVDpedia[8573:a0f] *** -[NSCFArray objectAtIndex:]: index (3) beyond bounds (1)
Could you please let me know all this extra information. Thank you.

Re: Hanging on IMDb global update

Posted: Tue Mar 16, 2010 10:29 am
by kbarnes70
Conor wrote:
16/03/2010 10:52:31 DVDpedia[3662] *** -[NSCFArray objectAtIndex:]: index (2) beyond bounds (2)
That is the line causing the problem, it should be simple to fix, just need to figure out where that is happening. I haven't been able to repeat it after updating 1000 records. Could you please download beta 13, that if running Mac OS X 10.6 will print more information about the error, giving me the location of the bug. The console log after the hang with the beta will look something like this:

Code: Select all

2010-03-16 10:01:15.486 DVDpedia[8573:a0f] 0   Pediabase                           0xc0f8be68 -[NSException(NSExceptionExtensions) printStackTrace] + 91
2010-03-16 10:01:15.486 DVDpedia[8573:a0f] 1   Pediabase                           0xc0f17734 -[MyControllerShared(ApplicationNotifications) exceptionHandler:shouldHandleException:mask:] + 126
2010-03-16 10:01:15.486 DVDpedia[8573:a0f] 2   ExceptionHandling                   0x9160b260 -[NSExceptionHandler _handleException:mask:] + 1264
2010-03-16 10:01:15.487 DVDpedia[8573:a0f] 3   ExceptionHandling                   0x9160ad52 NSExceptionHandlerExceptionRaiser + 228
2010-03-16 10:01:15.487 DVDpedia[8573:a0f] 4   libobjc.A.dylib                     0x9147f509 objc_exception_throw + 56
2010-03-16 10:01:15.487 DVDpedia[8573:a0f] 5   CoreFoundation                      0x920b2138 +[NSException raise:format:arguments:] + 136
2010-03-16 10:01:15.487 DVDpedia[8573:a0f] 6   CoreFoundation                      0x920b20aa +[NSException raise:format:] + 58
2010-03-16 10:01:15.488 DVDpedia[8573:a0f] 7   Foundation                          0x969fd4dc _NSArrayRaiseBoundException + 121
2010-03-16 10:01:15.488 DVDpedia[8573:a0f] 8   Foundation                          0x96950c66 -[NSCFArray objectAtIndex:] + 63
2010-03-16 10:01:15.488 DVDpedia[8573:a0f] 9   Pediabase                           0xc0f28896 -[MyControllerShared processAddPanel:] + 87
2010-03-16 10:01:15.488 DVDpedia[8573:a0f] 10  AppKit                              0x973eaf86 -[NSApplication sendAction:to:from:] + 112
2010-03-16 10:01:15.488 DVDpedia[8573:a0f] 11  AppKit                              0x974ca705 -[NSControl sendAction:to:] + 108
2010-03-16 10:01:15.489 DVDpedia[8573:a0f] 12  AppKit                              0x974c61ba -[NSCell _sendActionFrom:] + 169
2010-03-16 10:01:15.489 DVDpedia[8573:a0f] 13  AppKit                              0x974c54b1 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1808
2010-03-16 10:01:15.489 DVDpedia[8573:a0f] 14  AppKit                              0x9751a95d -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 524
2010-03-16 10:01:15.489 DVDpedia[8573:a0f] 15  AppKit                              0x974c3f07 -[NSControl mouseDown:] + 812
2010-03-16 10:01:15.489 DVDpedia[8573:a0f] 16  AppKit                              0x974c1f10 -[NSWindow sendEvent:] + 5549
2010-03-16 10:01:15.489 DVDpedia[8573:a0f] 17  AppKit                              0x973dab2f -[NSApplication sendEvent:] + 6431
2010-03-16 10:01:15.492 DVDpedia[8573:a0f] 18  AppKit                              0x9736e4ff -[NSApplication run] + 917
2010-03-16 10:01:15.492 DVDpedia[8573:a0f] 19  AppKit                              0x97366535 NSApplicationMain + 574
2010-03-16 10:01:15.492 DVDpedia[8573:a0f] 20  DVDpedia                            0x00002505 _start + 208
2010-03-16 10:01:15.492 DVDpedia[8573:a0f] 21  DVDpedia                            0x00002434 start + 40
2010-03-16 10:01:15.493 DVDpedia[8573:a0f] *** -[NSCFArray objectAtIndex:]: index (3) beyond bounds (1)
Could you please let me know all this extra information. Thank you.
Hi Conor,

Here is the Console log from just before and after the latest hang.

16/03/2010 15:21:45 DVDpedia[4127] 0 Pediabase 0xc0f8be68 -[NSException(NSExceptionExtensions) printStackTrace] + 91
16/03/2010 15:21:45 DVDpedia[4127] 1 Pediabase 0xc0f1776c -[MyControllerShared(ApplicationNotifications) exceptionHandler:shouldHandleException:mask:] + 126
16/03/2010 15:21:45 DVDpedia[4127] 2 ExceptionHandling 0x940f9260 -[NSExceptionHandler _handleException:mask:] + 1264
16/03/2010 15:21:45 DVDpedia[4127] 3 ExceptionHandling 0x940f8d52 NSExceptionHandlerExceptionRaiser + 228
16/03/2010 15:21:45 DVDpedia[4127] 4 libobjc.A.dylib 0x9628f509 objc_exception_throw + 56
16/03/2010 15:21:45 DVDpedia[4127] 5 CoreFoundation 0x9142e138 +[NSException raise:format:arguments:] + 136
16/03/2010 15:21:45 DVDpedia[4127] 6 CoreFoundation 0x9142e0aa +[NSException raise:format:] + 58
16/03/2010 15:21:45 DVDpedia[4127] 7 Foundation 0x900b34dc _NSArrayRaiseBoundException + 121
16/03/2010 15:21:45 DVDpedia[4127] 8 Foundation 0x90006c66 -[NSCFArray objectAtIndex:] + 63
16/03/2010 15:21:45 DVDpedia[4127] 9 Pediabase 0xc0f2082d -[MyControllerShared advanceSearch] + 189
16/03/2010 15:21:45 DVDpedia[4127] 10 DVDpedia 0x00003cba -[MyController getPluginsInfo:] + 1732
16/03/2010 15:21:45 DVDpedia[4127] 11 Foundation 0x9002fde1 __NSThreadPerformPerform + 506
16/03/2010 15:21:45 DVDpedia[4127] 12 CoreFoundation 0x9139a8cb __CFRunLoopDoSources0 + 1563
16/03/2010 15:21:45 DVDpedia[4127] 13 CoreFoundation 0x9139838f __CFRunLoopRun + 1071
16/03/2010 15:21:45 DVDpedia[4127] 14 CoreFoundation 0x91397864 CFRunLoopRunSpecific + 452
16/03/2010 15:21:45 DVDpedia[4127] 15 CoreFoundation 0x91397691 CFRunLoopRunInMode + 97
16/03/2010 15:21:45 DVDpedia[4127] 16 HIToolbox 0x99262f0c RunCurrentEventLoopInMode + 392
16/03/2010 15:21:45 DVDpedia[4127] 17 HIToolbox 0x99262cc3 ReceiveNextEventCommon + 354
16/03/2010 15:21:45 DVDpedia[4127] 18 HIToolbox 0x99262b48 BlockUntilNextEventMatchingListInMode + 81
16/03/2010 15:21:45 DVDpedia[4127] 19 AppKit 0x94fafac5 _DPSNextEvent + 847
16/03/2010 15:21:45 DVDpedia[4127] 20 AppKit 0x94faf306 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
16/03/2010 15:21:45 DVDpedia[4127] 21 AppKit 0x94f7149f -[NSApplication run] + 821
16/03/2010 15:21:45 DVDpedia[4127] 22 AppKit 0x94f69535 NSApplicationMain + 574
16/03/2010 15:21:45 DVDpedia[4127] 23 DVDpedia 0x00002505 _start + 208
16/03/2010 15:21:45 DVDpedia[4127] 24 DVDpedia 0x00002434 start + 40
16/03/2010 15:21:45 DVDpedia[4127] *** -[NSCFArray objectAtIndex:]: index (6) beyond bounds (5)
16/03/2010 15:24:39 com.apple.launchd.peruser.502[248] ([0x0-0x1af1af].com.bruji.dvdpedia[4127]) Exited: Terminated
16/03/2010 15:24:52 Console[4170] Can't open input server /Library/InputManagers/Inquisitor

Kind regards,

Keith

Re: Hanging on IMDb global update

Posted: Tue Mar 16, 2010 11:59 am
by Conor
Thank you for the information. With it I was able to track it down to a specific method and realize that the bug was happening by updating a smart collection that was changing as the extra IMDb information was being added (I imagine a smart collection with the rule "rating is empty"). DVDpedia was picking the next movie from the selection and all of a sudden the selection was no longer as large as it original was. I have updated beta 15 to identify all the movies that need updating when the command is run and not select them in realtime from the selection. Thank you for your help in debugging.

Re: Hanging on IMDb global update

Posted: Tue Mar 16, 2010 12:55 pm
by kbarnes70
Conor wrote:Thank you for the information. With it I was able to track it down to a specific method and realize that the bug was happening by updating a smart collection that was changing as the extra IMDb information was being added (I imagine a smart collection with the rule "rating is empty"). DVDpedia was picking the next movie from the selection and all of a sudden the selection was no longer as large as it original was. I have updated beta 15 to identify all the movies that need updating when the command is run and not select them in realtime from the selection. Thank you for your help in debugging.
Fantastic! Yes, your guess about the Smart Collection was right on the money, Conor. I have a Smart Collection called "No IMDb Rating" which I made specifically so I could globally delete the ratings from time to time, then do an update and I would know if any had been missed (IMDb occasionally needs a second attempt) because they would be left in the Smart Collection folder. Another way is to just sort on the Rating field of course, but I use various Smart Collections and sometimes I will update them from IMDb - and this is clearly what was causing the problem. I don't ever remember doing an update from the main Library folder.

Thank you so much for your efforts in tracing this problem and rectifying it so quickly. I know of no other company who responds so quickly to customer requests. Thanks again.

Kind regards,

Keith

Re: Hanging on IMDb global update

Posted: Tue Mar 16, 2010 4:10 pm
by sjk
Conor wrote:I have updated beta 15
Thanks for including the pseudo-version#; it's particularly helpful when you're releasing new betas so fast and furiously. :)

Re: Hanging on IMDb global update

Posted: Tue Mar 16, 2010 4:38 pm
by kbarnes70
sjk wrote:
Conor wrote:I have updated beta 15
Thanks for including the pseudo-version#; it's particularly helpful when you're releasing new betas so fast and furiously. :)
Isn't it just! Today alone I've used versions 13, 14 and 15! I also add the beta number to the DVDpedia program name (Dvdpedia 4.5.5 Beta 15) so that I can see from hovering over the dock icon that I'm using the one I think I am! :)

Kind regards,

Keith

Re: Hanging on IMDb global update

Posted: Fri Mar 19, 2010 9:33 am
by Conor
Thanks for including the pseudo-version#;
Soon it should be automatic, I been meaning to move from Subversion to Git and then will integrate automatic build versioning into the betas. Although I been delaying the switch to hopefully give Xcode engineers time to integrate with Git.