Hammer cli 3.1.0 ruby error : string.rb:70:in `%’: named{file} after unnumbered(1) (ArgumentError) - CONTINUE

Sorry I am not able to post a new reply in the original topic (3 replies limit) and I can not edit a post

The problem is from one or several files from this directory /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-3.0.1 (maybe the fr one for me)

locale/ca/LC_MESSAGES/hammer-cli.mo
locale/de/LC_MESSAGES/hammer-cli.mo
locale/en/LC_MESSAGES/hammer-cli.mo
locale/en_GB/LC_MESSAGES/hammer-cli.mo
locale/es/LC_MESSAGES/hammer-cli.mo
locale/fr/LC_MESSAGES/hammer-cli.mo
locale/it/LC_MESSAGES/hammer-cli.mo
locale/ja/LC_MESSAGES/hammer-cli.mo
locale/ko/LC_MESSAGES/hammer-cli.mo
locale/pt_BR/LC_MESSAGES/hammer-cli.mo
locale/ru/LC_MESSAGES/hammer-cli.mo
locale/zh_CN/LC_MESSAGES/hammer-cli.mo
locale/zh_TW/LC_MESSAGES/hammer-cli.mo

I replace the directory /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-3.0.1/local with the 2-4 one, and hammer works

1 Like

Thanks a bunch! So it’s due to translations after all. Now I can proceed with this, will comment in the original post whenever I’ll find the problem and the fix for it.

Thank you