I think I found the problem.

I had used an existent MySql database where each table had two fields:
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,

running propel:build-schema and propel:build-sql run Okay

just when running propel:build-model I will get the bus error message.

It seems that symfony does not know how to deal with the
CURRENT_TIMESTAMP default value.

I have replaced all occurrences of CURRENT_TIMESTAMP with '0000-00-00
00:00:00' and now everything works.

One additional note. If you do this and decide to re-run build-schema
and build-sql make sure you first remove the content of config/
schema.yml and config/generated-schema.yml files otherwise you will
get an error complaining about double table definition occurrence.


On Jul 22, 7:52 am, dacoman <[email protected]> wrote:
> Hello,
>
> I'm trying to set up a development machine on my mac book running
> MacOS 10.5.7. with xampp 1.0.1
>
> I'm following the jobeet tutorial. Everything runs smooth until I came
> to the step of propel:build-model. When I run:
>
> >./symfony propel:build-model
>
> I get following error:>> schema    converting 
> "/Users/******/Work...spodb/config/schema.yml" to XML
> >> schema    putting /Users/******/Workspac...odb/config/generated-schema.xml
> >> propel    Running "om" phing task
>
> Bus error
>
> I'm pretty sure I run the php that comes with Xampp>which php
>
> returns:
> /Applications/xampp/xamppfiles/bin/php
>
> Anyone having similar issues and if so how to overcome them.
> Thank you,
> --D
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to