jin5354 / alfred3-workflow-CurrencyConvert

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

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

Open jjarava opened 6 years ago

jjarava commented 6 years ago

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 https://github.com/jin5354/alfred3-workflow-CurrencyConvert/issues/16#issuecomment-426058379 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!

heikkipekka commented 5 years ago

Me too, when hitting remove-cy I don't get any Currency Converter related actions.