janclarin Posted March 12, 2017 Share Posted March 12, 2017 (edited) I created a workflow to easily search and display for Japanese-English translations from Jisho.org. To download, visit https://github.com/janclarin/jisho-alfred-workflow and press the download button. Please let me know what you think! Packal link. Edited March 12, 2017 by janclarin Add Packal link Link to comment
Zoomat Posted July 2, 2018 Share Posted July 2, 2018 Hi, when i'm trying to do a search it says "there was an issue retrieving jisho results". : / Any solution ? Thanks ! Link to comment
deanishe Posted July 2, 2018 Share Posted July 2, 2018 3 hours ago, Zoomat said: Any solution ? That's not really enough information. What does the debugger say? Link to comment
Zoomat Posted July 4, 2018 Share Posted July 4, 2018 It says : [0030-07-04 10:32:54][STDERR: input.scriptfilter] 10:32:53 workflow.py:2225 DEBUG Workflow version : 1.9.1 10:32:53 workflow.py:1628 DEBUG Reading settings from `/Users/[my name]/Library/Application Support/Alfred 3/Workflow Data/com.janclarin.jisho-alfred-workflow/settings.json` ... 10:32:53 workflow.py:2509 INFO Checking for update ... 10:32:53 background.py:178 DEBUG Command arguments cached to `/Users/[my name]/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.janclarin.jisho-alfred-workflow/__workflow_update_check.argcache` 10:32:53 background.py:182 DEBUG Calling [u'/usr/bin/python', '/Users/[my name]/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.70E3C125-5F41-4C71-A79E-DF6EEA79EC10/workflow/background.pyc', u'__workflow_update_check'] ... 10:32:54 workflow.py:2225 DEBUG Workflow version : 1.9.1 10:32:54 background.py:187 DEBUG Executing task `__workflow_update_check` in background... 10:32:54 workflow.py:2444 DEBUG update_data : None 10:32:54 workflow.py:2423 DEBUG Set last run version : 1.9.1 10:32:54 workflow.py:2267 DEBUG Workflow finished in 0.554 seconds. [0030-07-04 10:32:55][STDERR: input.scriptfilter] 10:32:54 workflow.py:2225 DEBUG Workflow version : 1.9.1 10:32:54 workflow.py:1628 DEBUG Reading settings from `/Users/[my name]/Library/Application Support/Alfred 3/Workflow Data/com.janclarin.jisho-alfred-workflow/settings.json` ... 10:32:54 workflow.py:2509 INFO Checking for update ... 10:32:54 background.py:178 DEBUG Command arguments cached to `/Users/[my name]/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.janclarin.jisho-alfred-workflow/__workflow_update_check.argcache` 10:32:54 background.py:182 DEBUG Calling [u'/usr/bin/python', '/Users/[my name]/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.70E3C125-5F41-4C71-A79E-DF6EEA79EC10/workflow/background.pyc', u'__workflow_update_check'] ... 10:32:54 workflow.py:2225 DEBUG Workflow version : 1.9.1 10:32:54 background.py:187 DEBUG Executing task `__workflow_update_check` in background... 10:32:54 workflow.py:2444 DEBUG update_data : None 10:32:55 workflow.py:2423 DEBUG Set last run version : 1.9.1 10:32:55 workflow.py:2267 DEBUG Workflow finished in 0.526 seconds. Sorry I'm very ignorant in this kind of stuff. Link to comment
deanishe Posted July 4, 2018 Share Posted July 4, 2018 (edited) Which version of macOS are you using? EDIT: I've checked jisho.org, and it won't work with this workflow on macOS versions older than High Sierra. The same goes for GitHub, which means the workflow can't update itself (that's why the debugger log is full of "checking for update" messages—the check always fails). The technical reason is that the version of OpenSSL used by Sierra and earlier versions is criminally out-of-date, and only supports TLS 1.0. Python (the language the workflow is written in) uses the system OpenSSL library, and thus also can't connect to websites that don't support TLS 1.0. Edited July 4, 2018 by deanishe Link to comment
janclarin Posted July 5, 2018 Author Share Posted July 5, 2018 Apologies for the late reply, as I away from internet for a while. Thanks for chiming in deanishe! Hopefully (or unfortunately), an older version of macOS is likely the cause. Link to comment
Zoomat Posted July 5, 2018 Share Posted July 5, 2018 Thanks ! Yeah I'm still using sierra so that's probably the issue. Guess it's time to update. Link to comment
scottpie Posted June 3, 2020 Share Posted June 3, 2020 Hi, reviving this old topic in hope of someone smarter than me having a solution. I've been using this workflow on Mojave for a while without any problem (guess it got fixed at some point) but just recently it stopped working and giving the error as originally shown in the OP. It may have happened after the MacOS 10.14.6 update or after Alfred's 4.0.9 update, not exactly sure. In any case, my debug log shows the following: [19:17:03.528] Logging Started... [19:17:51.908] Jisho.org[Script Filter] Queuing argument 'hello' [19:17:52.836] Jisho.org[Script Filter] Script with argv '(null)' finished [19:17:52.840] STDERR: Jisho.org[Script Filter] 19:17:52 workflow.py:2225 DEBUG Workflow version : 1.9.1 19:17:52 workflow.py:1628 DEBUG Reading settings from `/Users/*******/Library/Application Support/Alfred/Workflow Data/com.janclarin.jisho-alfred-workflow/settings.json` ... 19:17:52 workflow.py:2514 DEBUG Update check not due 19:17:52 workflow.py:1859 DEBUG Loading cached data from : /Users/*******/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.janclarin.jisho-alfred-workflow/__workflow_update_status.cpickle 19:17:52 workflow.py:2444 DEBUG update_data : {u'available': False} 19:17:52 workflow.py:2423 DEBUG Set last run version : 1.9.1 19:17:52 workflow.py:2267 DEBUG Workflow finished in 0.764 seconds. [19:17:52.842] Jisho.org[Script Filter] <?xml version="1.0" encoding="utf-8"?> <items><item valid="yes"><title>There was an issue retrieving Jisho results</title><subtitle /><arg>hello</arg><icon>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns</icon></item></items> Any ideas where the error is coming from this time around? Many thanks! Link to comment
janclarin Posted June 4, 2020 Author Share Posted June 4, 2020 Hi scottpie, glad you like the workflow! There might be some permission issues that's causing this on Mojave as mentioned by deanishe in a separate post. Please try the steps outlined in https://www.alfredapp.com/help/getting-started/permissions/ and let me know if that resolves your issues Link to comment
scottpie Posted July 9, 2020 Share Posted July 9, 2020 Just to update, those steps didn't help at the time but now after several weeks the workflow started working again. I have no explanation since I don't think Alfred or Mojave have had any updates since then but I'm not going to look a gift horse in the mouth. Just ecstatic it's working again. 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