Hi, I'm getting the following error message when trying to run my
application:

   1 if __title__ == "__main__":
    2   main()
__title__ undefined

<type 'exceptions.NameError'>: name '__title__' is not defined
      args = ("name '__title__' is not defined",)
      message = "name '__title__' is not defined"


Were is the URL I'm accessing :

http://127.0.0.1:8080/

Here is the content of my app.yaml file:

application: arcthingpad
version: 1
runtime: python
api_version: 1

handlers:

- url: /stylesheets
  static_dir: stylesheets


- url: /.*
  script: arcthingpad.py

And here is the content of my arcthingpad.py file:

if __title__ == "__main__":
  main()

I removed all the code logic, just to be sure I wasn't doing anything
stupid. Still I'm getting this error and the helloworld application
works normally.

Any ideas?

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

Reply via email to