Actions based on pixel height failing on some files

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

Moderator: Mr_Noodle

Mr_Noodle wrote:What version of macOS are you running?



I tried on two computers: One in Catalina (10.15.7), and one in Monterey (12.4). I had the same issue on both.
I mostly test on Monterey though lately.

Corentin
cortig
 
Posts: 17
Joined: Thu Jan 06, 2022 11:49 am

Can you search the logs for the error and send me the full dump, including several lines before and after?
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Mr_Noodle wrote:Can you search the logs for the error and send me the full dump, including several lines before and after?



Are you talking about the Hazel logs??

All instances look nearly identical:

Code: Select all
2022-06-03 14:41:16.802 hazelworker[20509] [Error] Error during rule evaluation: Received error while trying to evaluate rule HD on file vbcd9.mp4
2022-06-03 14:41:16.802 hazelworker[20509] Error while matching rule HD against file /Users/mainuser/Downloads/Downie/vbcd9.mp4: -[NSDecimalNumber length]: unrecognized selector sent to instance 0x600003cf0520
2022-06-03 14:41:16.803 hazelworker[20509] ###main load address: 0x10cf82000
2022-06-03 14:41:16.803 hazelworker[20509] ###Hazel Core load address: 0x10d25d000
2022-06-03 14:41:16.803 hazelworker[20509] ###Noodle load address: 0x10d57e000
2022-06-03 14:41:16.803 hazelworker[20509] ###CK load address: 0x10d13d000
2022-06-03 14:41:16.803 hazelworker[20509] (
   0   CoreFoundation                      0x00007ff802d58e7b __exceptionPreprocess + 242
   1   libobjc.A.dylib                     0x00007ff802abae48 objc_exception_throw + 48
   2   CoreFoundation                      0x00007ff802ddd8de -[NSObject(NSObject) __retain_OA] + 0
   3   CoreFoundation                      0x00007ff802cc08da ___forwarding___ + 1356
   4   CoreFoundation                      0x00007ff802cc02f8 _CF_forwarding_prep_0 + 120
   5   CoreFoundation                      0x00007ff802c771b4 CFStringCompareWithOptionsAndLocale + 72
   6   Foundation                          0x00007ff803a1c0a4 -[NSString compare:options:range:] + 34
   7   Foundation                          0x00007ff803ae28e5 -[NSComparisonPredicateOperator performPrimitiveOperationUsingObject:andObject:] + 209
   8   Foundation                          0x00007ff803a7f325 -[NSComparisonPredicate evaluateWithObject:substitutionVariables:] + 466
   9   HazelCore                           0x000000010d2b6e18 hazelKindFromUTI + 2991
   10  HazelCore                           0x000000010d2bb641 _isDateValue + 802
   11  HazelCore                           0x000000010d2bb833 _isDateValue + 1300
   12  HazelCore                           0x000000010d2b9453 hazelKindFromUTI + 12778
   13  HazelCore                           0x000000010d2bd724 _isDateValue + 9221
   14  HazelCore                           0x000000010d291f9c errorFromOSAScriptErrorDict + 90732
   15  hazelworker                         0x000000010cf8860a hazelworker + 26122
   16  hazelworker                         0x000000010cf8b615 hazelworker + 38421
   17  hazelworker                         0x000000010cf8d9f6 hazelworker + 47606
   18  dyld                                0x000000011945f51e start + 462
)
2022-06-03 14:41:16.812 hazelworker[20509] Done processing folder Downie
cortig
 
Posts: 17
Joined: Thu Jan 06, 2022 11:49 am

Thanks for that. Also, forgot to ask: what version of Hazel is this on and also are you on Intel or M1?
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

I’m using Hazel 5.1.2 on an Intel Mac.

Corentin
cortig
 
Posts: 17
Joined: Thu Jan 06, 2022 11:49 am

Thanks. Would you be willing to export the rule in question and email it in to support? I'm trying to figure out a workaround but things aren't as clear cut as I thought.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Done!
cortig
 
Posts: 17
Joined: Thu Jan 06, 2022 11:49 am

Previous

Return to Support