Closed craigh closed 4 years ago
I am doing more testing and have learned that I can reproduce the error locally if our application is not installed. once our application is installed, the the command runs with no errors. Therefore, I deduce that this is not the fault of php-translation, so I will close. sorry to bother!
we are running
translation:check-missing
in a Github action build and get the error below.If I run the same command locally, there are no errors.
In Finder.php line 610:
[LogicException]
You must call one of in() or append() methods before iterating over a Finder.
Exception trace: at /home/runner/work/core/core/vendor/symfony/symfony/src/Symfony/Component/Finder/Finder.php:610 Symfony\Component\Finder\Finder->getIterator() at /home/runner/work/core/core/vendor/php-translation/extractor/src/Extractor.php:53 Translation\Extractor\Extractor->doExtract() at /home/runner/work/core/core/vendor/php-translation/extractor/src/Extractor.php:34 Translation\Extractor\Extractor->extract() at /home/runner/work/core/core/vendor/php-translation/symfony-bundle/Service/Importer.php:73 Translation\Bundle\Service\Importer->extractToCatalogues() at /home/runner/work/core/core/vendor/php-translation/symfony-bundle/Command/CheckMissingCommand.php:82 Translation\Bundle\Command\CheckMissingCommand->execute() at /home/runner/work/core/core/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:258 Symfony\Component\Console\Command\Command->run() at /home/runner/work/core/core/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:929 Symfony\Component\Console\Application->doRunCommand() at /home/runner/work/core/core/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96 Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /home/runner/work/core/core/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:264 Symfony\Component\Console\Application->doRun() at /home/runner/work/core/core/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:82 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /home/runner/work/core/core/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:140 Symfony\Component\Console\Application->run() at /home/runner/work/core/core/src/Zikula/CoreBundle/bin/console:65