Cannot edit rule.

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Cannot edit rule. Sun Sep 13, 2009 3:45 pm • by jbaranick
Hi,

I just clean installed Snow Leopard on my computer. Before doing this I exported all my rule from Hazel. After the installation completed, I installed Hazel, registered it, and imported my rule. After figuring out some issues with the rule loading (some folders did not exist an the error message in Hazel was not very helpful) I got the rule up and running. The problem is that I cannot edit the rule. Whenever I do I get the following in the system.log:

9/13/09 12:36:50 PM System Preferences[422] HIToolbox: ignoring exception '*** -[NSCFString rangeOfString:options:range:locale:]: Range or index out of bounds' that raised inside Carbon event dispatch
(
0 CoreFoundation 0x9916b58a __raiseError + 410
1 libobjc.A.dylib 0x929abf49 objc_exception_throw + 56
2 CoreFoundation 0x9916b2b8 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x9916b22a +[NSException raise:format:] + 58
4 Foundation 0x97e03816 -[NSString rangeOfString:options:range:locale:] + 254
5 Foundation 0x97e0370f -[NSString rangeOfString:options:range:] + 70
6 Hazel 0x150c6e6c 0x0 + 353136236
7 Hazel 0x150c3d9c 0x0 + 353123740
8 Hazel 0x1509ecf1 0x0 + 352972017
9 Hazel 0x1509e1ad 0x0 + 352969133
10 Hazel 0x1508f34a 0x0 + 352908106
11 Hazel 0x1508df5b 0x0 + 352903003
12 Hazel 0x150ab32d 0x0 + 353022765
13 AppKit 0x94dd614a -[NSApplication sendAction:to:from:] + 112
14 AppKit 0x94dd5ffd -[NSMenuItem _corePerformAction] + 435
15 AppKit 0x94dd5cee -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 174
16 AppKit 0x94dd5bda -[NSMenu performActionForItemAtIndex:] + 65
17 AppKit 0x94dd5b8d -[NSMenu _internalPerformActionForItemAtIndex:] + 50
18 AppKit 0x94dd5af3 -[NSMenuItem _internalPerformActionThroughMenuIfPossible] + 97
19 AppKit 0x94dd5a37 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 336
20 AppKit 0x94dca131 NSSLMMenuEventHandler + 404
21 HIToolbox 0x90b98129 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1567
22 HIToolbox 0x90b973f0 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 411
23 HIToolbox 0x90bb9a81 SendEventToEventTarget + 52
24 HIToolbox 0x90be5f3b _ZL18SendHICommandEventmPK9HICommandmmhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 448
25 HIToolbox 0x90c0ac1c SendMenuCommandWithContextAndModifiers + 66
26 HIToolbox 0x90c0abd1 SendMenuItemSelectedEvent + 121
27 HIToolbox 0x90c0aad3 _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 152
28 HIToolbox 0x90d8bb7d _ZL19PopUpMenuSelectCoreP8MenuData5PointdS1_tjPK4RecttmS4_S4_PK10__CFStringPP13OpaqueMenuRefPt + 1773
29 HIToolbox 0x90d8becb _HandlePopUpMenuSelection7 + 678
30 AppKit 0x9505f2f2 _NSSLMPopUpCarbonMenu3 + 3937
31 AppKit 0x95253436 -[NSPopUpButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 590
32 AppKit 0x94eaf08f -[NSControl mouseDown:] + 812
33 AppKit 0x94ead0c4 -[NSWindow sendEvent:] + 5549
34 System Preferences 0x00007b29 0x0 + 31529
35 AppKit 0x94dc5ceb -[NSApplication sendEvent:] + 6431
36 System Preferences 0x00007a53 0x0 + 31315
37 AppKit 0x94d596fb -[NSApplication run] + 917
38 AppKit 0x94d51735 NSApplicationMain + 574
39 System Preferences 0x00002929 0x0 + 10537
40 ??? 0x00000002 0x0 + 2
)
jbaranick
 
Posts: 4
Joined: Sun Sep 13, 2009 12:23 pm

Re: Cannot edit rule. Tue Sep 15, 2009 12:23 pm • by Mr_Noodle
For stack dumps, it's is probably better if you email support (go to the "Info" tab and click on the "Contact Support" link).

On Snow Leopard, if you go to your Library/DiagnosticReports folder and look for a report matching the program (in this case System Preferences) and time of your crash and send the <b>whole</b> file. There is critical information that is missing from this dump that I need to decipher it so the it is important you send the whole thing and not just an excerpt.

Also, is this happening for all rules or just specific ones? If specific ones, it would help to send those to me as well.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Cannot edit rule. Tue Sep 15, 2009 3:46 pm • by jbaranick
I only have one rule at the moment. I will send the dump later tonight. Thanks.
jbaranick
 
Posts: 4
Joined: Sun Sep 13, 2009 12:23 pm

Re: Cannot edit rule. Thu Sep 24, 2009 12:30 am • by jbaranick
I couldn't find the folder: /Library/DiagnosticReports or ~/Library/DiagnosticReports. Is there somewhere else I should look?
jbaranick
 
Posts: 4
Joined: Sun Sep 13, 2009 12:23 pm

Re: Cannot edit rule. Thu Sep 24, 2009 10:49 am • by Mr_Noodle
Look under CrashReporter as well. It might be better if you just email me the rule in question though.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Cannot edit rule. Fri Oct 09, 2009 1:19 pm • by jbaranick
What email address can I send the rule to?
jbaranick
 
Posts: 4
Joined: Sun Sep 13, 2009 12:23 pm

Re: Cannot edit rule. Fri Oct 09, 2009 3:26 pm • by Mr_Noodle
Go to the "Info" tab and click "Contact support".
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support