V 6.0 Error Encrypted PDF

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

Moderator: Mr_Noodle

V 6.0 Error Encrypted PDF Wed Oct 23, 2024 3:21 pm • by aljjspam
After update to 6.0
If I drop a encrypted PDF on an action folder i get "Received Error while trying to evaluated rule"

It stops on the first rule on the action folder.

PS: I'm not trying to use the new Password feature, I've been using QPDF to solve this.

LOG:

2024-10-23 16:12:21.397 hazelworker[1286] Could not import text data for file: /Users/joaoaraujo/Local Documents/Hazel Local Action/Hazel Documentos Mac/714_161_202_4.pdf
2024-10-23 16:12:21.398 hazelworker[1286] [Error] Error during rule evaluation: Received error while trying to evaluate rule João - Amex Platinum USA Extrato on file 714_161_202_4.pdf
2024-10-23 16:12:21.398 hazelworker[1286] Error while matching rule João - Amex Platinum USA Extrato against file /Users/joaoaraujo/Local Documents/Hazel Local Action/Hazel Documentos Mac/714_161_202_4.pdf: Could not import text from /Users/joaoaraujo/Local Documents/Hazel Local Action/Hazel Documentos Mac/714_161_202_4.pdf.
2024-10-23 16:12:21.398 hazelworker[1286] ###Arch: arm64
2024-10-23 16:12:21.398 hazelworker[1286] ###main load address: 0x1042d8000
2024-10-23 16:12:21.398 hazelworker[1286] ###Hazel Core load address: 0x1048f0000
2024-10-23 16:12:21.398 hazelworker[1286] ###Noodle load address: 0x104be8000
2024-10-23 16:12:21.398 hazelworker[1286] ###CK load address: 0x1047d8000
2024-10-23 16:12:21.398 hazelworker[1286] (
0 CoreFoundation 0x00000001917622ec __exceptionPreprocess + 176
1 libobjc.A.dylib 0x0000000191246158 objc_exception_throw + 60
2 CoreFoundation 0x00000001917621dc +[NSException exceptionWithName:reason:userInfo:] + 0
3 HazelCore 0x0000000104943c50 _isDateValue + 26520
4 HazelCore 0x00000001049436b8 _isDateValue + 25088
5 Foundation 0x00000001928b5d80 -[NSCustomPredicateOperator performPrimitiveOperationUsingObject:andObject:] + 848
6 Foundation 0x0000000192826170 -[NSComparisonPredicate evaluateWithObject:substitutionVariables:] + 320
7 HazelCore 0x000000010493a2dc hazelKindFromUTI + 2744
8 HazelCore 0x000000010493d748 _isDateValue + 656
9 HazelCore 0x000000010493d8dc _isDateValue + 1060
10 HazelCore 0x000000010493bd50 hazelKindFromUTI + 9516
11 HazelCore 0x000000010493f2d0 _isDateValue + 7704
12 HazelCore 0x000000010491d90c errorFromOSAScriptErrorDict + 64512
13 hazelworker 0x00000001042dd160 hazelworker + 20832
14 hazelworker 0x00000001042df5cc hazelworker + 30156
15 hazelworker 0x00000001042e12e4 hazelworker + 37604
16 dyld 0x0000000191283154 start + 2476
aljjspam
 
Posts: 15
Joined: Wed May 15, 2019 1:51 pm

Re: V 6.0 Error Encrypted PDF Wed Oct 23, 2024 3:29 pm • by Mr_Noodle
Hazel is unable to read the PDF. Not sure how you are using qpdf here but as far as Hazel is concerned, the text is inaccessible. Are you sure it's unencrypted at that point?
Mr_Noodle
Site Admin
 
Posts: 11691
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: V 6.0 Error Encrypted PDF Wed Oct 23, 2024 4:10 pm • by aljjspam
Mr_Noodle wrote:Hazel is unable to read the PDF. Not sure how you are using qpdf here but as far as Hazel is concerned, the text is inaccessible. Are you sure it's unencrypted at that point?



I need to better explain

Today I have an action folder that have many rules, one rule uses use QPDF to decrypt the PDF. No big deal.
The issue is after updating to v6, another rule, that don't pass the requires is giving the error.
Maybe the new OCR feature is trying to OCR any PDF file, since this PDF is encrypted its giving the error

After my first post I tried to uninstall dragging the App to the trash. Reboot and reinstalled v6.
Now the helper is crashing, keeps restarting.


Log:

2024-10-23 17:01:01.355 hazelworker[2354] Done processing folder Trash
2024-10-23 17:02:51.555 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2374] ###Arch: arm64
2024-10-23 17:02:51.555 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2374] ###main load address: 0x0
2024-10-23 17:02:51.555 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2374] ###Hazel Core load address: 0x100e40000
2024-10-23 17:02:51.555 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2374] ###Noodle load address: 0x101070000
2024-10-23 17:02:51.556 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2374] HazelHelper v6.0 launching.
2024-10-23 17:02:51.691 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2375] ###Arch: arm64
2024-10-23 17:02:51.692 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2375] ###main load address: 0x0
2024-10-23 17:02:51.692 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2375] ###Hazel Core load address: 0x10109c000
2024-10-23 17:02:51.692 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2375] ###Noodle load address: 0x1012cc000
2024-10-23 17:02:51.692 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2375] HazelHelper v6.0 launching.
2024-10-23 17:02:51.827 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2376] ###Arch: arm64
2024-10-23 17:02:51.828 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2376] ###main load address: 0x0
2024-10-23 17:02:51.828 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2376] ###Hazel Core load address: 0x102b60000
2024-10-23 17:02:51.828 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2376] ###Noodle load address: 0x102d90000
2024-10-23 17:02:51.828 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2376] HazelHelper v6.0 launching.
2024-10-23 17:02:51.950 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2377] ###Arch: arm64
2024-10-23 17:02:51.951 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2377] ###main load address: 0x0
2024-10-23 17:02:51.951 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2377] ###Hazel Core load address: 0x104604000
2024-10-23 17:02:51.951 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2377] ###Noodle load address: 0x104834000
2024-10-23 17:02:51.951 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2377] HazelHelper v6.0 launching.
2024-10-23 17:02:52.098 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2378] ###Arch: arm64
2024-10-23 17:02:52.099 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2378] ###main load address: 0x0
2024-10-23 17:02:52.099 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2378] ###Hazel Core load address: 0x101268000
2024-10-23 17:02:52.099 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2378] ###Noodle load address: 0x101498000
2024-10-23 17:02:52.099 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2378] HazelHelper v6.0 launching.
2024-10-23 17:02:52.264 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2379] ###Arch: arm64
2024-10-23 17:02:52.264 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2379] ###main load address: 0x0
2024-10-23 17:02:52.264 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2379] ###Hazel Core load address: 0x1027d8000
2024-10-23 17:02:52.264 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2379] ###Noodle load address: 0x102a08000
2024-10-23 17:02:52.265 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2379] HazelHelper v6.0 launching.
2024-10-23 17:02:52.401 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2380] ###Arch: arm64
2024-10-23 17:02:52.402 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2380] ###main load address: 0x0
2024-10-23 17:02:52.402 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2380] ###Hazel Core load address: 0x104c58000
2024-10-23 17:02:52.402 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2380] ###Noodle load address: 0x104e88000
2024-10-23 17:02:52.402 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2380] HazelHelper v6.0 launching.
2024-10-23 17:02:52.599 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2382] ###Arch: arm64
2024-10-23 17:02:52.600 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2382] ###main load address: 0x0
2024-10-23 17:02:52.600 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2382] ###Hazel Core load address: 0x100a68000
2024-10-23 17:02:52.600 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2382] ###Noodle load address: 0x100c98000
2024-10-23 17:02:52.600 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2382] HazelHelper v6.0 launching.
2024-10-23 17:02:52.642 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2382] Error while checking uninstall log date: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
2024-10-23 17:02:52.662 hazelworker[2383] Running worker (v6.0) for folder with identifier: trash.
2024-10-23 17:02:52.663 hazelworker[2383] ###Arch: arm64
2024-10-23 17:02:52.663 hazelworker[2383] ###main load address: 0x102a84000
2024-10-23 17:02:52.663 hazelworker[2383] ###Hazel Core load address: 0x10309c000
2024-10-23 17:02:52.663 hazelworker[2383] ###Noodle load address: 0x103394000
2024-10-23 17:02:52.663 hazelworker[2383] ###CK load address: 0x102f84000
2024-10-23 17:02:52.669 hazelworker[2383] Processing folder Trash (forced)
2024-10-23 17:02:53.831 hazelworker[2383] Received abort event.
2024-10-23 17:02:53.831 hazelworker[2383] Done processing folder Trash
2024-10-23 17:02:57.638 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2384] ###Arch: arm64
2024-10-23 17:02:57.639 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2384] ###main load address: 0x0
2024-10-23 17:02:57.639 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2384] ###Hazel Core load address: 0x10282c000
2024-10-23 17:02:57.639 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2384] ###Noodle load address: 0x102a5c000
2024-10-23 17:02:57.639 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2384] HazelHelper v6.0 launching.
2024-10-23 17:02:57.684 86Z3GCJ4MF.com.noodlesoft.HazelHelper[2384] Error while checking uninstall log date: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
2024-10-23 17:02:57.704 hazelworker[2385] Running worker (v6.0) for folder with identifier: trash.
2024-10-23 17:02:57.706 hazelworker[2385] ###Arch: arm64
2024-10-23 17:02:57.706 hazelworker[2385] ###main load address: 0x100e08000
2024-10-23 17:02:57.706 hazelworker[2385] ###Hazel Core load address: 0x101420000
2024-10-23 17:02:57.706 hazelworker[2385] ###Noodle load address: 0x101718000
2024-10-23 17:02:57.706 hazelworker[2385] ###CK load address: 0x101308000
2024-10-23 17:02:57.712 hazelworker[2385] Processing folder Trash (forced)
2024-10-23 17:02:58.839 hazelworker[2385] Received abort event.
2024-10-23 17:02:58.840 hazelworker[2385] Done processing folder Trash
aljjspam
 
Posts: 15
Joined: Wed May 15, 2019 1:51 pm

Re: V 6.0 Error Encrypted PDF Wed Oct 23, 2024 4:13 pm • by Mr_Noodle
Does it persist after a reboot?

As for the OCR issue, I'm not quite following. Can you give specifics about the rule in question (screenshot would help)?
Mr_Noodle
Site Admin
 
Posts: 11691
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support