I know, I had also same problem. I can say to you that yaml files are very hard taste expecially at the beginning.
yesterday I was going fool for same reason: after I did that way , I copied and pasted code of specific lesson from the svn repository ( you can navigate from here : http://svn.jobeet.org/propel/tags/ and choose the relative day , and after all worked properly. At first sight code were identic, but it's just a space more that won't make it readable for the yaml parser. I am infact wonder which trouble can give the xml parser, as now that I am a newbie, this yaml seems to be really exaustive to use, expecially in generators, when you use it massively Bye Try to do same way. On Sep 30, 11:02 pm, gurkanoluc <[email protected]> wrote: > I'm sure writing schema correctly. I'm givin indents using space bar > not using tab. > > On Sep 30, 11:34 am, ereallstaff <[email protected]> wrote: > > > From another newbie, seems to be an error in writing schema.yml > > > Please check to correct position element in schema using only spaces > > and not bar space . All elements got to be in same line ( parents with > > parents and child inline with child) > > > then clear cache and retry :D > > > On Sep 30, 4:05 am, gurkanoluc <[email protected]> wrote:> Hi, I'm > > learning symfony from jobeet tutorial. In chapter 3, it shows > > > creating data model. When i try to > > > > <pre> > > > php symfony propel:build-schema > > > </pre> > > > > or > > > > <pre> > > > php symfony propel:build-sql > > > </pre> > > > > commands it gives me error below. > > > > <pre>>> schema converting > > > "/home/grkn/public_h...obeet/config/schema.yml" to XML > > > >> schema putting > > > >> /home/grkn/public_html/...eet/config/generated-schema.xml > > > >> propel Running "sql" phing task > > > > BUILD FAILED > > > Error reading project file [wrapped: /home/grkn/public_html/jobeet/lib/ > > > vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/ > > > build.xml:54:22: Error initializing nested element <isset> [wrapped: > > > OrCondition (unknown) doesn't support the 'isset' creator/adder.]] > > > Total time: 0.0997 seconds > > > > Error reading project file [wrapped: /home/grkn/public_html/jobeet/ > > > lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel- > > > generator/build.xml:54:22: Error initializing nested element <isset> > > > [wrapped: OrCondition (unknown) doesn't support the 'isset' creator/ > > > adder.]] > > > > Buildfile: /home/grkn/public_html/jobeet/lib/vendor/symfony/lib/ > > > plugins/sfPropelPlugin/lib/vendor/propel-generator/build.xml > > > [resolvepath] Resolved /home/grkn/public_html/jobeet/config to /home/ > > > grkn/public_html/jobeet/config > > > </pre> > > > > Is there any solution for this problem? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
