Mailspring icon indicating copy to clipboard operation
Mailspring copied to clipboard

Bug: Mailspring was unable to create or delete the LaunchAgent file

Open squintgit opened this issue 6 years ago • 7 comments

Describe the bug When I try to disable "Launch on system start", I get this error:

Screen Shot 2020-05-02 at 9 50 17 AM

I wanted to use the "Login Items" feature of macOS so I could hide Mailspring on start, which doesn't seem achievable just using the "Launch on system start" feature in Mailspring.

To Reproduce Steps to reproduce the behavior:

  1. Go to Preferences
  2. Try to untick "Launch on system start"

Error above received.

Expected behavior I expected no error to appear and for the box to get unticked.

Screenshots See above.

Setup: (please complete the following information):

  • OS: macOS
  • OS Version 10.14.6
  • Mailspring Version: 1.7.6

Additional context I only recently installed Mailspring.

squintgit avatar May 02 '20 15:05 squintgit

Hey thanks for reporting this! I'll see if I can reproduce this - I wonder if something changed in macOS 10.14.

bengotow avatar May 03 '20 21:05 bengotow

I just installed Mailspring (through Homebrew) and am seeing the exact same error message on Catalina 10.15.6.

RavHilton avatar Aug 08 '20 01:08 RavHilton

Same On High Sierra 10.13.6

Mailspring was unable to create or delete the LaunchAgent file at /Users/designlab/Library/LaunchAgents/com.mailspring.plist.

Error: ENOENT: no such file or directory, open '/Users/designlab/Library/LaunchAgents/com.mailspring.plist'

came wile swishing to debug flags

designlabmx avatar Nov 22 '20 13:11 designlabmx

I get the same message after installing via homebrew brew install --cask mailspring

Screenshot 2021-02-19 at 09 25 16

cabbage avatar Feb 19 '21 08:02 cabbage

This issue has been mentioned on Mailspring Community. There might be relevant details there:

https://community.getmailspring.com/t/mailspring-was-unable-to-create-or-delete-the-launchagent-file/708/1

foundry376-bot avatar Feb 19 '21 19:02 foundry376-bot

We are in the process of migrating issues to Discourse, which can better facilitate discussion and discovery, and so GitHub Issues can focus on issues that are confirmed and slated for resolution in the near term. Learn more about the changes here.

As part of this, we've migrated this issue to Discourse:

https://community.getmailspring.com/t/mailspring-was-unable-to-create-or-delete-the-launchagent-file/708

Please consider joining that community and continuing the discussion there! Votes on the issue on Discourse will help raise its priority in our planning.

@squintgit @RavHilton @designlabmx @cabbage: if you join and reply to the issue, the moderators can make an effort to reassign your posts to you, so you get the credit for them.

We're closing and locking the issue here as part of this migration. Rest assured, this doesn't mean the issue is being discarded or ignored.

We hope to see you on Discourse soon!

-The Mailspring Team

CodeMouse92 avatar Feb 19 '21 19:02 CodeMouse92

Hey @squintgit,

Thanks for reporting this - and thanks to everyone else who added their reports on this thread. This was a persistent macOS issue that we've since resolved.

The LaunchAgent file creation/deletion issue has been fixed in recent releases. You can download the latest version at https://getmailspring.com/download.

Give it a spin and let us know if the "Launch on system start" toggle works smoothly now. If you have any other issues, feel free to report them on our community forums at https://community.getmailspring.com.

Thanks for your patience!

bengotow avatar Jan 27 '26 04:01 bengotow