Ok I am running Ubuntu 8.10 (actually xubuntu)
I went through the helloworld excercise cutting and pasting you code and it all worked. I only get that error ERROR:root:Application configuration file not found in ./helloworld when no app.yaml is in the directory. Invalied You should check the permissions of both app.yaml (I am sure it is fine) You won't get this error if the helloworld.py is missing. You also won't get this specific error (Application configuration file not found in ./helloworld ) is the file is there and empty. When starting the dev server I personally always cd to my dev directory and then run the server as follows python ~/google_appengine/dev_appserver.py . This assumes google_appengine is in my home directory. >From the error I think maybe you current working directory is not you home directory where helloworld. Hope this helps Rgds Tim On Apr 3, 12:07 pm, bobdob <[email protected]> wrote: > This is what my helloworld.py looks like: > > print 'Content-Type: text/plain' > print " > print 'Hello, world!' > > On Apr 2, 11:43 pm, Tim Hoffman <[email protected]> wrote: > > > Ok can you how us helloworld.py > > > T > > > On Apr 3, 9:19 am, bobdob <[email protected]> wrote: > > > > Here's the app.yaml file: > > > > application: helloworld > > > version: 1 > > > runtime: python > > > api_version: 1 > > > > handlers: > > > - url: /.* > > > script: helloworld.py > > > > And the "helloworld" directory contains only the files "app.yaml" and > > > "helloworld.py" (both written according to the AppEngine docs) > > > > Thanks > > > > On Apr 2, 8:23 pm, Tim Hoffman <[email protected]> wrote: > > > > > Can you include the contents of you app.yaml > > > > > And list the contents of helloworld directory > > > > > T > > > > > On Apr 3, 7:35 am, 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 -~----------~----~----~----~------~----~------~--~---
