LibreCat / Catmandu

Catmandu - a data processing toolkit
https://librecat.org
175 stars 31 forks source link

Can't find greater_than ? #357

Closed clrh closed 5 years ago

clrh commented 5 years ago

Hi,

Fix greater_than seems not found.

$ catmandu export mod to JSON --fix fix1.txt |jq
Oops! Tried to execute the fix 'greater_than' but can't find Catmandu::Fix::greater_than on your system.
Error: No such fix package: greater_than
Package name: Catmandu::Fix::greater_than
Fix name: greater_than
Source:
...
        greater_than('_id','4')
...
$ sudo cpanm -i Catmandu::Fix::Condition::greater_than
Catmandu::Fix::Condition::greater_than is up to date. (1.10)

Am I using it in a bad way ? Regards.

nics commented 5 years ago

greater_than can only be used in the context of a condition:

if greater_than('_id','4’)

end

On 26 Nov 2018, at 16:24, Claire Hernandez notifications@github.com wrote:

Hi,

Fix greater_than seems not found.

$ catmandu export mod to JSON --fix fix1.txt |jq Oops! Tried to execute the fix 'greater_than' but can't find Catmandu::Fix::greater_than on your system. Error: No such fix package: greater_than Package name: Catmandu::Fix::greater_than Fix name: greater_than Source: ... greater_than('_id','4') ... $ sudo cpanm -i Catmandu::Fix::Condition::greater_than Catmandu::Fix::Condition::greater_than is up to date. (1.10) Am I using it in a bad way ? Regards.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LibreCat/Catmandu/issues/357, or mute the thread https://github.com/notifications/unsubscribe-auth/AACKXYODnSKqvAjr5TbgEheJKx2ZkUTTks5uzAe1gaJpZM4YzP8c.

clrh commented 5 years ago

Oh sorry, your rocks thanks :))