alfred3-workflow-CurrencyConvert icon indicating copy to clipboard operation
alfred3-workflow-CurrencyConvert copied to clipboard

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

Open jjarava opened this issue 5 years ago • 1 comments

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!

jjarava avatar Nov 16 '18 12:11 jjarava

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

heikkipekka avatar Aug 15 '19 07:08 heikkipekka