Closed stevenjlho closed 3 years ago
Receive same error today
This is likely a bug happened during self upgrade, removing the folder ~/Library/Application Support/Alfred/Workflow Data/tech.tomy.coon
should fix for now, patch will be release in the next update.
Please reply if this fix works, as I will be able to determine this issue can be closed.
Thanks all.
After removing the folder .../tech.tomy.coon, it work without problem, thanks for such a quick processing
Closing for now. If anyone encounter the same problem and can't fix with the instructions provided, feel free to reopen the issue.
After removing the folder .../tech.tomy.coon, it also show these error
08:50:22 workflow.py:2061 DEBUG ---------- Coinc (1.3.0) ----------
08:50:22 background.py:240 DEBUG [__workflow_update_check] background job started
08:50:22 workflow.py:2080 ERROR [Errno 66] Directory not empty
Traceback (most recent call last):
File "/Users/stevenjlho/Library/Mobile Documents/com~apple~CloudDocs/Backup/Alfred.alfredpreferences/workflows/user.workflow.74F5C645-0536-4E64-B821-75258589768D/workflow/workflow.py", line 2073, in run
func(self)
File "main.py", line 12, in main
if coinc.utils.manual_update_patch(workflow):
File "/Users/stevenjlho/Library/Mobile Documents/com~apple~CloudDocs/Backup/Alfred.alfredpreferences/workflows/user.workflow.74F5C645-0536-4E64-B821-75258589768D/coinc/utils.py", line 62, in manual_update_patch
os.rename(old_path, new_path)
OSError: [Errno 66] Directory not empty
08:50:22 workflow.py:2082 INFO for assistance, see: https://git.io/JfjXg
08:50:22 workflow.py:2103 DEBUG ---------- finished in 0.117s ----------
[08:50:22.989] Coinc[Script Filter] {
"items": [
{
"valid": false,
"subtitle": "[Errno 66] Directory not empty",
"icon": {
"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"
},
"title": "Error in workflow 'Coinc'"
}
]
}
@stevenjlho I saw you setup the alfred preference to sync across devices with iCloud, which is not recommended.
But, if you insist...
Navigate to Alfred preference panel, double click on Coinc
, and change the Bundle Id
from tech.tomy.coon
to tech.tomy.coinc
as the following image, then remove the folder ~/Library/Application Support/Alfred/Workflow Data/tech.tomy.coon
again.
@tomy0000000 Thanks for your help. it work without problem
I was getting this error as well. Tried removing an re-adding the workflow, but got the same error each time. Removing the ~/Library/Application Support/Alfred/Workflow Data/tech.tomy.coon
file fixed it.
Adding the debug code from getting the error:
[12:18:43.977] Coinc[Script Filter] Queuing argument '100'
[12:18:44.375] Coinc[Script Filter] Script with argv '100' finished
[12:18:44.383] ERROR: Coinc[Script Filter] Code 1: .
12:18:44 workflow.py:2061 DEBUG ---------- Coinc (1.3.0) ----------
12:18:44 workflow.py:1468 DEBUG reading settings from /Users/arvidbjorkstrom/Library/Application Support/Alfred/Workflow Data/tech.tomy.coinc/settings.json
12:18:44 workflow.py:2343 DEBUG update check not due
12:18:44 workflow.py:2080 ERROR [Errno 66] Directory not empty
Traceback (most recent call last):
File "/Users/arvidbjorkstrom/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.02A1D994-19AD-45BC-9082-33BEF459AE56/workflow/workflow.py", line 2073, in run
func(self)
File "main.py", line 12, in main
if coinc.utils.manual_update_patch(workflow):
File "/Users/arvidbjorkstrom/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.02A1D994-19AD-45BC-9082-33BEF459AE56/coinc/utils.py", line 62, in manual_update_patch
os.rename(old_path, new_path)
OSError: [Errno 66] Directory not empty
12:18:44 workflow.py:2082 INFO for assistance, see: https://git.io/JfjXg
12:18:44 workflow.py:2103 DEBUG ---------- finished in 0.071s ----------
[12:18:44.385] Coinc[Script Filter] {
"items": [
{
"valid": false,
"subtitle": "[Errno 66] Directory not empty",
"icon": {
"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"
},
"title": "Error in workflow 'Coinc'"
}
]
}
Reinstalling the workflow (v1.3.0 from Packal) re-adds the directory and reintroduces the error.
@arvidbjorkstrom Please try the latest update release (v1.3.1) from GitHub, let me know if that's not working.
Debug Log