Symfony - No package found for database “” in generated-schema.xml
August 17th, 2007
I was getting this error today on a new Symfony project. The problem was that I had defined the schema in the schema.xml file, but there was a conflicting schema.yml file that sat empty. Removing (
rm -f config/schema.yml
fixed my problems and propel-build-model + propel-build-sql succeeded.Execution of target “sql-template” failed for the following reason: /home/eosterman/metaphr/trunk/lib/symfony-1.0.6/lib/vendor/propel-generator/build-propel.xml:187:1: No package found for database “” in generated-schema.xml. The propel.packageObjectModel property requires the package attribute to be set for each database.
[phingcall] /home/eosterman/metaphr/trunk/lib/symfony-1.0.6/lib/vendor/propel-generator/build-propel.xml:187:1: No package found for database “” in generated-schema.xml. The propel.packageObjectModel property requires the package attribute to be set for each database.
add to del.icio.us
add to technorati favs
email this
September 17th, 2007 at 6:11 am
Awesome!
Thanks for posting, had the same problem.
Best regards,
Matze
November 23rd, 2007 at 6:43 am
OMG!! it works for me too.
thanks
March 19th, 2008 at 4:10 am
Very good!!
I have the same problem in a reinstallation of a project.
Thanks
April 1st, 2008 at 5:21 am
Good!! it works!
Thanks!
April 1st, 2008 at 5:30 am
[...] http://osterman.com/wordpress/2007/08/17/symfony-no-package-found-for-database-in-generated-schemaxm... [...]
April 23rd, 2008 at 8:05 am
Yes, it works…
June 3rd, 2008 at 1:00 pm
Thanks a lot!! Really helpfull
June 11th, 2008 at 6:10 am
You are the best… very very thanks
October 9th, 2008 at 8:15 pm
Thank you, thank you, thank you.
January 14th, 2009 at 3:42 am
You sir are a champion! Cheers!