Jump to content

Can't add workflow to Alfred 2.8.1


Danieliu
 Share

Recommended Posts

I am happy with Alfred 2. But after I upgrade to OS X 10.11.2, evernote workflow did NOT work.

I deleted the workflow and try to reinstall it, but after I double clicked the evernote.alfredworkflow, the workflow can not be added to Alfred, and I got some error log from console as below:

12/27/15 10:42:35.277 PM CoreServicesUIAgent[74709]: Error -60005 creating authorization
12/27/15 10:42:35.320 PM Alfred Preferences[74320]: working directory doesn't exist.
12/27/15 10:42:35.321 PM Alfred Preferences[74320]: (
	0   CoreFoundation                      0x00007fff9a20dae2 __exceptionPreprocess + 178
	1   libobjc.A.dylib                     0x00007fff97fc6f7e objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff9a20d98d +[NSException raise:format:] + 205
	3   Foundation                          0x00007fff9aa9d522 -[NSConcreteTask launchWithDictionary:] + 620
	4   Alfred Framework                    0x0000000100118121 +[AlfredWorkflowSharingHelper unzipWorkflowToTemp:] + 422
	5   Alfred Framework                    0x0000000100117e84 +[AlfredWorkflowSharingHelper importWorkflow:intoWindow:] + 59
	6   Alfred Preferences                  0x00000001000021cc Alfred Preferences + 8652
	7   CoreFoundation                      0x00007fff9a1c770c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
	8   CoreFoundation                      0x00007fff9a1c767f ___CFXRegistrationPost_block_invoke + 63
	9   CoreFoundation                      0x00007fff9a1c6d47 _CFXRegistrationPost + 407
	10  CoreFoundation                      0x00007fff9a1c6ab2 ___CFXNotificationPost_block_invoke + 50
	11  CoreFoundation                      0x00007fff9a1c0d42 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1922
	12  CoreFoundation                      0x00007fff9a0af145 _CFXNotificationPost + 693
	13  Foundation                          0x00007fff9aa7f921 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
	14  Alfred Framework                    0x0000000100096d51 -[AlfredDistributedNotificationManager incoming:] + 256
	15  CoreFoundation                      0x00007fff9a1c770c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
	16  CoreFoundation                      0x00007fff9a1c767f ___CFXRegistrationPost_block_invoke + 63
	17  CoreFoundation                      0x00007fff9a11d4ac __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
	18  CoreFoundation                      0x00007fff9a10f165 __CFRunLoopDoBlocks + 341
	19  CoreFoundation                      0x00007fff9a10eecb __CFRunLoopRun + 2347
	20  CoreFoundation                      0x00007fff9a10e338 CFRunLoopRunSpecific + 296
	21  HIToolbox                           0x00007fff9911a935 RunCurrentEventLoopInMode + 235
	22  HIToolbox                           0x00007fff9911a76f ReceiveNextEventCommon + 432
	23  HIToolbox                           0x00007fff9911a5af _BlockUntilNextEventMatchingListInModeWithFilter + 71
	24  AppKit                              0x00007fff9e0610ee _DPSNextEvent + 1067
	25  AppKit                              0x00007fff9e42d943 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
	26  AppKit                              0x00007fff9e056fc8 -[NSApplication run] + 682
	27  AppKit                              0x00007fff9dfd9520 NSApplicationMain + 1176
	28  Alfred Preferences                  0x0000000100001bf8 Alfred Preferences + 7160
)

How can I solve this?

 

I am not happy when my Alfred without evernote workflow...

 

Link to comment
Share on other sites

How can I solve this?

 

I am not happy when my Alfred without evernote workflow...

 

 

This looks like a permissions issue as Alfred is unable to create the workflow folder.

 

I can help you with a few Terminal commands to fix this - To help me with this, do you have syncing setup? If so, which folder?

 

Cheers,

Andrew

Link to comment
Share on other sites

This looks like a permissions issue as Alfred is unable to create the workflow folder.

 

I can help you with a few Terminal commands to fix this - To help me with this, do you have syncing setup? If so, which folder?

 

Cheers,

Andrew

 

Appreciate your reply.

My sync folder is `~/Documents/Alfred`

Link to comment
Share on other sites

Appreciate your reply.

My sync folder is `~/Documents/Alfred`

 

 

Quit Alfred then paste the following commands into Terminal.app, replacing "andrew" with your username...

 
chown -R andrew:staff ~/Documents/Alfred/Alfred.alfredpreferences
 
xattr -rc ~/Documents/Alfred/Alfred.alfredpreferences
chmod -R u+rwX,go+rX ~/Documents/Alfred/Alfred.alfredpreferences
 
Let me know how you get on, or if you see error messages with the above :)
 
Cheers,
Andrew
Link to comment
Share on other sites

 

Quit Alfred then paste the following commands into Terminal.app, replacing "andrew" with your username...

 
chown -R andrew:staff ~/Documents/Alfred/Alfred.alfredpreferences
 
xattr -rc ~/Documents/Alfred/Alfred.alfredpreferences
chmod -R u+rwX,go+rX ~/Documents/Alfred/Alfred.alfredpreferences
 
Let me know how you get on, or if you see error messages with the above :)
 
Cheers,
Andrew

 

 

 

I followed your commands, and got the same error messages from console:

12/29/15 7:30:06.817 PM CoreServicesUIAgent[65971]: Error -60005 creating authorization
12/29/15 7:30:06.854 PM Alfred Preferences[67752]: working directory doesn't exist.
12/29/15 7:30:06.856 PM Alfred Preferences[67752]: (
	0   CoreFoundation                      0x00007fff9a20dae2 __exceptionPreprocess + 178
	1   libobjc.A.dylib                     0x00007fff97fc6f7e objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff9a20d98d +[NSException raise:format:] + 205
	3   Foundation                          0x00007fff9aa9d522 -[NSConcreteTask launchWithDictionary:] + 620
	4   Alfred Framework                    0x0000000100118121 +[AlfredWorkflowSharingHelper unzipWorkflowToTemp:] + 422
	5   Alfred Framework                    0x0000000100117e84 +[AlfredWorkflowSharingHelper importWorkflow:intoWindow:] + 59
	6   Alfred Preferences                  0x00000001000021cc Alfred Preferences + 8652
	7   CoreFoundation                      0x00007fff9a1c770c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
	8   CoreFoundation                      0x00007fff9a1c767f ___CFXRegistrationPost_block_invoke + 63
	9   CoreFoundation                      0x00007fff9a1c6d47 _CFXRegistrationPost + 407
	10  CoreFoundation                      0x00007fff9a1c6ab2 ___CFXNotificationPost_block_invoke + 50
	11  CoreFoundation                      0x00007fff9a1c0d42 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1922
	12  CoreFoundation                      0x00007fff9a0af145 _CFXNotificationPost + 693
	13  Foundation                          0x00007fff9aa7f921 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
	14  Alfred Framework                    0x0000000100096d51 -[AlfredDistributedNotificationManager incoming:] + 256
	15  CoreFoundation                      0x00007fff9a1c770c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
	16  CoreFoundation                      0x00007fff9a1c767f ___CFXRegistrationPost_block_invoke + 63
	17  CoreFoundation                      0x00007fff9a11d4ac __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
	18  CoreFoundation                      0x00007fff9a10f165 __CFRunLoopDoBlocks + 341
	19  CoreFoundation                      0x00007fff9a10eecb __CFRunLoopRun + 2347
	20  CoreFoundation                      0x00007fff9a10e338 CFRunLoopRunSpecific + 296
	21  HIToolbox                           0x00007fff9911a935 RunCurrentEventLoopInMode + 235
	22  HIToolbox                           0x00007fff9911a76f ReceiveNextEventCommon + 432
	23  HIToolbox                           0x00007fff9911a5af _BlockUntilNextEventMatchingListInModeWithFilter + 71
	24  AppKit                              0x00007fff9e0610ee _DPSNextEvent + 1067
	25  AppKit                              0x00007fff9e42d943 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
	26  AppKit                              0x00007fff9e056fc8 -[NSApplication run] + 682
	27  AppKit                              0x00007fff9dfd9520 NSApplicationMain + 1176
	28  Alfred Preferences                  0x0000000100001bf8 Alfred Preferences + 7160
	29  ???                                 0x0000000000000002 0x0 + 2
)

Link to comment
Share on other sites

Also, could you show me the output from Terminal if you type the following command:

 

touch /tmp/hello

 

Cheers,

Andrew

─liudanking@Daniel-rMBP.local ~/Documents/Alfred/Alfred.alfredpreferences
╰─➤  touch /tmp/hello
╭─liudanking@Daniel-rMBP.local ~/Documents/Alfred/Alfred.alfredpreferences
Link to comment
Share on other sites

─liudanking@Daniel-rMBP.local ~/Documents/Alfred/Alfred.alfredpreferences
╰─➤  touch /tmp/hello
╭─liudanking@Daniel-rMBP.local ~/Documents/Alfred/Alfred.alfredpreferences

 

 

Did this create the "hello" file in /tmp?

 

I suspect that for some reason, Alfred Preferences is not able to write to the tmp folder. This could be a permissions issue, or the tmp folder is being incorrectly reported to apps.

 

Have you tried creating a new user account as this may be an issue with your primary account?

 

Cheers,

Andrew

Link to comment
Share on other sites

I'm having the same problem, but with different symptoms. I have tried chmod-ing and moving alfred preferences folder, to know avail and I was able to create a hello in my /tmp as above, but i still get the following line in console when trying to add a worfklow:

 

1/7/16 2:11:22.428 PM CoreServicesUIAgent[566]: Error -60005 creating authorization

 

It seems like a permissions thing, but wouldn't chmod resolve that?

 

Thanks in advance for any help!

Link to comment
Share on other sites

I'm having the same problem, but with different symptoms. I have tried chmod-ing and moving alfred preferences folder, to know avail and I was able to create a hello in my /tmp as above, but i still get the following line in console when trying to add a worfklow:

 

1/7/16 2:11:22.428 PM CoreServicesUIAgent[566]: Error -60005 creating authorization

 

It seems like a permissions thing, but wouldn't chmod resolve that?

 

Thanks in advance for any help!

 

 

Could you try temporarily creating a new account on your Mac and see if things work there?

 

Cheers,

Andrew

Link to comment
Share on other sites

Did this create the "hello" file in /tmp?

 

I suspect that for some reason, Alfred Preferences is not able to write to the tmp folder. This could be a permissions issue, or the tmp folder is being incorrectly reported to apps.

 

Have you tried creating a new user account as this may be an issue with your primary account?

 

Cheers,

Andrew

 

 

Yes, it creates "hello" file in /tmp.

Link to comment
Share on other sites

Yes, it creates "hello" file in /tmp.

 

 

There is obviously a permissions issue outside of Alfred's control preventing Alfred's Preferences from writing to the tmp folder. Now that El Capitan's Disk Utility doesn't have the repair permissions option anymore, try following this guide to repair permissions:

 

http://osxdaily.com/2015/11/04/verify-repair-permissions-mac-os-x/

 

A quick search on google for "Error -60005 creating authorization" also suggests trying changing your account password which may flush some issues.

 

Cheers,

Andrew

Link to comment
Share on other sites

There is obviously a permissions issue outside of Alfred's control preventing Alfred's Preferences from writing to the tmp folder. Now that El Capitan's Disk Utility doesn't have the repair permissions option anymore, try following this guide to repair permissions:

 

http://osxdaily.com/2015/11/04/verify-repair-permissions-mac-os-x/

 

A quick search on google for "Error -60005 creating authorization" also suggests trying changing your account password which may flush some issues.

 

Cheers,

Andrew

 

I tried to fix disk, without success. 

Then I remove the whole Alfred using CleanApp and install alfred.

The problem is gone, and I am happy now.

Edited by Danieliu
Link to comment
Share on other sites

I tried to fix disk, without success. 

Then I remove the whole Alfred using CleanApp and install alfred.

The problem is gone, and I am happy now.

 

 

Same here, i just manually deleted all traces of Alfred, reinstalled, reset my sync folder and I seem to be all set now. Probably just a weird quirk of El Capitan we both fell in to. 

 

 

Thanks for the update chaps - I'm moving this to noted so that it's still searchable for other users who may experience this issue!

 

Cheers,

Andrew

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...