Jump to content

Jisho.org Workflow - Search for Japanese-English definitions


Recommended Posts

  • 1 year later...

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. :P

Link to comment

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 by deanishe
Link to comment
  • 1 year later...

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
  • 1 month later...

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

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
×
×
  • Create New...