my life

day to day

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

9 Responses to “Symfony - No package found for database “” in generated-schema.xml”

  1. Matze Says:

    Awesome!
    Thanks for posting, had the same problem.

    Best regards,
    Matze

  2. Celso Says:

    OMG!! it works for me too.

    thanks

  3. Jose Says:

    Very good!!

    I have the same problem in a reinstallation of a project.

    Thanks

  4. Pedro Says:

    Good!! it works!
    Thanks!

  5. symfonybr » No package found for database “” in generated-schema.xml Says:

    [...] http://osterman.com/wordpress/2007/08/17/symfony-no-package-found-for-database-in-generated-schemaxm... [...]

  6. Domingo Says:

    Yes, it works…

  7. Max Says:

    Thanks a lot!! Really helpfull

  8. Rafael Says:

    You are the best… very very thanks

  9. Neon Knight Says:

    Thank you, thank you, thank you.

Leave a Reply