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

Not so helpfull error message #84

Closed
sstok opened this issue Nov 25, 2012 · 0 comments
Closed

Not so helpfull error message #84

sstok opened this issue Nov 25, 2012 · 0 comments

Comments

@sstok
Copy link

sstok commented Nov 25, 2012

Today started using the JMSTranslationBundle and got this not so helpful error.

[PHPParser_Error]                
  Unexpected token '.' on line 13  

Exception trace:
 () at [...]\vendor\nikic\php-parser\lib\PHPParser\Parser.php:1003
 PHPParser_Parser->parse() at [...]\vendor\jms\translation-bundle\JMS\TranslationBundle\Translation\Extractor\FileExtractor.php:145
 JMS\TranslationBundle\Translation\Extractor\FileExtractor->extract() at [...]\vendor\jms\translation-bundle\JMS\TranslationBundle\Translation\ExtractorManager.php:129
 JMS\TranslationBundle\Translation\ExtractorManager->extract() at [...]\vendor\jms\translation-bundle\JMS\TranslationBundle\Translation\Updater.php:233
 JMS\TranslationBundle\Translation\Updater->setConfig() at [...]\vendor\jms\translation-bundle\JMS\TranslationBundle\Translation\Updater.php:124
 JMS\TranslationBundle\Translation\Updater->process() at [...]\vendor\jms\translation-bundle\JMS\TranslationBundle\Command\ExtractTranslationCommand.php:113
 JMS\TranslationBundle\Command\ExtractTranslationCommand->execute() at [...]\vendor\symfony\symfony\src\Symfony\Component\Console\Command\Command.php:239
 Symfony\Component\Console\Command\Command->run() at [...]\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:193
 Symfony\Component\Console\Application->doRun() at [...]\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php:78
 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at [...]\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:106
 Symfony\Component\Console\Application->run() at [...]\Admin\app\console:22

I traced the error using the debugger, but it would be very helpful to include the file path that has the syntax error in the message as well.

@sstok sstok closed this as completed Mar 1, 2016
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