[google-appengine] Re: Hello, World! - Fatal error when loading application configuration

2008-11-29 Thread cashby

Wow!  That worked perfectly.  Thank you very much.  Are you using
UltraEdit?  I am just wondering if that specific program adds the '\t'
that is causing the error.

Thanks again,

Chip


On Nov 28, 8:07 pm, niklasr [EMAIL PROTECTED] wrote:
 Yes, replacing tabs with spaces in the .yaml solved the same problem
 here.



 On Nov 28, 1:55 pm, cashby [EMAIL PROTECTED] wrote:

  I'm trying to get started with Google App Engine on a Windows Vista
  PC.

  I have Python 2.52 installed the directory c:\python25
  I have Google App Engine 1.1.7 installed in the directory c:\Program
  Files (x86)\Google\google_appengine
  I used python-2.5.2.msi to install Python and selected all users
  when promoted during installation
  I created helloworld.py and app.yaml as printed on the current Getting
  Started docs using UltraEdit 14.2
  I have helloworld.py and app.yaml files in the directory c:\users\chip
  \helloworld

  Here is my helloworld.py code
  print 'Content-Type: text/plain'
  print ''
  print 'Hello, world!'

  Here is my app.yaml code
  application: helloworld
  version: 1
  runtime: python
  api_version: 1

  handlers:
  - url: /.*
    script: helloworld.py

  I try to start the server and run the app by typing dev_appserver.py
  helloworld from the C:\Users\Chip directory and get the following
  error

  C:\Users\Chipdev_appserver.py helloworld/
  ERROR    2008-11-28 12:33:15,809 dev_appserver_main.py] Fatal error
  when loading
   application configuration:
  while scanning for the next token
  found character '\t' that cannot start any token
    in helloworld/app.yaml, line 8, column 1

  When I go to my Firefox 3.0.4 browser and enterhttp://localhost:8080/
  in the address bar, the following message appears in the browser
  window
  EAccessViolation

  Any ideas what I'm doing wrong?

  Thanks,

  Chip
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Hello, World! - Fatal error when loading application configuration

2008-11-29 Thread Niklas Rosencrantz
It happened with Notepad+ here, probably from copypasting yaml from a html
page.When copypasting yaml from html, it seems the '\t' appears in our
editors.
Niklas

2008/11/29 cashby [EMAIL PROTECTED]


 Wow!  That worked perfectly.  Thank you very much.  Are you using
 UltraEdit?  I am just wondering if that specific program adds the '\t'
 that is causing the error.

 Thanks again,

 Chip


 On Nov 28, 8:07 pm, niklasr [EMAIL PROTECTED] wrote:
  Yes, replacing tabs with spaces in the .yaml solved the same problem
  here.



  On Nov 28, 1:55 pm, cashby [EMAIL PROTECTED] wrote:
 
   I'm trying to get started with Google App Engine on a Windows Vista
   PC.
 
   I have Python 2.52 installed the directory c:\python25
   I have Google App Engine 1.1.7 installed in the directory c:\Program
   Files (x86)\Google\google_appengine
   I used python-2.5.2.msi to install Python and selected all users
   when promoted during installation
   I created helloworld.py and app.yaml as printed on the current Getting
   Started docs using UltraEdit 14.2
   I have helloworld.py and app.yaml files in the directory c:\users\chip
   \helloworld
 
   Here is my helloworld.py code
   print 'Content-Type: text/plain'
   print ''
   print 'Hello, world!'
 
   Here is my app.yaml code
   application: helloworld
   version: 1
   runtime: python
   api_version: 1
 
   handlers:
   - url: /.*
 script: helloworld.py
 
   I try to start the server and run the app by typing dev_appserver.py
   helloworld from the C:\Users\Chip directory and get the following
   error
 
   C:\Users\Chipdev_appserver.py helloworld/
   ERROR2008-11-28 12:33:15,809 dev_appserver_main.py] Fatal error
   when loading
application configuration:
   while scanning for the next token
   found character '\t' that cannot start any token
 in helloworld/app.yaml, line 8, column 1
 
   When I go to my Firefox 3.0.4 browser and enterhttp://localhost:8080/
   in the address bar, the following message appears in the browser
   window
   EAccessViolation
 
   Any ideas what I'm doing wrong?
 
   Thanks,
 
   Chip
 


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Hello, World! - Fatal error when loading application configuration

2008-11-28 Thread niklasr

Yes, replacing tabs with spaces in the .yaml solved the same problem
here.

On Nov 28, 1:55 pm, cashby [EMAIL PROTECTED] wrote:
 I'm trying to get started with Google App Engine on a Windows Vista
 PC.

 I have Python 2.52 installed the directory c:\python25
 I have Google App Engine 1.1.7 installed in the directory c:\Program
 Files (x86)\Google\google_appengine
 I used python-2.5.2.msi to install Python and selected all users
 when promoted during installation
 I created helloworld.py and app.yaml as printed on the current Getting
 Started docs using UltraEdit 14.2
 I have helloworld.py and app.yaml files in the directory c:\users\chip
 \helloworld

 Here is my helloworld.py code
 print 'Content-Type: text/plain'
 print ''
 print 'Hello, world!'

 Here is my app.yaml code
 application: helloworld
 version: 1
 runtime: python
 api_version: 1

 handlers:
 - url: /.*
   script: helloworld.py

 I try to start the server and run the app by typing dev_appserver.py
 helloworld from the C:\Users\Chip directory and get the following
 error

 C:\Users\Chipdev_appserver.py helloworld/
 ERROR    2008-11-28 12:33:15,809 dev_appserver_main.py] Fatal error
 when loading
  application configuration:
 while scanning for the next token
 found character '\t' that cannot start any token
   in helloworld/app.yaml, line 8, column 1

 When I go to my Firefox 3.0.4 browser and enterhttp://localhost:8080/
 in the address bar, the following message appears in the browser
 window
 EAccessViolation

 Any ideas what I'm doing wrong?

 Thanks,

 Chip
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---