Coder Social home page Coder Social logo

alfred3-workflow-currencyconvert's People

Contributors

bumaociyuan avatar jin5354 avatar jkaving avatar mush-learnings avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alfred3-workflow-currencyconvert's Issues

Fixer API is no longer open

It now returns this:

{
  "0": "#################################################################################################################################",
  "1": "#                                                                                                                               #",
  "2": "# IMPORTANT - PLEASE UPDATE YOUR API ENDPOINT                                                                                   #",
  "3": "#                                                                                                                               #",
  "4": "# This API endpoint is deprecated and has now been shut down. To keep using the Fixer API, please update your integration       #",
  "5": "# to use the new Fixer API endpoint, designed as a simple drop-in replacement.                                                  #",
  "6": "# You will be required to create an account at https://fixer.io and obtain an API access key.                                   #",
  "7": "#                                                                                                                               #",
  "8": "# For more information on how to upgrade please visit our Github Tutorial at: https://github.com/fixerAPI/fixer#readme          #",
  "9": "#                                                                                                                               #",
  "a": "#################################################################################################################################"
}

Readme contains this: Minor limitations include our new 1000 requests/month limit and EUR being the only available base currency for customers using a free account.

So, basically, it's now useless

Should we start looking for some other endpoint?

sslv3 alert handshake failure

Hi!

Got nothing in result for any command, so checked the logs:

[ERROR: input.scriptfilter] Code 1: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:921:in `connect': SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: sslv3 alert handshake failure (OpenSSL::SSL::SSLError)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:921:in `block in connect'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/timeout.rb:52:in `timeout'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:921:in `connect'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:862:in `do_start'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:851:in `start'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:582:in `start'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:477:in `get_response'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:454:in `get'
	from ./add.rb:11:in `<main>'

macOS 10.12.6, Alfred 3.7, default openssl / ruby installations.

Any clue?
Thanks!

can't use until switching VPN on

I've just installed workflow. If I just type any keyword nothing happens. If I connect to my vpn server at Scaleway France it works just fine.
Looks like servers using by workflow are blocked from my country (Russia)

Unable to use Workflow

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

Allow white space between amount and currency

I don't know how much effort it will require but it will be nice if we were allowed to have a white space between the amount and the currency as a lot of people is used to type this way.

image

I'll try to give a look at the code and see if I can help with that :)

`remove-cy` not working - Debug Error: undefined method `each' for nil:NilClass (NoMethodError)

Hi,

Just installed the Workflow, and I think it's great... the only issue is that remove-cy is not working for me.

I've followed the instructions in this issue #16 (comment) to generate the log, and when running the command I get the following in the Alfred Window:

Starting debug for 'Currency Convert'

[2018-11-16 13:36:59][input.scriptfilter] Queuing argument ''
[2018-11-16 13:37:00][input.scriptfilter] Script with argument '(null)' finished
[2018-11-16 13:37:00][ERROR: input.scriptfilter] Code 1: ./remove.rb:12:in `<main>': undefined method `each' for nil:NilClass (NoMethodError)

The rest of the methods ('cy', 'add-cy', base-cy) have worked fine. If it's relevant, I did run base-cy before attempting to run the other methods that change data.json... So in chronoligical order, I did cy a few times, then base-cy, then add-cy, then remove-cy failed.

Hope this helps.

Workflow is v1.5; OS is High Sierra (10.13.6).

Let me know if you need any more info

Thanks!

Not connecting to server

[15:17:30.080] Logging Started...
[15:17:37.287] Currency Convert[Script Filter] Queuing argument ''
[15:17:37.948] Currency Convert[Script Filter] Script with argv '(null)' finished
[15:17:37.951] ERROR: Currency Convert[Script Filter] Code 1: ./add.rb:12:in <main>': undefined method each' for nil:NilClass (NoMethodError)
[15:18:07.063] Currency Convert[Script Filter] Queuing argument ''
[15:18:07.742] Currency Convert[Script Filter] Script with argv '(null)' finished
[15:18:07.745] ERROR: Currency Convert[Script Filter] Code 1: ./convert.rb:87:in <main>': undefined method each' for nil:NilClass (NoMethodError)

Can't use if i turn on system proxy

If i set the system http & https proxy to 127.0.0.1:6152, here is the error log.

ERROR: Currency Convert[Script Filter] Code 1: /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/rfc3986_parser.rb:67:in `split': bad URI(is not URI?): "127.0.0.1:6152127.0.0.1:6152" (URI::InvalidURIError)

Here is the log when i set proxy to http/https proxy to 127.0.0.1:6152

ERROR: Currency Convert[Script Filter] Code 1: /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/rfc3986_parser.rb:67:in `split': bad URI(is not URI?): "127.0.0.1:6152" (URI::InvalidURIError)

Add NOK currency

Hi,

Is it possible to add NOK as a currency when using the cy command?

Support [Symbol][Value]

Would it be possible to also support cy €100 apart from cy 100€?

cy €100 looks more natural to me.

Thanks.

RUB currency

How can I add RUB currency using command add-cy?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.