Working in a hurry is never a good idea. The generate:doctrine:crud command
in RC2 was totally broken. I've spent the evening fixing the problem and
writing unit tests. Hopefully, RC3 will be "good enough".
As with any Open-Source project, contributing
code or documentation is the most common way to help, but we also have a wide range of
sponsoring opportunities.
Is it just me, or everyone gets the following error when generating bundle?
[ErrorException]
Warning: copy(/path/to/project/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/../Resources/skeleton/bundle/structure/messages.fr.xliff): failed to open stream: No such file or directory in /path/to/project/vendor/symfony/src/Symfony/Component/HttpKernel/Util/Filesystem.php line 44
copy(/Library/WebServer/Documents/pexx/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/../Resources/skeleton/bundle/structure/messages.fr.xliff): failed to open stream: No such file or directory in /Library/WebServer/Documents/pexx/vendor/symfony/src/Symfony/Component/HttpKernel/Util/Filesystem.php line 44
Temporary Resolutions for above problems:
copy all files from:
\vendor\bundles\Sensio\Bundle\GeneratorBundle\Resources\skeleton\bundle
to:
\vendor\bundles\Sensio\Bundle\GeneratorBundle\Resources\skeleton\bundle\structure
Nope, bundle generation does not work for me. And the tgz version of the framework works even less (fatal error because of missing class files).
With the zip version, I have a warning when generating a bundle :
Warning: copy(vendor\bundles\Sensio\Bundle\GeneratorBundle\Command/../Resources/skeleton/bundle/structure/messages.fr.xliff): failed to open stream: No such file or directory in vendor\symfony\src\Symfony\Component\HttpKernel\Util\Filesystem.php line 44
Nope, bundle generation does not work for me. And the tgz version of the framework works even less (fatal error because of missing class files).
With the zip version, I have a warning when generating a bundle :
Warning: copy(vendor\bundles\Sensio\Bundle\GeneratorBundle\Command/../Resources/skeleton/bundle/structure/messages.fr.xliff): failed to open stream: No such file or directory in vendor\symfony\src\Symfony\Component\HttpKernel\Util\Filesystem.php line 44
For some reason the .tgz can't be correctly read in Windows. At least I'm encountering this problem using WinRAR: a lot of files are missing the last character of the filename, for example script.php becomes script.ph. I notice a lot of people running in to this. The zipped version works fine.
really-fixed GeneratorBundle didn't find way in RC3
use git to update
git submodule add git://github.com/sensio/SensioGeneratorBundle.git vendor/bundles/Sensio/Bundle/GeneratorBundle
I just made a ./bin/vendors update and all my routes declared through annotations are no more registered. error: (No route found for "GET /")
When doing ./app/console router:debug they are not listed.
I cant generate a bundle correctly with the generator, in the pr2 was working but had to use the YML instead annotations, then worked, but now ... don't work anymore :S
For several reasons I cannot get access to the GIT system, so I believe a found an error and I hope you guys fix it soon:
In vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/Validators.php there is a string containing "init:bundle" and that command does not exist, does it?
Congratulations for you all.
Comments are closed.
To ensure that comments stay relevant, they are closed for old posts.
https://github.com/symfony/symfony-standard/commits/master
Fabien's commits seems to be related to the actual Symfony repo.
https://github.com/symfony/symfony/commits/master
[ErrorException]
Warning: copy(/path/to/project/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/../Resources/skeleton/bundle/structure/messages.fr.xliff): failed to open stream: No such file or directory in /path/to/project/vendor/symfony/src/Symfony/Component/HttpKernel/Util/Filesystem.php line 44
[ErrorException] Warning:
copy(/Library/WebServer/Documents/pexx/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/../Resources/skeleton/bundle/structure/messages.fr.xliff): failed to open stream: No such file or directory in /Library/WebServer/Documents/pexx/vendor/symfony/src/Symfony/Component/HttpKernel/Util/Filesystem.php line 44
copy all files from:
\vendor\bundles\Sensio\Bundle\GeneratorBundle\Resources\skeleton\bundle
to:
\vendor\bundles\Sensio\Bundle\GeneratorBundle\Resources\skeleton\bundle\structure
Thanks a lot Mr. Fabien
With the zip version, I have a warning when generating a bundle :
Warning: copy(vendor\bundles\Sensio\Bundle\GeneratorBundle\Command/../Resources/skeleton/bundle/structure/messages.fr.xliff): failed to open stream: No such file or directory in vendor\symfony\src\Symfony\Component\HttpKernel\Util\Filesystem.php line 44
With the zip version, I have a warning when generating a bundle :
Warning: copy(vendor\bundles\Sensio\Bundle\GeneratorBundle\Command/../Resources/skeleton/bundle/structure/messages.fr.xliff): failed to open stream: No such file or directory in vendor\symfony\src\Symfony\Component\HttpKernel\Util\Filesystem.php line 44
If you find something not working as expected or missing please ask on mailing-lists to get feedback first!
Thank you for this and keep up the good work!
I'm going to test this out later tonight to see if i can move ahead a little more on my learning curve!
use git to update
git submodule add git://github.com/sensio/SensioGeneratorBundle.git vendor/bundles/Sensio/Bundle/GeneratorBundle
When doing ./app/console router:debug they are not listed.
I think that ./bin/vendors install is not working right now.
Because i got this error: "Warning: Wrong parameter count for parse_ini_file() in /Applications/MAMP/htdocs/knpipsum/bin/vendors on line 52"
I think the reason is that deps file is out of bin directory.
Can any one fix it, thanks!
Regards,
Nico
In vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/Validators.php there is a string containing "init:bundle" and that command does not exist, does it?
Congratulations for you all.