Now I meant to post this one earlier, since this was actually the
first thing I tried, it is exactly what is written in the appengine
docs at 
http://code.google.com/appengine/docs/python/gettingstarted/helloworld.html

google_appengine/dev_appserver.py helloworld/

I put the "helloworld" directory in my home directory "/home/chris"
Then I ran the command in the terminal exactly as specified and got
the following:

ch...@chris-laptop:~$ google_appengine/dev_appserver.py helloworld/
Traceback (most recent call last):
  File "google_appengine/dev_appserver.py", line 60, in <module>
    run_file(__file__, globals())
  File "google_appengine/dev_appserver.py", line 57, in run_file
    execfile(script_path, globals_)
  File "/home/chris/google_appengine/google/appengine/tools/
dev_appserver_main.py", line 463, in <module>
    sys.exit(main(sys.argv))
  File "/home/chris/google_appengine/google/appengine/tools/
dev_appserver_main.py", line 385, in main
    SetGlobals()
  File "/home/chris/google_appengine/google/appengine/tools/
dev_appserver_main.py", line 83, in SetGlobals
    from google.appengine.tools import dev_appserver
  File "/home/chris/google_appengine/google/appengine/tools/
dev_appserver.py", line 1319
    source_file, pathname, descript ex = result
                                     ^
SyntaxError: invalid syntax

I'm not sure exactly what's going on here, I'm new to both Linux and
AppEngine, but it seems like I may be running the command in the wrong
manner, using incorrect syntax or not locating files appropriately. So
basically, I either get this "syntax error" message, or the previously
mentioned "Application configuration file not found" message. I really
want to start using AppEngine, but I'm following all the instructions
and still can't seem to get it working


On Apr 2, 7:35 pm, bobdob <[email protected]> wrote:
> Thanks for the quick reply Tim, I tried your suggestion (I left the
> "helloworld" directory in the "google_appengine" directory for now,
> just to make sure I could get it up and running before I move the
> "helloworld" directory).
>
> Unfortunately, things are still not working out. I must be doing
> something wrong because I'm following the tutorial exactly as
> described in the docs and everyone says it's the easiest thing (and it
> looks like they're all right).
>
> I'm currently typing and getting the following in my terminal:
>
> ch...@chris-laptop:~$ google_appengine/dev_appserver.py ./helloworld
> ERROR:root:Application configuration file not found in ./helloworld
>
> What I've noticed is that my "app.yaml" file says it's a plain text
> document in the "properties" so maybe the appengine SDK isn't
> recognizing it as the necessary configuration file and throws that
> error message? I've tried creating the file from scratch and saving it
> from 3 different text editors: gedit, gvim, and emacs and none seem to
> produce any different results. Any help would be greatly appreciated
>
> Thanks
>
> On Apr 2, 3:15 am, Tim Hoffman <[email protected]> wrote:
>
> > For starters you command line as listed below says
>
> > google_appengine/dev_appserver.py /helloworld
>
> > But you said you put helloworld in the google_appengine directory
> > which would suggest a command line of
>
> > google_appengine/dev_appserver.py ./helloworld
>
> > Not the "." before helloworld
>
> > I personally wouldn't put you helloworld in google_appengine
> > put it somewhere else and just have the command line point to it
> > much better because when the next version os the sdk comes out you
> > will have to
> > move things
>
> > T
>
> > On Apr 2, 11:25 am, bobdob <[email protected]> wrote:
>
> > > Hi Everyone
>
> > > I'm trying to get Google Appengine up and running on Ubuntu 8.10. I've
> > > downloaded the .zip for the Appengine SDK from the Linux/Other
> > > Platforms section 
> > > onhttp://code.google.com/appengine/downloads.html#Download_the_Google_A...
>
> > > Upon unzipping the file, I'm told that 3 CRCs didn't match, I deleted
> > > all the files and tried re-downloading & unzipping 3 times, still got
> > > the same CRC mismatches again. So I decided to just give it a shot
> > > anyway.
>
> > > Then I tried out the "Helloworld" app, creating a directory
> > > "helloworld" in the "google_appengine" directory and placing my
> > > "helloworld.py" and "app.yaml" files in the "helloworld" directory. I
> > > tried running dev_appserver.py by opening my terminal and typing
> > > google_appengine/dev_appserver.py /helloworld, and got a nice little
> > > error message as illustrated below:
>
> > > ch...@chris-laptop:~$ google_appengine/dev_appserver.py /helloworld
> > > ERROR:root:Application configuration file not found in /helloworld
>
> > > Now, I'm not sure what's causing this, whether I have a bum copy of
> > > the SDK (unlikely, I think, since the files came directly from the
> > > Google Appengine Downloads), or whether I'm not putting my files or
> > > directories in the right places, or whether there are other
> > > dependencies I need to run dev_appserver.py (Ubuntu comes with Python
> > > 2.5.2 pre-installed, I have not installed 2.6 or 3.0 as I am aware
> > > they are not compatible with AppEngine).
>
> > > I'm kind of stuck right now, I've searched online for a few hours with
> > > no luck and I think I should be able to get this up and running pretty
> > > easily. If anyone has any suggestions or has experienced something
> > > like this, please let me know as soon as you can
>
> > > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to