jin5354 / alfred3-workflow-CurrencyConvert

This alfred3 workflow can convert currency conveniently.
292 stars 32 forks source link

Unable to use Workflow #16

Open roarkmccolgan opened 6 years ago

roarkmccolgan commented 6 years ago

Hi,

When I type base-cy or add-cy nothing happens. When using add-cy, I get a flash of "Connecting to server" then cy option disappears and all I have is the option to search google

roarkmccolgan commented 6 years ago

OS version 10.11.6 El Capitan

fakepop commented 6 years ago

@roarkmccolgan - Can you post the Log info?

Open up Alfred's preferences, go to Workflow, select the Currency Converter and click the little bug at the top right.

Trigger your workflow normally and post your log here.

I have had an issue with an old version of Ruby that failed a SSL handshake.

hausofwong commented 6 years ago

I'm getting the same issue.

The debug error I get is: [2018-10-10 14:19:52][ERROR: input.scriptfilter] Code 1: ./convert.rb:54:in

': undefined method each' for nil:NilClass (NoMethodError)

alekseyruzov commented 5 years ago

[2019-02-13 13:43:58][ERROR: input.scriptfilter] Code 1: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/protocol.rb:44:inconnect_nonblock': Connection reset by peer - SSL_connect (Errno::ECONNRESET) from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/protocol.rb:44:in ssl_socket_connect' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/http.rb:928:inconnect' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/http.rb:863:in do_start' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/http.rb:852:instart' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/http.rb:584:in start' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/http.rb:479:inget_response' from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/net/http.rb:456:in get' from ./convert.rb:86:in

'`

HyWell commented 5 years ago

and me

Code 1: /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/net/http.rb:949:in rescue in block in connect': Failed to open TCP connection to api.exchangeratesapi.io:443 (getaddrinfo: nodename nor servname provided, or not known) (SocketError) from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/net/http.rb:946:inblock in connect' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/timeout.rb:93:in block in timeout' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/timeout.rb:103:intimeout' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/net/http.rb:945:in connect' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/net/http.rb:930:indo_start' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/net/http.rb:919:in start' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/net/http.rb:605:instart' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/net/http.rb:481:in get_response' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/net/http.rb:458:inget' from ./convert.rb:86:in <main>' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/net/http.rb:947:ininitialize': getaddrinfo: nodename nor servname provided, or not known (SocketError) from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/net/http.rb:947:in open' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/net/http.rb:947:inblock in connect' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/timeout.rb:93:in block in timeout' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/timeout.rb:103:intimeout' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/net/http.rb:945:in connect' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/net/http.rb:930:indo_start' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/net/http.rb:919:in start' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/net/http.rb:605:instart' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/net/http.rb:481:in get_response' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/net/http.rb:458:inget' from ./convert.rb:86:in `

'