Could not save rules

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

Moderator: Mr_Noodle

Could not save rules Wed Dec 06, 2023 5:03 pm • by jhkoning
hey there,
i know this has come up before, but can you please outline the steps to follow to track down what the issue is here please?
it'll likely be due to a folder having been moved or removed.
the thing is, i have *loads* of monitored folders, so I'd prefer a way to find this without having to trawl through them all.
thanks heaps,
Jason
jhkoning
 
Posts: 8
Joined: Wed Sep 01, 2021 8:35 pm

Re: Could not save rules Thu Dec 07, 2023 9:52 am • by Mr_Noodle
Under your home folder, check your Library/Application Support/Hazel folder and make sure you have write permissions to it.

Also, you can try checking the console logs. To do that, do the following:
- Launch Console
- Make sure your machine is selected in the left sidebar under Devices
- Enter Hazel into the search field and press return
- Click the message in the middle of the window to start streaming.
- Replicate the bug
- Send me the log messages that appear.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Could not save rules Thu Dec 07, 2023 3:33 pm • by jhkoning
thank you, can confirm read / write access to hazel folder in library / application support.
here is the output of the console:

Code: Select all
default   08:30:04.339946+1300   runningboardd   Acquiring assertion targeting [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] from originator [osservice<com.apple.coreservices.launchservicesd>:374] with description <RBSAssertionDescriptor| "frontmost:24812" ID:407-374-222823 target:24812 attributes:[
   <RBSDomainAttribute| domain:"com.apple.launchservicesd" name:"RoleUserInteractiveFocal" sourceEnvironment:"(null)">
   ]>
default   08:30:04.340023+1300   runningboardd   Assertion 407-374-222823 (target:[app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812]) will be created as active
default   08:30:04.343385+1300   runningboardd   Acquiring assertion targeting [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] from originator [osservice<com.apple.WindowServer(88)>:401] with description <RBSAssertionDescriptor| "FUSBFrontmostProcess" ID:407-401-222824 target:24812 attributes:[
   <RBSDomainAttribute| domain:"com.apple.fuseboard" name:"Frontmost" sourceEnvironment:"(null)">,
   <RBSAcquisitionCompletionAttribute| policy:AfterApplication>
   ]>
default   08:30:04.343468+1300   runningboardd   Assertion 407-401-222824 (target:[app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812]) will be created as active
default   08:30:04.344340+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring jetsam update because this process is not memory-managed
default   08:30:04.344358+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring suspend because this process is not lifecycle managed
default   08:30:04.344991+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Set darwin role to: UserInteractiveFocal
default   08:30:04.345264+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring GPU update because this process is not GPU managed
default   08:30:04.345357+1300   runningboardd   Calculated state for app<application.com.noodlesoft.Hazel.114765763.114765769(501)>: running-active (role: UserInteractiveFocal)
default   08:30:04.345601+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring memory limit update because this process is not memory-managed
default   08:30:04.345733+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring jetsam update because this process is not memory-managed
default   08:30:04.345768+1300   runningboardd   Calculated state for app<application.com.noodlesoft.Hazel.114765763.114765769(501)>: running-active (role: UserInteractiveFocal)
default   08:30:04.345763+1300   runningboardd   Process: [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] has changes in inheritances: {(
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-222823 0>,
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-62631 0>,
    <RBSInheritance| environment:(none) name:com.apple.frontboard.visibility origID:407-401-222693 0>,
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-222823 0>
)}
default   08:30:04.345824+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring suspend because this process is not lifecycle managed
default   08:30:04.346714+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring GPU update because this process is not GPU managed
default   08:30:04.347343+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring memory limit update because this process is not memory-managed
default   08:30:04.347537+1300   runningboardd   Process: [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812]: Sending inheritance changeset: <RBSInheritanceChangeSet| gained:{(
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-222823 0>,
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-222823 0>
)} lost:{(
)}>
default   08:30:04.348052+1300   runningboardd   Process: [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] has changes in inheritances: {(
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-222823 0>,
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-62631 0>,
    <RBSInheritance| environment:(none) name:com.apple.frontboard.visibility origID:407-401-222693 0>,
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-222823 0>,
    <RBSInheritance| environment:(none) name:com.apple.frontboard.visibility origID:407-401-222824 0>
)}
default   08:30:04.354948+1300   Hazel   Gained inheritances: {(
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-222823 0>,
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-222823 0>
)}
default   08:30:04.358521+1300   runningboardd   Process: [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812]: Sending inheritance changeset: <RBSInheritanceChangeSet| gained:{(
    <RBSInheritance| environment:(none) name:com.apple.frontboard.visibility origID:407-401-222824 0>
)} lost:{(
)}>
default   08:30:04.359018+1300   Hazel   Gained inheritances: {(
    <RBSInheritance| environment:(none) name:com.apple.frontboard.visibility origID:407-401-222824 0>
)}
default   08:30:04.359916+1300   runningboardd   Acquiring assertion targeting [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] from originator [osservice<com.apple.coreservices.launchservicesd>:374] with description <RBSAssertionDescriptor| "notification:24812" ID:407-374-222826 target:24812 attributes:[
   <RBSDomainAttribute| domain:"com.apple.launchservicesd" name:"LSNotification" sourceEnvironment:"(null)">
   ]>
default   08:30:04.359967+1300   runningboardd   Assertion 407-374-222826 (target:[app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812]) will be created as active
default   08:30:04.359680+1300   gamepolicyd   Received state update for 24812 (app<application.com.noodlesoft.Hazel.114765763.114765769(501)>, running-active-NotVisible
default   08:30:04.360290+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring jetsam update because this process is not memory-managed
default   08:30:04.360279+1300   runningboardd   Calculated state for app<application.com.noodlesoft.Hazel.114765763.114765769(501)>: running-active (role: UserInteractiveFocal)
default   08:30:04.360433+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring suspend because this process is not lifecycle managed
default   08:30:04.360615+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring GPU update because this process is not GPU managed
default   08:30:04.360805+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring memory limit update because this process is not memory-managed
default   08:30:04.360951+1300   runningboardd   Process: [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] has changes in inheritances: {(
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-222823 0>,
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-62631 0>,
    <RBSInheritance| environment:(none) name:com.apple.frontboard.visibility origID:407-401-222693 0>,
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-222823 0>,
    <RBSInheritance| environment:(none) name:com.apple.frontboard.visibility origID:407-401-222824 0>
)}
default   08:30:04.361789+1300   gamepolicyd   Received state update for 24812 (app<application.com.noodlesoft.Hazel.114765763.114765769(501)>, running-active-NotVisible
default   08:30:04.436474+1300   kernel   Sandbox: ContextStoreAgent(77101) allow file-read-data /Applications/Hazel.app
default   08:30:04.437834+1300   kernel   Sandbox: ContextStoreAgent(77101) allow file-read-data /Applications/Hazel.app/Contents
default   08:30:04.438122+1300   kernel   Sandbox: ContextStoreAgent(77101) allow file-read-data /Applications/Hazel.app/Contents/Info.plist
default   08:30:04.440589+1300   kernel   Sandbox: ContextStoreAgent(77101) allow file-read-data /Applications/Hazel.app
default   08:30:04.442027+1300   kernel   Sandbox: ContextStoreAgent(77101) allow file-read-data /Applications/Hazel.app/Contents/MacOS/Hazel
default   08:30:04.442718+1300   kernel   1 duplicate report for Sandbox: ContextStoreAgent(77101) allow file-read-data /Applications/Hazel.app/Contents/MacOS/Hazel
default   08:30:04.442749+1300   kernel   Sandbox: ContextStoreAgent(77101) allow file-read-xattr /Applications/Hazel.app/Contents/MacOS/Hazel
default   08:30:04.524523+1300   kernel   Sandbox: ContextStoreAgent(77101) allow file-read-data /Applications/Hazel.app/Contents/Info.plist
default   08:30:05.554398+1300   Hazel   order window: 279f op: 1 relative: 0 related: 0
default   08:30:05.554805+1300   Hazel   order window: 279f op: 1 relative: 0 related: 0
default   08:30:06.960774+1300   Hazel   window NSPopupMenuWindow 279f finishing close
default   08:30:06.961397+1300   Hazel   order window: 279f op: 0 relative: 0 related: 0
default   08:30:07.093381+1300   Hazel   Received error when reading in ruleset. Not writing out to disk: Error Domain=NSCocoaErrorDomain Code=260 "The file “16777234-48524202.hazelrules” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/jasonkoning/Library/Application Support/Hazel/16777234-48524202.hazelrules, NSUnderlyingError=0x60000acc3840 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
default   08:30:07.093488+1300   Hazel   Received error when reading in ruleset. Not writing out to disk: Error Domain=NSCocoaErrorDomain Code=260 "The file “16777233-287130.hazelrules” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/jasonkoning/Library/Application Support/Hazel/16777233-287130.hazelrules, NSUnderlyingError=0x600003108750 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
default   08:30:07.093568+1300   Hazel   Received error when reading in ruleset. Not writing out to disk: Error Domain=NSCocoaErrorDomain Code=260 "The file “16777234-45044588.hazelrules” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/jasonkoning/Library/Application Support/Hazel/16777234-45044588.hazelrules, NSUnderlyingError=0x6000032ac570 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
default   08:30:07.119501+1300   Hazel   order window front conditionally: f96 related: 0
default   08:30:07.120073+1300   Hazel   parent NSWindow 0x14a910b40 (f96) remove _NSAlertPanel 0x2916e19b0 (27a0) from group
default   08:30:07.120145+1300   Hazel   parent NSWindow 0x14a910b40 (f96) add _NSAlertPanel 0x2916e19b0 (27a0) to group
default   08:30:07.124655+1300   Hazel   order window: 27a0 op: 1 relative: f96 related: 0
default   08:30:07.394038+1300   Hazel   parent NSWindow 0x14a910b40 (f96) remove _NSAlertPanel 0x2916e19b0 (27a0) from group
default   08:30:07.394268+1300   Hazel   parent NSWindow 0x14a910b40 (f96) add _NSAlertPanel 0x2916e19b0 (27a0) to group
default   08:30:07.394536+1300   Hazel   order window: 27a0 op: 1 relative: f96 related: 0
default   08:30:08.575123+1300   Hazel   order window front conditionally: f96 related: 0
default   08:30:08.838781+1300   Hazel   parent NSWindow 0x14a910b40 (f96) remove _NSAlertPanel 0x2916e19b0 (27a0) from group
default   08:30:08.843833+1300   Hazel   order window: 27a0 op: 0 relative: 0 related: 0
default   08:30:08.850102+1300   Hazel   order window: 27a0 op: 0 relative: 0 related: 0
default   08:30:08.850214+1300   Hazel   order window: 27a0 op: 0 relative: 0 related: 0
default   08:30:10.523993+1300   runningboardd   Assertion did invalidate due to timeout: 407-374-222826 (target:[app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812])
default   08:30:10.749805+1300   runningboardd   Process: [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] has changes in inheritances: {(
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-222823 0>,
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-62631 0>,
    <RBSInheritance| environment:(none) name:com.apple.frontboard.visibility origID:407-401-222693 0>,
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-222823 0>,
    <RBSInheritance| environment:(none) name:com.apple.frontboard.visibility origID:407-401-222824 0>
)}
default   08:30:10.750072+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring jetsam update because this process is not memory-managed
default   08:30:10.750133+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring suspend because this process is not lifecycle managed
default   08:30:10.750262+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring GPU update because this process is not GPU managed
default   08:30:10.750461+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring memory limit update because this process is not memory-managed
default   08:30:10.750571+1300   runningboardd   Calculated state for app<application.com.noodlesoft.Hazel.114765763.114765769(501)>: running-active (role: UserInteractiveFocal)
default   08:30:10.765943+1300   gamepolicyd   Received state update for 24812 (app<application.com.noodlesoft.Hazel.114765763.114765769(501)>, running-active-NotVisible
default   08:30:13.026124+1300   runningboardd   Invalidating assertion 407-374-222823 (target:[app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812]) from originator [osservice<com.apple.coreservices.launchservicesd>:374]
default   08:30:13.058676+1300   runningboardd   Invalidating assertion 407-401-222824 (target:[app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812]) from originator [osservice<com.apple.WindowServer(88)>:401]
default   08:30:13.151973+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring jetsam update because this process is not memory-managed
default   08:30:13.151987+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring suspend because this process is not lifecycle managed
default   08:30:13.152097+1300   runningboardd   Calculated state for app<application.com.noodlesoft.Hazel.114765763.114765769(501)>: running-active (role: UserInteractiveNonFocal)
default   08:30:13.152159+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Set darwin role to: UserInteractiveNonFocal
default   08:30:13.152209+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring GPU update because this process is not GPU managed
default   08:30:13.152245+1300   runningboardd   [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] Ignoring memory limit update because this process is not memory-managed
default   08:30:13.152390+1300   runningboardd   Process: [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812] has changes in inheritances: {(
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-62631 0>,
    <RBSInheritance| environment:(none) name:com.apple.frontboard.visibility origID:407-401-222693 0>
)}
default   08:30:13.152806+1300   runningboardd   Process: [app<application.com.noodlesoft.Hazel.114765763.114765769(501)>:24812]: Sending inheritance changeset: <RBSInheritanceChangeSet| gained:{(
)} lost:{(
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-222823 0>,
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-222823 0>,
    <RBSInheritance| environment:(none) name:com.apple.frontboard.visibility origID:407-401-222824 0>
)}>
default   08:30:13.153105+1300   Hazel   Lost inheritances: {(
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-222823 0>,
    <RBSInheritance| environment:(none) name:com.apple.launchservices.userfacing origID:407-374-222823 0>,
    <RBSInheritance| environment:(none) name:com.apple.frontboard.visibility origID:407-401-222824 0>
)}
default   08:30:13.158121+1300   gamepolicyd   Received state update for 24812 (app<application.com.noodlesoft.Hazel.114765763.114765769(501)>, running-active-NotVisible


i'm guessing it's something to do with "Received error when reading in ruleset" of lost inheritances(?) whatever that is...
jhkoning
 
Posts: 8
Joined: Wed Sep 01, 2021 8:35 pm

Re: Could not save rules Fri Dec 08, 2023 9:49 am • by Mr_Noodle
It seems some of your rules files are missing? Have you made any changes to your system or Hazel recently?
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support