Closed superhero closed 9 years ago
So the issue seems to be the xgettext
command, with the lack of arguments I guess. Using Poedit version: 1.7.5
@erik-landvall Hi, thanks for reporting.
Can you log command in https://github.com/umpirsky/Twig-Gettext-Extractor/blob/master/Twig/Gettext/Extractor.php#L77 and then run what you find in logs from command line?
Sorry for not being active, I have a stressed deadline for the moment.
The command is already being logged though: https://github.com/umpirsky/Twig-Gettext-Extractor/blob/master/Twig/Gettext/Extractor.php#L81
As you can see it's a part of the runtime exception message: xgettext
. If I run that command in the terminal I simply get the response that the arguments are missing:
$ xgettext
xgettext: no input file given
Try 'xgettext --help' for more information.
Looks like parameters and templates are empty in https://github.com/umpirsky/Twig-Gettext-Extractor/blob/master/Twig/Gettext/Extractor.php#L73-L74. Can you debug?
yes, but not until this project is packed and shipped later this week :)
:)
sorry @umpirsky I had to go different path to solve the issue due to a pressed time table. I wont be able to help debugging this as it looks now. If someone else has a problem with this, they will have to pick up where I left :)
@erik-landvall OK, thanks for the info. I didn't use this tool for quite some time, will try to test it soon to see if it works as expected still.
Just tested it on Linux, it worked. I released version 1.2.0. If you still have any problems feel free to reopen. Thanks.
I saw this issue #13, but it touches the issue in a windows enviroment. Mine is similer, but on Ubuntu 14.10
Poedit casts the following error:
Running
twig-gettext-extractor
Looked over the installation settings, confirming I'm using recomended settings.