Can one of you create a ticket for this?

Also, can you check the contents of cache/tmp? Do any other *.yml files
exist there?

It looks like the Doctrine yaml schema parser is finding other yaml files
that are NOT schema files and it fails obviously because it isn't a schema
file. The paths it parses are `cache/tmp` which holds all the schemas from
found plugins, and also parses config/doctrine in your project.

- Jon

On Fri, Oct 10, 2008 at 1:13 PM, andrea cecchetto <
[EMAIL PROTECTED]> wrote:

> hi this evening,
> I tried to use, the old symfony,  1.0 with doctrine, with the same
> schema.yml. I run
> ./symfony doctrine-build-model
> >> doctrine  Generated models successfully
>
> I did, another test, I used  symfony 1.1 in sandbox and when I run
>  ./symfony doctrine-build-all-reload frontend
> I got this message
> -> Invalid schema element named "logger" at path "prod"
> and when I run
> ./symfony doctrine-build-model
> I got
> -> Invalid schema element named "class" at path "config/doctrine.yml"
>
>
>
> 2008/10/10 andrea cecchetto <[EMAIL PROTECTED]>
>
> Hi ...
>> I made a fresh project with the latest symfony and doctrine plugins, and
>> now I get in a red box this message
>>  -> Invalid schema element named "doctrine" at path "all"
>>
>>
>>
>>
>>
>> 2008/10/10 Thomas Rabaix <[EMAIL PROTECTED]>
>>
>>>
>>> For now, all doctrine files are under a directory called 'doctrine'. I
>>> guess it is for not overwrite Propel stuff.
>>>
>>>
>>> On Fri, Oct 10, 2008 at 10:38 AM, andrea cecchetto
>>> <[EMAIL PROTECTED]> wrote:
>>> >
>>> >
>>> > 2008/10/10 Thomas Rabaix <[EMAIL PROTECTED]>
>>> >>
>>> >> Hello,
>>> >>
>>> >> Please clean up you project and make sure you have the last library
>>> >>
>>> >>  - sudo rm -rf cache/*
>>> >>  - svn update sf1.1.3 and sfDoctrine
>>> >>  - check your schema.yml and doctrine.yml
>>> >
>>> >
>>> > One question, it's right tu put schema.yml under config/doctrine ???
>>> >
>>> > Thanks
>>> > Andrea
>>> >
>>> >>
>>> >> On Fri, Oct 10, 2008 at 10:27 AM, andrea cecchetto
>>> >> <[EMAIL PROTECTED]> wrote:
>>> >> > Hi guys,  I Still have a problem with symfony + doctrine... I would
>>> like
>>> >> > to
>>> >> > resolve my problem or I have to take another framework..... Where I
>>> can
>>> >> > found a simply tutorial I can follow step by step...!!
>>> >> > Thanks
>>> >> > Andrea
>>> >> >
>>> >> >
>>> >> > 2008/10/2 andrea cecchetto <[EMAIL PROTECTED]>
>>> >> >>
>>> >> >> hi jon,
>>> >> >> is it right to put in this files
>>> >> >> ->
>>> plugins/sfDoctrinePlugin/lib/task/sfDoctrineBuildModelTask.class.php
>>> >> >> ?
>>> >> >> ... and this is the output
>>> >> >> Array
>>> >> >> (
>>> >> >>     [0] =>
>>> >> >>     [1] =>
>>> >> >> )
>>> >> >>
>>> >> >> thanks andrea
>>> >> >>
>>> >> >> 2008/10/2 Jonathan Wage <[EMAIL PROTECTED]>
>>> >> >>>
>>> >> >>> Can you do a little debugging in
>>> sfDoctrineBuildModelTask.class.php
>>> >> >>> and
>>> >> >>> tell me what the value of the models path is?
>>> >> >>>
>>> >> >>> print_r(array($tmpPath, $config['yaml_schema_path']));
>>> >> >>>
>>> >> >>> - Jon
>>> >> >>>
>>> >> >>> On Thu, Oct 2, 2008 at 10:09 AM, andrea cecchetto
>>> >> >>> <[EMAIL PROTECTED]> wrote:
>>> >> >>>>
>>> >> >>>> hi gusy i still have the same problem with symfony and
>>> doctrine!!! :)
>>> >> >>>>
>>> >> >>>> 2008/9/30 andrea cecchetto <[EMAIL PROTECTED]>
>>> >> >>>>>
>>> >> >>>>> my schema.yml file is under the this path
>>> gallery2/config/doctrine/
>>> >> >>>>>
>>> >> >>>>> ^----symfony  project
>>> >> >>>>>
>>> >> >>>>>
>>> >> >>>>> 2008/9/30 Jonathan Wage <[EMAIL PROTECTED]>
>>> >> >>>>>>
>>> >> >>>>>> I am not sure. I have never seen that or seen any reports of it
>>> >> >>>>>> before. It looks like the Doctrine yaml schema parser is not
>>> given
>>> >> >>>>>> the right
>>> >> >>>>>> path to the yaml schema files for some reason and it is trying
>>> to
>>> >> >>>>>> parse
>>> >> >>>>>> unlrelated yaml files as schema files.
>>> >> >>>>>>
>>> >> >>>>>> - Jon
>>> >> >>>>>>
>>> >> >>>>>> On Tue, Sep 30, 2008 at 1:05 PM, andrea cecchetto
>>> >> >>>>>> <[EMAIL PROTECTED]> wrote:
>>> >> >>>>>>>
>>> >> >>>>>>> I'm using arch linux, with php 5.2.6. It's possible that
>>> error
>>> >> >>>>>>> depend
>>> >> >>>>>>> by some php extension?
>>> >> >>>>>>>
>>> >> >>>>>>> 2008/9/30 Jonathan Wage <[EMAIL PROTECTED]>
>>> >> >>>>>>>>
>>> >> >>>>>>>> What operating system are you on?
>>> >> >>>>>>>>
>>> >> >>>>>>>> On Tue, Sep 30, 2008 at 12:02 PM, andrea cecchetto
>>> >> >>>>>>>> <[EMAIL PROTECTED]> wrote:
>>> >> >>>>>>>>>
>>> >> >>>>>>>>> Hi jon,
>>> >> >>>>>>>>> no there is not, in config/doctrine/ there is only
>>> schema.yml...
>>> >> >>>>>>>>> but after symfony cc I get always in a red box this message
>>> >> >>>>>>>>> -> Invalid schema element named "class" at path "generator"
>>> >> >>>>>>>>>
>>> >> >>>>>>>>> Thanks
>>> >> >>>>>>>>> Andrea
>>> >> >>>>>>>>>
>>> >> >>>>>>>>> 2008/9/30 Jonathan Wage <[EMAIL PROTECTED]>
>>> >> >>>>>>>>>>
>>> >> >>>>>>>>>> It looks like the doctrine.yml configuration file is trying
>>> to
>>> >> >>>>>>>>>> be
>>> >> >>>>>>>>>> parsed by the Doctrine yaml schema parser. Did you
>>> accidentally
>>> >> >>>>>>>>>> put it in
>>> >> >>>>>>>>>> config/doctrine/doctrine.yml?
>>> >> >>>>>>>>>>
>>> >> >>>>>>>>>>  - Jon
>>> >> >>>>>>>>>>
>>> >> >>>>>>>>>> On Tue, Sep 30, 2008 at 6:34 AM, Andrea C.
>>> >> >>>>>>>>>> <[EMAIL PROTECTED]> wrote:
>>> >> >>>>>>>>>>>
>>> >> >>>>>>>>>>> Hi,
>>> >> >>>>>>>>>>> today i tried to learn symfony with doctrine. I follwed.
>>> step
>>> >> >>>>>>>>>>> by
>>> >> >>>>>>>>>>> step,
>>> >> >>>>>>>>>>> this guide
>>> >> >>>>>>>>>>> http://www.symfony-project.org/cookbook/1_1/en/doctrine.
>>> >> >>>>>>>>>>>
>>> >> >>>>>>>>>>> But when I run -> symfony doctrine-build-all-reload
>>> frontend
>>> >> >>>>>>>>>>> I get a red box with this message
>>> >> >>>>>>>>>>>
>>> >> >>>>>>>>>>> Invalid schema element named "record_listeners" at path
>>> "all"
>>> >> >>>>>>>>>>>
>>> >> >>>>>>>>>>> What does it mean????
>>> >> >>>>>>>>>>> Thanks
>>> >> >>>>>>>>>>>
>>> >> >>>>>>>>>>> Andrea
>>> >> >>>>>>>>>>>
>>> >> >>>>>>>>>>>
>>> >> >>>>>>>>>>
>>> >> >>>>>>>>>>
>>> >> >>>>>>>>>>
>>> >> >>>>>>>>>> --
>>> >> >>>>>>>>>> Jonathan H. Wage
>>> >> >>>>>>>>>> Open Source Software Developer & Evangelist
>>> >> >>>>>>>>>> http://www.jwage.com
>>> >> >>>>>>>>>>
>>> >> >>>>>>>>>>
>>> >> >>>>>>>>>
>>> >> >>>>>>>>>
>>> >> >>>>>>>>>
>>> >> >>>>>>>>
>>> >> >>>>>>>>
>>> >> >>>>>>>>
>>> >> >>>>>>>> --
>>> >> >>>>>>>> Jonathan H. Wage
>>> >> >>>>>>>> Open Source Software Developer & Evangelist
>>> >> >>>>>>>> http://www.jwage.com
>>> >> >>>>>>>>
>>> >> >>>>>>>>
>>> >> >>>>>>>
>>> >> >>>>>>>
>>> >> >>>>>>>
>>> >> >>>>>>
>>> >> >>>>>>
>>> >> >>>>>>
>>> >> >>>>>> --
>>> >> >>>>>> Jonathan H. Wage
>>> >> >>>>>> Open Source Software Developer & Evangelist
>>> >> >>>>>> http://www.jwage.com
>>> >> >>>>>>
>>> >> >>>>>>
>>> >> >>>>>
>>> >> >>>>
>>> >> >>>>
>>> >> >>>>
>>> >> >>>
>>> >> >>>
>>> >> >>>
>>> >> >>> --
>>> >> >>> Jonathan H. Wage
>>> >> >>> Open Source Software Developer & Evangelist
>>> >> >>> http://www.jwage.com
>>> >> >>>
>>> >> >>>
>>> >> >>
>>> >> >
>>> >> >
>>> >> > >
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Thomas Rabaix
>>> >> Internet Consultant
>>> >>
>>> >>
>>> >
>>> >
>>> > >
>>> >
>>>
>>>
>>>
>>> --
>>> Thomas Rabaix
>>> Internet Consultant
>>>
>>>
>>>
>>
>
> >
>


-- 
Jonathan H. Wage
Open Source Software Developer & Evangelist
http://www.jwage.com

--~--~---------~--~----~------------~-------~--~----~
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