Tuesday, April 29, 2008
yardsalemaps
I'm still trying to figure out if I did the right thing. Is YardSaleMaps.com better than YardSaleMap.com? That's a tough one. I think the plural is better as it gives me a broder realm to work with. But I have to say I really should have done more research.
macs are hot
And when I mean hot I mean my lap is really warm. It's probably 82 in my living room and my lap is around 120F. WTF? I really need to invest in a mac holder. I saw one at a yard sale last week but it was $15. At the time I thought that was a bit much, now I'm thinking I should have gotten it.
Clearing the Development Server Datastore
dev_appserver.py --clear_datastore helloworld/
(This is actually why I started the blog, to keep track of this stuff and to reinforce my memory)
Google app engine DB
I have to say I'm impressed with the DB. Instead of SQL they are calling it: GQL
This is the example I found heartening:
greetings = db.GqlQuery("SELECT * FROM Greeting ORDER BY date DESC LIMIT 10")
This is the example I found heartening:
greetings = db.GqlQuery("SELECT * FROM Greeting ORDER BY date DESC LIMIT 10")
It makes sense. So often I read crap that doesn't.
Macs
This is the first error I ran into:
I enter:
Jasons-son-should-be-Hiro:google_appengine/dev_appserver.py helloworld/
and get this error:
Jasons-son-should-be-Hiro:local newuser$ google_appengine/dev_appserver.py helloworld/
Traceback (most recent call last):
File "google_appengine/dev_appserver.py", line 50, in
execfile(script_path, globals())
File "/usr/local/google_appengine/google/appengine/tools/dev_appserver_main.py", line 338, in
sys.exit(main(sys.argv))
File "/usr/local/google_appengine/google/appengine/tools/dev_appserver_main.py", line 287, in main
config, matcher = dev_appserver.LoadAppConfig(root_path, {})
File "/usr/local/google_appengine/google/appengine/tools/dev_appserver.py", line 2425, in LoadAppConfig
raise AppConfigNotFoundError
google.appengine.tools.dev_appserver.AppConfigNotFoundError
This brings me back to my unix days. Obviously I'm not giving it full path names.
This works much better:
/usr/local/google_appengine/dev_appserver.py /Gapps/helloworld/
I enter:
Jasons-son-should-be-Hiro:google_appengine/dev_appserver.py helloworld/
and get this error:
Jasons-son-should-be-Hiro:local newuser$ google_appengine/dev_appserver.py helloworld/
Traceback (most recent call last):
File "google_appengine/dev_appserver.py", line 50, in
execfile(script_path, globals())
File "/usr/local/google_appengine/google/appengine/tools/dev_appserver_main.py", line 338, in
sys.exit(main(sys.argv))
File "/usr/local/google_appengine/google/appengine/tools/dev_appserver_main.py", line 287, in main
config, matcher = dev_appserver.LoadAppConfig(root_path, {})
File "/usr/local/google_appengine/google/appengine/tools/dev_appserver.py", line 2425, in LoadAppConfig
raise AppConfigNotFoundError
google.appengine.tools.dev_appserver.AppConfigNotFoundError
This brings me back to my unix days. Obviously I'm not giving it full path names.
This works much better:
/usr/local/google_appengine/dev_appserver.py /Gapps/helloworld/
Ob1
I took the dive into google apps and I wanted to track my progress and hopefully help others that might have problems.
Subscribe to:
Comments (Atom)