Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actualization failed - cannot run program "twig-gettext-extractor" #10

Open
MagicKrol opened this issue Oct 2, 2013 · 0 comments
Open

Comments

@MagicKrol
Copy link

I have successfully installed twig-gettext-extractor via composer.
Then I updated PATH variable so "xgettext" program could be run from command line.
I have added new parser as in readme.

Now, when i try to update catalog, and it goes to "twig" i get error.

13:31:20: Execution of command 'c:/wamp/www/test/vendor/bin/twig-gettext-extractor --sort-output --force-po -o "C:\Users\TestUser\AppData\Local\Temp\poeC9CA.tmp" -k_ -kgettext -kgettext_noop -ktrans -kltrim -L PHP --files "../../../FrontendBundle/Resources/views/Default/contact.html.twig" "../../../FrontendBundle/Resources/views/Default/privacyPolicy.html.twig" "../../../FrontendBundle/Resources/views/Exception/exception.html.twig" "../../../FrontendBundle/Resources/views/Exception/exception_prod.html.twig" "../../../FrontendBundle/Resources/views/Macro/circularItems.html.twig" "../../../FrontendBundle/Resources/views/Macro/subaccountsSwitcher.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/accountsTree.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeAdvertise3rdpartyTags.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeAdvertiserTags.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeAttributes.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeAttributesForPopup.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeNodesTags.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreePublisherTags.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeSegments.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeSharingBundles.html.twig" "../../../FrontendBundle/Resources/views/Macro/adnTree/adnTreeSiteSectionPage.html.twig"' failed (error 193: unknown error c1)
13:31:20: Cannot execute program: c:/wamp/www/test/vendor/bin/twig-gettext-extractor
13:31:20: Entries in the catalog are probably incorrect.
13:31:20: Updating the catalog failed. Click on 'More>>' for details.

File C:\Users\TestUser\AppData\Local\Temp\poeC9CA.tmp is created but empty.

When I try to run this command in command line it looks like run with no errors, but nothing happens.

but file C:\Users\TestUser\AppData\Local\Temp\poeC9CA.tmp contains now:

SOME DESCRIPTIVE TITLE.

Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER

This file is distributed under the same license as the PACKAGE package.

FIRST AUTHOR EMAIL@ADDRESS, YEAR.

, fuzzy

msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-10-02 13:34+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME EMAIL@ADDRESS\n"
"Language-Team: LANGUAGE LL@li.org\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant