Hi Jeff, Thanks for ur help. I add __init__.py into the subdir and it works. I am python beginer :)
Regards Rayn On Aug 19, 7:23 am, "Jeff S (Google)" <j...@google.com> wrote: > Hi Rayn, > > Does the subdirectory contain a file named __init__.py? Also you'll need to > change your import statements to match the new directory structure (but I > assume you already did this). This tends to trip people up who are creating > their first python packages so that's the first thing I think of but I'm not > sure if you've created a package before :) > > Cheers, > > Jeff > > > > On Tue, Aug 18, 2009 at 2:39 AM, Rayn <xu.r...@gmail.com> wrote: > > > Hi, I encountered a very strange problem while building my app. > > Firstly everything goes well and my app runs correctly. But after I > > tried to move the python scripts into a child dir to make files better > > organized, the script doesn't run ! and I'm sure I have modified > > app.yaml correctly. and request to static files can be handled > > correctly. The only useful information I can get from the console > > output is that an exception happens while handling the request. > > > I'm working with Python 2.6.2 on Windows 7 > > > Did anybody else ever encounter the same problem?- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---