Subject: Poedit fails to open PO files

From: Luis Felipe <[email-masked]>
Date: Sat, 24 Sep 2022 19:02:41 +0000

STEPS TO REPRODUCE

1. Launch Poedit
2. Open the attached PO file (guix-website-es.po)

EXPECTED RESULT

☑ Poedit displays the catalog correctly

UNEXPECTED RESULT

☒ The catalog is not displayed. Instead you see an error:

Poedit Error: Unhandled exception occurred: Cannot execute program: msgfmt -o /dev/null -c "/path/to/guix-website-es.po"

WORKAROUND

Start Poedit in a guix shell that adds gettext:

guix shell poedit gettext
poedit

Then, you can open the PO files normally.

So it seems the package definition for Poedit is missing gettext as a run-time dependency (?).

SYSTEM INFO

Guix System (guix 77e768a)  

Poedit 2.2.4  

---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/