Page 1 of 1

Error in working with Hazel

PostPosted: Fri Jul 12, 2019 1:58 pm
by Connor
Dear,

after my automation rules seem to fit my use case, I am running into another issue.
With the latest run, I am receiving the following log entries:

Code: Select all
2019-07-12 19:54:45.186 hazelworker[5780] ecodms_docid_0002643.pdf: Rule Rename and Tag matched.
2019-07-12 19:54:45.285 hazelworker[5780] Could not set tags for URL file:///Volumes/Sicherung/Arbeitsvorrat/ecodms_docid_0002643.pdf: Error Domain=NSOSStatusErrorDomain Code=-8058 "(null)"
2019-07-12 19:54:45.285 hazelworker[5780] Caught exception in rule evaluation of file ecodms_docid_0002643.pdf: Could not set tags for /Volumes/Sicherung/Arbeitsvorrat/ecodms_docid_0002643.pdf
2019-07-12 19:54:45.285 hazelworker[5780] ###main load address: 0x10f2ad000
2019-07-12 19:54:45.285 hazelworker[5780] ###Noodle load address: 0x10f3d0000
2019-07-12 19:54:45.286 hazelworker[5780] ###CK load address: 0x10f393000
2019-07-12 19:54:45.286 hazelworker[5780] (
   0   CoreFoundation                      0x00007fff32037cfd __exceptionPreprocess + 256
   1   libobjc.A.dylib                     0x00007fff5c6dda17 objc_exception_throw + 48
   2   hazelworker                         0x000000010f2e5c96 hazelworker + 232598
   3   hazelworker                         0x000000010f2e048d hazelworker + 210061
   4   hazelworker                         0x000000010f2f2ff6 hazelworker + 286710
   5   hazelworker                         0x000000010f2b42dc hazelworker + 29404
   6   hazelworker                         0x000000010f2b74cb hazelworker + 42187
   7   hazelworker                         0x000000010f2b97dd hazelworker + 51165
   8   libdyld.dylib                       0x00007fff5deab3d5 start + 1
   9   ???                                 0x0000000000000002 0x0 + 2
)


In the forum, I read that it might help to add Hazel under >> Security >> Privacy >> Automation. But there is no entry for Hazel - how could I add it?

Any help would be highly appreciated.

Best regards,

Connor

Re: Error in working with Hazel

PostPosted: Fri Jul 12, 2019 5:36 pm
by Connor
Dear,

just as an update: I tried to solve the issue as described here:
https://www.noodlesoft.com/kb/giving-hazel-full-disk-access-on-mojave/

But also after giving full access to HazelHelper, the error message persists

Code: Select all
2019-07-12 23:32:55.352 hazelworker[584] ecodms_docid_0000563.pdf: Rule Rename and Tag matched.
2019-07-12 23:32:55.469 hazelworker[584] Could not set tags for URL file:///Volumes/Sicherung/Arbeitsvorrat/ecodms_docid_0000563.pdf: Error Domain=NSOSStatusErrorDomain Code=-8058 "(null)"
2019-07-12 23:32:55.469 hazelworker[584] Caught exception in rule evaluation of file ecodms_docid_0000563.pdf: Could not set tags for /Volumes/Sicherung/Arbeitsvorrat/ecodms_docid_0000563.pdf
2019-07-12 23:32:55.469 hazelworker[584] ###main load address: 0x104b3d000
2019-07-12 23:32:55.469 hazelworker[584] ###Noodle load address: 0x104c64000
2019-07-12 23:32:55.469 hazelworker[584] ###CK load address: 0x104c27000
2019-07-12 23:32:55.469 hazelworker[584] (
   0   CoreFoundation                      0x00007fff33fe8cfd __exceptionPreprocess + 256
   1   libobjc.A.dylib                     0x00007fff5e68ea17 objc_exception_throw + 48
   2   hazelworker                         0x0000000104b75c96 hazelworker + 232598
   3   hazelworker                         0x0000000104b7048d hazelworker + 210061
   4   hazelworker                         0x0000000104b82ff6 hazelworker + 286710
   5   hazelworker                         0x0000000104b442dc hazelworker + 29404
   6   hazelworker                         0x0000000104b474cb hazelworker + 42187
   7   hazelworker                         0x0000000104b497dd hazelworker + 51165
   8   libdyld.dylib                       0x00007fff5fe5c3d5 start + 1
   9   ???                                 0x0000000000000002 0x0 + 2

So what am I doing wrong or am I missing?

Best regards,

Connor

Re: Error in working with Hazel

PostPosted: Sat Jul 13, 2019 4:01 pm
by Connor
Finally, I got it workig.
The folder that I initially tries was located on a network share.
Seemingly this caused the error - I realised when I tried when I let Hazel work against local files.

So - issue resolved.
@Connor: Thank you for pointing me in the right direction :D

Best regards,

Connor