[google-appengine] Re: can't deploy index.yaml

2009-01-21 Thread jones34

i  do have the indexes line. that's not the problem.

On Jan 21, 10:28 am, Geoffrey Spear geoffsp...@gmail.com wrote:
 Make sure you have an
 indexes:

 line before your mappings. 
 (seehttp://code.google.com/appengine/docs/python/tools/configuration.html)

 On Jan 21, 10:18 am, jones34 ljw1...@gmail.com wrote:

  I keep getting this error

  Cloning 3 application files.
  Closing update.
  Error parsing yaml file:
  mapping values are not allowed here
    in /Users/ljw1001/journalist/index.yaml, line 3, column 15

  when trying to upload a file like this:

  - kind: Note
      properties:
          - name: __searchable_text_index
          - name: create_date_time
              direction: desc
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: can't deploy index.yaml

2009-01-21 Thread Marzia Niccolai

Hi,

Can you please post your entire index.yaml file?

-Marzia

On Wed, Jan 21, 2009 at 10:23 AM, jones34 ljw1...@gmail.com wrote:

 i  do have the indexes line. that's not the problem.

 On Jan 21, 10:28 am, Geoffrey Spear geoffsp...@gmail.com wrote:
 Make sure you have an
 indexes:

 line before your mappings. 
 (seehttp://code.google.com/appengine/docs/python/tools/configuration.html)

 On Jan 21, 10:18 am, jones34 ljw1...@gmail.com wrote:

  I keep getting this error

  Cloning 3 application files.
  Closing update.
  Error parsing yaml file:
  mapping values are not allowed here
in /Users/ljw1001/journalist/index.yaml, line 3, column 15

  when trying to upload a file like this:

  - kind: Note
  properties:
  - name: __searchable_text_index
  - name: create_date_time
  direction: desc
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: can't deploy index.yaml

2009-01-21 Thread jones34

This is the whole thing:

indexes:
- kind: Note
properties:
- name: __searchable_text_index
- name: create_date_time
direction: desc

# AUTOGENERATED

# This index.yaml is automatically updated whenever the dev_appserver
# detects that a new type of query is run.  If you want to manage the
# index.yaml file manually, remove the above marker line (the line
# saying # AUTOGENERATED).  If you want to manage some indexes
# manually, move them above the marker line.  The index.yaml file is
# automatically uploaded to the admin console when you next deploy
# your application using appcfg.py.


On Jan 21, 1:27 pm, Marzia Niccolai ma...@google.com wrote:
 Hi,

 Can you please post your entire index.yaml file?

 -Marzia

 On Wed, Jan 21, 2009 at 10:23 AM, jones34 ljw1...@gmail.com wrote:

  i  do have the indexes line. that's not the problem.

  On Jan 21, 10:28 am, Geoffrey Spear geoffsp...@gmail.com wrote:
  Make sure you have an
  indexes:

  line before your mappings. 
  (seehttp://code.google.com/appengine/docs/python/tools/configuration.html)

  On Jan 21, 10:18 am, jones34 ljw1...@gmail.com wrote:

   I keep getting this error

   Cloning 3 application files.
   Closing update.
   Error parsing yaml file:
   mapping values are not allowed here
     in /Users/ljw1001/journalist/index.yaml, line 3, column 15

   when trying to upload a file like this:

   - kind: Note
       properties:
           - name: __searchable_text_index
           - name: create_date_time
               direction: desc
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: can't deploy index.yaml

2009-01-21 Thread Alexander Kojevnikov

The indentation looks strange, do you use tabs? AFAIK tabs are not
allowed in yaml.

Try this:

indexes:
- kind: Note
  properties:
  - name: __searchable_text_index
  - name: create_date_time
direction: desc

On Jan 22, 1:34 pm, jones34 ljw1...@gmail.com wrote:
 This is the whole thing:

 indexes:
 - kind: Note
     properties:
         - name: __searchable_text_index
         - name: create_date_time
             direction: desc

 # AUTOGENERATED

 # This index.yaml is automatically updated whenever the dev_appserver
 # detects that a new type of query is run.  If you want to manage the
 # index.yaml file manually, remove the above marker line (the line
 # saying # AUTOGENERATED).  If you want to manage some indexes
 # manually, move them above the marker line.  The index.yaml file is
 # automatically uploaded to the admin console when you next deploy
 # your application using appcfg.py.

 On Jan 21, 1:27 pm, Marzia Niccolai ma...@google.com wrote:

  Hi,

  Can you please post your entire index.yaml file?

  -Marzia

  On Wed, Jan 21, 2009 at 10:23 AM, jones34 ljw1...@gmail.com wrote:

   i  do have the indexes line. that's not the problem.

   On Jan 21, 10:28 am, Geoffrey Spear geoffsp...@gmail.com wrote:
   Make sure you have an
   indexes:

   line before your mappings. 
   (seehttp://code.google.com/appengine/docs/python/tools/configuration.html)

   On Jan 21, 10:18 am, jones34 ljw1...@gmail.com wrote:

I keep getting this error

Cloning 3 application files.
Closing update.
Error parsing yaml file:
mapping values are not allowed here
  in /Users/ljw1001/journalist/index.yaml, line 3, column 15

when trying to upload a file like this:

- kind: Note
    properties:
        - name: __searchable_text_index
        - name: create_date_time
            direction: desc
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---