symfony/symfony — Issue #2837: Always [RuntimeException] Unable to determine where to save the
Author: DRAKUN
Created: 2011-12-10 21:34:58+00:00
State: open

1 php app/console doctrine:mapping:convert xml ./src/Drak/LocgestionBundle/Resources/config/doctrine/metadata/orm/ --from-database --force
result okay !!!
2- php app/console doctrine:mapping:import DrakLocgestionBundle
result okay !!!
3 php app/console doctrine:generate:entities DrakLocgestionBundle
ko
4 php app/console doctrine:generate:entities --path="./src/Drak/LocgestionBundle/" DrakLocgestionBundle
i have

Generating entities for bundle "DrakLocgestionBundle"
> backing up Typeentites.php to Typeentites.php~

Fatal error: Call to a member function getNamespacename() on a non-object in /home/public/website/vendor/symfony/src/Symfony/Bundle/DoctrineBundle/Mapping/MetadataFactory.php on line 85

Call Stack:
0.0021 324216 1. {main}() /home/public/website/app/console:0
0.0835 1896716 2. Symfony\Component\Console\Application->run() /home/public/website/app/console:22
0.0966 2077032 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /home/public/website/vendor/symfony/src/Symfony/Component/Console/Application.php:118
0.3689 5232868 4. Symfony\Component\Console\Application->doRun() /home/public/website/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:75
0.3857 5232868 5. Symfony\Component\Console\Command\Command->run() /home/public/website/vendor/symfony/src/Symfony/Component/Console/Application.php:194
0.3884 5233644 6. Symfony\Bundle\DoctrineBundle\Command\GenerateEntitiesDoctrineCommand->execute() /home/public/website/vendor/symfony/src/Symfony/Component/Console/Command/Command.php:214
0.5200 8810920 7. Symfony\Bundle\DoctrineBundle\Mapping\MetadataFactory->getClassMetadata() /home/public/website/vendor/symfony/src/Symfony/Bundle/DoctrineBundle/Command/GenerateEntitiesDoctrineCommand.php:116