-
Notifications
You must be signed in to change notification settings - Fork 58
Outset not creating the com.github.outset.once.plist file in ~/Library/Preferences #83
Comments
Did you figure out the issue? I'm running into the same. Even running the package manually will result in it not creating the plist. |
Adding a comment here in case you're not in the MacAdmins Slack #outset channel. I was able to figure this out, originally created my custom Outset package with the latest release 3.0.3 but was pushing the default Outset release 3.0.1. As soon as I uploaded the default release to 3.0.3 that plist appeared. |
@prdgalex Where did you find the 3.0.3 release? I only see the latest release as 3.0.1 |
Go to the latest releases page here: https://github.com/chilcote/outset/releases. Once there expand Assets and you'll see the outset-3.0.3.pkg. |
I suspect what's happening is either the script is crashing, or something is causing it to time out so that it never gets to the point where the plist would be populated. Anything of interest in the logs? I just tried on a fresh setup and can't replicate this. |
Thanks @prdgalex for that. I did get 3.0.3 installed. I am still not getting that plist created, so my script still runs every login. What logs are you speaking of? |
The only thing that |
My guess is that outset itself is exiting before it gets to this point https://github.com/chilcote/outset/blob/master/pkgroot/usr/local/outset/outset#L363-L365 Try editing that locally (/usr/local/outset/outset) and add a log line just above that, see if that gets logged.
|
and maybe pass the value for
|
I'm sorry, I don't really know python very well. Just type |
Sorry, yeah, right here, and indented (spaces) the same as "if d:" |
So I wiped my test box and just installed python3 and outset 3.0.3. But I had to install python from the prompt when I logged in. After that, it worked as it should. Before I downloaded python from |
I'm not entirely sure what you mean by the "one you download using terminal," but I assume that means installing the Command Line Tools, I.e apple's python. It's possible that the python from python.org will have different behaviors I suppose. |
So what is the proper manner in which to get python on the machine, in your opinion? I have been downloading python from python.org and installing it before outset. I am over the macs in classrooms and labs for our organization and I need to be able to replicate this. |
It seems to be working now. I must have done something weird when I was testing. I really appreciate your help @chilcote. |
I have a script that sets user docks initially for each user on a mac. I want it to only run once per user. So I place it in /usr/local/outset/login-once. I noticed recently that the scripts have been running every time the same user logins. After some research, it seems that outset has not been creating the com.github.outset.once.plist file in ~/Library/Preferences.
Could it be a permissions issue? I have the permissions set to root:wheel 755 but I also tried root:admin 755 and it didn't seem to create that once file.
I am running outset 3.0.1 on macOS Catalina 10.15.7. I have Python3 installed as well.
The text was updated successfully, but these errors were encountered: