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

"Entries in the catalogue are probably incorrect." #40

Open
FrancisBou opened this issue Jun 7, 2016 · 3 comments
Open

"Entries in the catalogue are probably incorrect." #40

FrancisBou opened this issue Jun 7, 2016 · 3 comments

Comments

@FrancisBou
Copy link

I can't seem to make it work in Windows 10, and I get this very vague message.
Is there a way to see the log and have a more detailed error?

2016-06-07 10_59_22-extractor setup
2016-06-07 10_59_51-poedit error

@umpirsky
Copy link
Owner

umpirsky commented Jun 7, 2016

You can try to debug it by changing vendor/bin/twig-gettext-extractor or $ cp vendor/bin/twig-gettext-extractor bin/twig-gettext-extractor and edit it. Don't forget to change parser command.

In this script, you can dump $_SERVER['argv'] and see what arguments Poedit sends to extractor.

You can also dump command here and run it from command line.

@FrancisBou
Copy link
Author

FrancisBou commented Jun 8, 2016

When I run the command directly it fails because xgettext is not defined globally on my system, it only works within the envrionnement Poedit creates for itself to run the script. I noticed I was not using the script in the bin/ directory so I corrected this mistake and I use the .bat file now, but I still get the same error message as above. Any idea how to sort this out?
2016-06-08 11_01_01-extractor setup

I know that the bat file is not even reached once, Poedit does not seem to make the call so I cannot get the actual command.

@umpirsky
Copy link
Owner

umpirsky commented Jun 9, 2016

How do you mean not reached? I use to log entire command here and was able to run it form CLI afterwards.

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

2 participants