gingerbeardman Posted January 10, 2020 Share Posted January 10, 2020 Thanks both. I'm on Mojave 10.14.6 with latest Alfred 4.0.7. I was using version v2.0 of the workflow which had been working until recently. I have it working again. I redownloaded it from here: https://github.com/isometry/alfred-man/releases Also the older version in the OP still works for me. Here's the export of the version I have that stopped working but also now works. https://transfer.sh/15SdBV/man-exported.alfredworkflow Perhaps a corrupt cache? I deleted a workflow data folder for this. BTW I saw this in debug: [18:39:43.265] Logging Started... [18:39:43.301] Logging Stopped. [18:39:43.983] Logging Started... [18:39:51.606] man[Script Filter] Queuing argument 'x' [18:39:51.815] man[Script Filter] Script with argv 'x' finished [18:39:51.818] ERROR: man[Script Filter] Code 1: makewhatis: /dev/stdout: Too many levels of symbolic links makewhatis: /dev/stdout: Too many levels of symbolic links Traceback (most recent call last): File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 149, in <module> print(complete()) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 103, in complete whatis = fetch_whatis(cache_ttl) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 47, in fetch_whatis raw_pages = subprocess.check_output(WHATIS_COMMAND, shell=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '/usr/libexec/makewhatis -o /dev/stdout `/usr/bin/manpath`' returned non-zero exit status 1 [18:39:53.783] man[Script Filter] Queuing argument 'xa' [18:39:53.941] man[Script Filter] Script with argv 'xa' finished [18:39:53.945] ERROR: man[Script Filter] Code 1: makewhatis: /dev/stdout: Too many levels of symbolic links makewhatis: /dev/stdout: Too many levels of symbolic links Traceback (most recent call last): File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 149, in <module> print(complete()) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 103, in complete whatis = fetch_whatis(cache_ttl) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 47, in fetch_whatis raw_pages = subprocess.check_output(WHATIS_COMMAND, shell=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '/usr/libexec/makewhatis -o /dev/stdout `/usr/bin/manpath`' returned non-zero exit status 1 [18:39:55.204] man[Script Filter] Queuing argument 'xat' [18:39:55.367] man[Script Filter] Script with argv 'xat' finished [18:39:55.374] ERROR: man[Script Filter] Code 1: makewhatis: /dev/stdout: Too many levels of symbolic links makewhatis: /dev/stdout: Too many levels of symbolic links Traceback (most recent call last): File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 149, in <module> print(complete()) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 103, in complete whatis = fetch_whatis(cache_ttl) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 47, in fetch_whatis raw_pages = subprocess.check_output(WHATIS_COMMAND, shell=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '/usr/libexec/makewhatis -o /dev/stdout `/usr/bin/manpath`' returned non-zero exit status 1 [18:39:55.436] man[Script Filter] Queuing argument 'xatt' [18:39:55.592] man[Script Filter] Script with argv 'xatt' finished [18:39:55.601] ERROR: man[Script Filter] Code 1: makewhatis: /dev/stdout: Too many levels of symbolic links makewhatis: /dev/stdout: Too many levels of symbolic links Traceback (most recent call last): File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 149, in <module> print(complete()) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 103, in complete whatis = fetch_whatis(cache_ttl) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 47, in fetch_whatis raw_pages = subprocess.check_output(WHATIS_COMMAND, shell=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '/usr/libexec/makewhatis -o /dev/stdout `/usr/bin/manpath`' returned non-zero exit status 1 [18:39:55.708] man[Script Filter] Queuing argument 'xattr' [18:39:55.864] man[Script Filter] Script with argv 'xattr' finished [18:39:55.874] ERROR: man[Script Filter] Code 1: makewhatis: /dev/stdout: Too many levels of symbolic links makewhatis: /dev/stdout: Too many levels of symbolic links Traceback (most recent call last): File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 149, in <module> print(complete()) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 103, in complete whatis = fetch_whatis(cache_ttl) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 47, in fetch_whatis raw_pages = subprocess.check_output(WHATIS_COMMAND, shell=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '/usr/libexec/makewhatis -o /dev/stdout `/usr/bin/manpath`' returned non-zero exit status 1 Link to comment
Terminal Posted January 10, 2020 Share Posted January 10, 2020 35 minutes ago, gingerbeardman said: Thanks both. I'm on Mojave 10.14.6 with latest Alfred 4.0.7. I was using version v2.0 of the workflow which had been working until recently. I have it working again. I redownloaded it from here: https://github.com/isometry/alfred-man/releases Also the older version in the OP still works for me. Here's the export of the version I have that stopped working but also now works. https://transfer.sh/15SdBV/man-exported.alfredworkflow Perhaps a corrupt cache? I deleted a workflow data folder for this. BTW I saw this in debug: [18:39:43.265] Logging Started... [18:39:43.301] Logging Stopped. [18:39:43.983] Logging Started... [18:39:51.606] man[Script Filter] Queuing argument 'x' [18:39:51.815] man[Script Filter] Script with argv 'x' finished [18:39:51.818] ERROR: man[Script Filter] Code 1: makewhatis: /dev/stdout: Too many levels of symbolic links makewhatis: /dev/stdout: Too many levels of symbolic links Traceback (most recent call last): File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 149, in <module> print(complete()) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 103, in complete whatis = fetch_whatis(cache_ttl) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 47, in fetch_whatis raw_pages = subprocess.check_output(WHATIS_COMMAND, shell=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '/usr/libexec/makewhatis -o /dev/stdout `/usr/bin/manpath`' returned non-zero exit status 1 [18:39:53.783] man[Script Filter] Queuing argument 'xa' [18:39:53.941] man[Script Filter] Script with argv 'xa' finished [18:39:53.945] ERROR: man[Script Filter] Code 1: makewhatis: /dev/stdout: Too many levels of symbolic links makewhatis: /dev/stdout: Too many levels of symbolic links Traceback (most recent call last): File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 149, in <module> print(complete()) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 103, in complete whatis = fetch_whatis(cache_ttl) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 47, in fetch_whatis raw_pages = subprocess.check_output(WHATIS_COMMAND, shell=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '/usr/libexec/makewhatis -o /dev/stdout `/usr/bin/manpath`' returned non-zero exit status 1 [18:39:55.204] man[Script Filter] Queuing argument 'xat' [18:39:55.367] man[Script Filter] Script with argv 'xat' finished [18:39:55.374] ERROR: man[Script Filter] Code 1: makewhatis: /dev/stdout: Too many levels of symbolic links makewhatis: /dev/stdout: Too many levels of symbolic links Traceback (most recent call last): File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 149, in <module> print(complete()) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 103, in complete whatis = fetch_whatis(cache_ttl) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 47, in fetch_whatis raw_pages = subprocess.check_output(WHATIS_COMMAND, shell=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '/usr/libexec/makewhatis -o /dev/stdout `/usr/bin/manpath`' returned non-zero exit status 1 [18:39:55.436] man[Script Filter] Queuing argument 'xatt' [18:39:55.592] man[Script Filter] Script with argv 'xatt' finished [18:39:55.601] ERROR: man[Script Filter] Code 1: makewhatis: /dev/stdout: Too many levels of symbolic links makewhatis: /dev/stdout: Too many levels of symbolic links Traceback (most recent call last): File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 149, in <module> print(complete()) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 103, in complete whatis = fetch_whatis(cache_ttl) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 47, in fetch_whatis raw_pages = subprocess.check_output(WHATIS_COMMAND, shell=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '/usr/libexec/makewhatis -o /dev/stdout `/usr/bin/manpath`' returned non-zero exit status 1 [18:39:55.708] man[Script Filter] Queuing argument 'xattr' [18:39:55.864] man[Script Filter] Script with argv 'xattr' finished [18:39:55.874] ERROR: man[Script Filter] Code 1: makewhatis: /dev/stdout: Too many levels of symbolic links makewhatis: /dev/stdout: Too many levels of symbolic links Traceback (most recent call last): File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 149, in <module> print(complete()) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 103, in complete whatis = fetch_whatis(cache_ttl) File "/Users/matt/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.14080B78-A5B3-4E4E-96DE-CDA5E1AE3091/man.py", line 47, in fetch_whatis raw_pages = subprocess.check_output(WHATIS_COMMAND, shell=True) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '/usr/libexec/makewhatis -o /dev/stdout `/usr/bin/manpath`' returned non-zero exit status 1 Glad you have it work. I actually am about to release a re-write of a man pages workflow that utilizes golang rather than python. I am just implementing the update and cache features. Not sure how active the dev on this one is. Link to comment
gingerbeardman Posted January 15, 2020 Share Posted January 15, 2020 On 1/10/2020 at 7:52 PM, Terminal said: Glad you have it work. I actually am about to release a re-write of a man pages workflow that utilizes golang rather than python. I am just implementing the update and cache features. Not sure how active the dev on this one is. I'd be happy to test yours. I'm not wedded to this one by any means! Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now