[google-appengine] Re: Uploading an applicaiton
Please do not respond to me privately. Reply to the group so other people can learn. Unless, of course, you want to pay my consulting fee. :-) On Sun, Mar 15, 2009 at 4:00 AM, Nora noorhanab...@yahoo.co.uk wrote: Thank you for your reply. Where is the code that I uploaded to be able to know if there are missing files uploaded or not? In general, you don't. Uploading code to GAE is like putting your code into a locked box. Once it's in there, you don't get it out. There is a appfilesbrowser (http://code.google.com/p/appfilesbrowser/) which is supposed to let you see and download your code. I haven't tried it though. -- Faber Fedor Linux New Jersey http://linuxnj.com faberfedor.blogspot.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Uploading an applicaiton
On Sat, Mar 14, 2009 at 7:32 PM, Nora noorhanab...@yahoo.co.uk wrote: Hello, I have uploaded my applicaiton an hour ago but don't know where to go from there. Tried to search for it on the web, but couldn't find it.my application is called quranytopics Then your app is located at http://quranytopics.appspot.com. Any clues on what is going wrong or do I have to wait for more time before trying to access it? It's available now, unfortunately, you'll need to debug it. :-) -- Faber Fedor Linux New Jersey http://linuxnj.com faberfedor.blogspot.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Automatic GAE login from Android
I'm trying to get my Android app to login to my GAE app and download some data. I have the name and password of the user stored in the Android app. I can't find the docs that tell me the process for my Android app to authenticate with my GAE app using my Google Accounts. Can someone show me where they are or tell me how to do what I want to do? -- Faber Fedor Linux New Jersey http://linuxnj.com faberfedor.blogspot.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Automatic GAE login from Android
Thanks! I just finished getting my Android app to download the public data on my GAE app so your code will come in very handy! On Tue, Feb 24, 2009 at 11:54 AM, lenza le...@lenza.org wrote: Hi Faber, Here is the information on how you generically log into Google services and GAE app programatically: snip -- Faber Fedor Linux New Jersey http://linuxnj.com faberfedor.blogspot.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Another person with Urlfetch problems
I'just getting back to my AppEngine app after playing with my Android app. I made a few changes to the GAE app, uploaded it and immediately got the following error when I started testing: Traceback (most recent call last): File /base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py, line 503, in __call__ handler.post(*groups) File /base/data/home/apps/lbtdl/2.331489020577168574/lbtdl.py, line 131, in post location.lookupGeocode() File /base/data/home/apps/lbtdl/2.331489020577168574/Location.py, line 122, in lookupGeocode self.geoHash = self.getGeohash() File /base/data/home/apps/lbtdl/2.331489020577168574/Location.py, line 137, in getGeohash geohashText = urlfetch.fetch(geohashUrl) File /base/python_lib/versions/1/google/appengine/api/urlfetch.py, line 267, in fetch raise DownloadError(str(e)) DownloadError: ApplicationError: 2 I've checked the URL in question ( http://geohash.org?q=34.123453%2C-118.148759format=urlredirect=0) and it works, both in URL-encoded form and non (it's just numbers and a comma, no spaces or anything). The code works locally. I've upgraded to SDK 1.1.9. Everything still looks good. BTW, the function that is blowing up had no changes made to it. Where do I look now? -- Faber Fedor Linux New Jersey http://linuxnj.com faberfedor.blogspot.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: HELP~~~~~!!! How to run the Google App in my local LAN
On Fri, Feb 13, 2009 at 11:51 PM, Allen allen.lu...@gmail.com wrote: When I finish the application, I can upload to Google App Engine by appcfg.py update . Right. You upload it to Google and take advantage of their infrastructure. My question is : Can I run this application in my local LAN. And make sure other computers in the samd LAN can visit it. When you run it on your local computer you ARE running it on your local LAN. If configured properly, there's no reason other computers on your LAN can't use your app. You won't get the benefits of Google's infrastructure, of course, but maybe you don't need that on your local LAN. But why would you do that? The main selling point of AppEngine is, IMO, the scalability. -- Faber Fedor Linux New Jersey http://linuxnj.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Can I separate py file?
On Sat, Jan 31, 2009 at 9:56 PM, Pikaurd Chen chenha...@gmail.com wrote: Can I separate the handlers to other py files? like this application = webapp.WSGIApplication([('/', pyfile1.MainPage), (r'/([0-9]+).html', pyfile2.MainPage), Put your handlers in different files (ResPage1.py, ResPage2.py). At the top of MainPage.py (the one holding webapp.WSGIApplication), simply do a from ResPage1 import * from ResPAge2 import * and Python will take care of the rest. Thanks -- Faber Fedor Cloud Computing New Jersey http://cloudcomputingnj.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: App Engine, Eclipse and Pydev Great but how to get breakpoints???
I just tested this and it works: 1. Create a New Project in Eclipse. Call it Test-Server. Put the two files listed below in Test-server/src 2. Create a Run/Debug configuration in Eclipse. Name it Test-Server. 3. In the Main Tab of the above configuration panel, set your Main Module to something like this: ${workspace_loc:test-server/google_appengine/dev_appserver.py} where test-server is the project directory. Note that I have the appengine code in the same workspace directory, YMMV 4. Under the Arguments tab, put the following in the Arguments text area: ${project_loc}/src --port= 5. Save the configuration. 6. Open up test-server.py in an editor. Put a breakpoint on the line self.response.out.write(This is the Main Page.) by double-clicking in the leftmost margin. 7. Select Debug As... from the menu. Select Test-server. 8. Fire up a browser and go to http://localhost: 9. Switch back to Eclipse and you should be in the Debug Perspective with the breakpointed line highlighted. File 1: app.yaml application: test-server version: 1 runtime: python api_version: 1 handlers: - url: /.* script: test_server.py File 2: test-server import os import sys import cgi import string from google.appengine.ext import webapp from google.appengine.ext.webapp.util import run_wsgi_app class MainPage(webapp.RequestHandler): def get(self): self.response.out.write(This is the Main Page.) application = webapp.WSGIApplication( [('/' , MainPage), ], debug=True) def main(): run_wsgi_app(application) if __name__ == __main__: main() = EOF= -- Faber Fedor Cloud Computing New Jersey http://cloudcomputingnj.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: App Engine, Eclipse and Pydev Great but how to get breakpoints???
My app just sends and receives JSON, so here's what I do: I run my app in debug mode and then drop to the command line and send JSON code via curl (I'm on a Linux box). Works great. You should be able to set a breakpoint, fire up a browser and do whatever it is you do and the breakpoint should break. How do you know it's running properly? It sounds as if you're doing a Run As... instead of Debug As On Sun, Jan 25, 2009 at 5:47 PM, dartdog tombran...@gmail.com wrote: I've been struggling with trying to debug modifications to the Bloog sample app, not knowing any of the tools, so I find an issue get a tool Finally got Eclipse and Pydev going, boy I wish I had gotten that going earlier, much smoother handling than Notepad++!!! Plus now I can run in a better runtime setup. I've been using some of Eclipse for report writing (Brit). Should have gotten on it sooner. But!!! I can't get breakpoints and variable watching to work on the App code...(using the Dev server) It displays the symbol, but never hits.. same with the variable watch, always says can't evaluate I know it's executing the code. I've got it right up in the start on Main.pyIdeas anyone??? I'm running in debug mode and have followed all the install tutorials I could find including the one on IBM's site. I'm excited by the possibility but short on full results. If I can get this I'll really be able to get some traction I think. -- Faber Fedor Cloud Computing New Jersey http://cloudcomputingnj.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: How to do it without using javascript?
On Sat, Jan 17, 2009 at 2:03 AM, arnie parvez...@rediffmail.com wrote: Using a wsgi application and without using javascript is it possible to calculate the latitude and longitude of a physical address using Google Maps API? Of course. If yes then how? See my code below. I have searched a lot but finds only javascript references. That's because they're doing it from the browser. You want to do it from the server. My requirement is to fetch Latitude/Longitude values when the physical address information is being saved in datastore using a wsgi application I'm doing the exact same thing. Are you stealing my Million Dollar Idea? :-) Any idea? Here's how I do it: def genGeocode(self): key= Your Google Maps API Key goes here url=' http://maps.google.com/maps/geo?q='+self.address+'output=xmlkey='+key result2 = urlfetch.fetch(url) dom2 = minidom.parseString(result2.content) geo_status =int(dom2.getElementsByTagName(code) [0].childNodes[0].data) #check to see if google was able to find the coordinates for the street address if geo_status == 200: coord = dom2.getElementsByTagName(coordinates) [0].childNodes[0].data split_coord = coord.rsplit(,) longitude=(split_coord[0]) latitude=(split_coord[1]) self.geoPoint=latitude++longitude self.geoHash = Geohash((latitude, longitude)) return 1 Any suggestion to improve my code are greatly appreciated. -- Faber Fedor Cloud Computing New Jersey http://cloudcomputingnj.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: OpenID, is it good?
On Sat, Jan 17, 2009 at 1:25 PM, James Ashley james.ash...@gmail.comwrote: On Jan 12, 9:06 pm, jay j...@jaykyburz.com wrote: I thought google was participating in Open ID now? Do our app engine logins support OpenID's? OpenID still seems...fairly immature and not user friendly. Really? Then again, it's been a while since I tried to use it. I probably have the terminology wrong. You may want to try it again. I've been using it lately and I'm growing to like it. The trouble is finding sites that accept Open ID logins from other providers. I'm finding more and more as I surf. Granted, we still need many more, but it's a start. No idea why that is, unless it's just the pain of re-writing their user handling code. Well, that and figuring out a graceful way for the user to actually log in. I still haven't ever been able to figure it out, on the few sites I've seen. On the sites I've done it with, I've clicked Log in with OpenID, it takes me to OpenId and it says You're logging in over at fubar.com, I click Okay and I'm sent back to fubar.com and I'm logged in. There's a checkbox for staying logged in and you can set up profiles, but I haven't played with them yet. -- Faber Fedor Cloud Computing New Jersey http://cloudcomputingnj.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Ideas for hands-on AppEngine demo?
On Thu, Jan 15, 2009 at 5:05 PM, Nash-t timna...@gmail.com wrote: Looks like an interesting meeting. It's one of the interactive ones I've ever been to! I would show them the registration and upload process. I'd have to register one of them, since I can'tregister again (unless I get another cell phone!). It is one of the things I like about GAE because it is well done. (I use the Mac app engine launcher). I should be able to do it from the CLI on the Mac too, right? I don't really have a simple or impressive app idea but I would like to point out that GAE is an especially good platform for emergency services because of its ability to sit unused (no cost ) and then scale to meet sudden demand. Really good point! That's going into the presentation. Maybe users text message their location to your application for immediate tally? How does my application receive text messages? -- Faber Fedor Cloud Computing New Jersey http://cloudcomputingnj.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Whaddya mean Verify my account? Again?!
Why can't I get my account at my client (NOT my personal account) verified? At their site, I am lead architect and developer. They pay for Google Apps and Domains. Does Google expect me to have a phone for every client I want to bring to them? Mixing my personal account with those of my clients' (plural!) is not a Good Thing. On Sat, Jan 10, 2009 at 10:37 AM, Alexander Konovalenko alex...@gmail.comwrote: On Sat, Jan 10, 2009, Faber Fedor faberfe...@gmail.com wrote: IIUC, I'm screwed. :-) I used my cell number for my personal AppEngine account. So how do I get verified for my client's account when my SMS number has already been used? Or do I have to have them create the app? Perhaps you can create the app using your personal account, invite your client's account to the app and after logging in under your client's account remove your personal account from the list of developers. I'm not sure if this will work as intended though. Please let me (and the group) know if this solves your problem. -- Alexander -- Faber Fedor Cloud Computing New Jersey http://cloudcomputingnj.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Whaddya mean Verify my account? Again?!
Something is not right between me and AppEngine. Earlier today I uploaded a new version of a client's AppEngine app. I login under my client-based account (fa...@cloudtechllc.com) to do some maintenance. I go to our appengine page and I see our two apps. I click on one of them and do some work. I go back to the appengine page to install another application. Under the button Create New Application it says I have 10 apps left. That should read 8. Anyway, I click Create a New Application and the system wants to verify my account with an SMS message. Of course, it won't accept my number since it's already been used to verify my (an) account. What gives? -- Faber Fedor Cloud Computing New Jersey http://cloudcomputingnj.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Whaddya mean Verify my account? Again?!
On Fri, Jan 9, 2009 at 6:06 PM, Marzia Niccolai ma...@google.com wrote: Hi Faber, You will need to verify an account when you create the first application with that account, even if that account has been invited to develop on other applications. Each developer gets to create 10 application, but can develop on all those they can get invited to :) IIUC, I'm screwed. :-) I used my cell number for my personal AppEngine account. So how do I get verified for my client's account when my SMS number has already been used? Or do I have to have them create the app? - Marzia On Fri, Jan 9, 2009 at 1:35 PM, Faber Fedor faberfe...@gmail.com wrote: Something is not right between me and AppEngine. Earlier today I uploaded a new version of a client's AppEngine app. I login under my client-based account (fa...@cloudtechllc.com) to do some maintenance. I go to our appengine page and I see our two apps. I click on one of them and do some work. I go back to the appengine page to install another application. Under the button Create New Application it says I have 10 apps left. That should read 8. Anyway, I click Create a New Application and the system wants to verify my account with an SMS message. Of course, it won't accept my number since it's already been used to verify my (an) account. What gives? -- Faber Fedor Cloud Computing New Jersey http://cloudcomputingnj.com -- Faber Fedor Cloud Computing New Jersey http://cloudcomputingnj.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Beginner Question - About using App Engine
On Thu, Jan 8, 2009 at 5:56 PM, mscwd01 mscw...@gmail.com wrote: In short, i'd like to use App Engine to return xml responses to my Android App - instead of using App Engine for the usual browser based web application. Is this allowed? I hope so! I'm planning on doing the same thing! (Except with JSON :-) -- Faber Fedor Cloud Computing New Jersey http://cloudcomputingnj.com --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: My first Webapp: Zip code search - Your advice
On Sun, Nov 30, 2008 at 9:34 AM, vinodxx [EMAIL PROTECTED] wrote: Hello friends, I made a Search for Zip Code,City,State and County utility here. http://zipcodesearch.appspot.com/ Please comment on this application. Why does it return two answers for 08826 (NJ and CA) and 15901 (NY and PA). 90210 returns just one answer. It seems slow, but that might be network latency. -- Faber Fedor Cloud Computing New Jersey http://cloudcomputingnj.com --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Alternate way to receive verification code than SMS?
Marzia, You're a Mac guy? Do you have Appengine running on a Mac (Tiger)? If so, how? On mine I keep getting Can't find module _md5. The only advice I found was to reinstall GoogleAppEngineLauncher but that didn't help. :-( On Fri, Nov 21, 2008 at 12:46 PM, Marzia Niccolai [EMAIL PROTECTED] wrote: Hi Robert, I can help you get your account manually activated, I will follow up offline. But what is the browser/OS you are using when you get the error you described? I have not been able to get that message when testing on my Mac. -- F --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Alternate way to receive verification code than SMS?
On Fri, Nov 21, 2008 at 3:24 PM, Brian Clapper [EMAIL PROTECTED]wrote: On 11/21/08 3:11 PM, Faber Fedor wrote: On Fri, Nov 21, 2008 at 2:06 PM, Brian Clapper [EMAIL PROTECTED] wrote: I'm running it on Tiger just fine. What version of Python are you using? MacPorts Python 2.5 See this thread: http://groups.google.com/group/google-appengine/browse_thread/thread/015bc242f0609ae6?fwc=1 You mean the thread I hijacked, posted my own data and then answered the question? :-) Anyway, I was thinking about the wrong problem. When I try to access my local GAE instance on my Macbook running Eclipse, the error I get is no module named os' which, of course is the very first line in my app. Path problem? I've got /opt/local/lib/python2.5 in my PYTHONPATH dialogs. :-? Same thing happens when I run my app from the command line. -- Faber Fedor http://cloudcomputingnj.com --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] jsonpickle and GAE?
Is anyone in here using jsonpickle http://code.google.com/p/jsonpickle/to pickle their custom objects? The 'unpicklable' setting doesn't have any effect for me and that's what I really need to work. I've made one change to the code to get it to work (changed the 'import simplejson' line) and I'm wondering if I need to make some other change(s) to get jsonpickle to work properly with GAE. -- faber --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: ImportError: No module named _md5
And since Marzia is probably taking a well-deserved rest this weekend, I'll answer the OP's question! You need to also install py25-hashlib, e.g. sudo port install py25-hashlib and you no longer get this error. Now, to fix my other errors... On Sun, Nov 16, 2008 at 3:39 PM, faber [EMAIL PROTECTED] wrote: Okay, the OP seems to have gone missing, so I'll take his place. :-) My app is successfully running under Ubuntu as well as on Appengine itself. I'm trying to move development over onto my Macbook and ran into the same problem. On Sep 22, 12:05 pm, Marzia Niccolai [EMAIL PROTECTED] wrote: Hi, If you could provide some more information, that would be helpful: What version of the SDK are you currently running 1.1.3? I am running 1.1.5.151 What version of Mac OS are you running? OS X 10.4 (Tiger) Are you using the Mac Python install, or a different Python installation I had to upgrade Pyhton to v 2.5. I did that using Macports. when running the SDK? IIUC, yes. I get the error on my local machine. I'm using Eclipse as my IDE but I see the same error from that little GoogleAppEngineLauncher thingie. This was SO much easier under Ubuntu! :-) Thanks, Marzia On Sat, Sep 20, 2008 at 9:25 AM, JoshuaJ [EMAIL PROTECTED] wrote: When I try to run google's hello world example in GoogleAppEngineLauncher on Mac OS X, I get an error message complaining ImportError: No module named _md5. A similar question was posted here several months ago, and a workaround was provided, but that one no longer applies; the workaround has already been incorporated into the latest versions of GoogleAppEngineLauncher, but I'm still having the problem! Here's the log that it outputs: *** Running dev_appserver with the following flags: --admin_console_server= --port=8080 Python command: /opt/local/bin/python2.5 Traceback (most recent call last): File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ dev_appserver.py, line 55, in module execfile(script_path, globals()) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/dev_appserver_main.py, line 73, in module from google.appengine.tools import appcfg File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 40, in module import sha File /opt/local/lib/python2.5/sha.py, line 6, in module from hashlib import sha1 as sha File /opt/local/lib/python2.5/hashlib.py, line 133, in module md5 = __get_builtin_constructor('md5') File /opt/local/lib/python2.5/hashlib.py, line 60, in __get_builtin_constructor import _md5 ImportError: No module named _md5 --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: n00b problem: can't print member values
On Thu, Nov 13, 2008 at 1:51 PM, Marzia Niccolai [EMAIL PROTECTED] wrote: Ah, so I thought you were trying to access the object key. Which was a perfectly reasonable thing for you to think. In this case, does your model definition have the ()? So, class ProgressEvent(db.Model): senderId = db.StringProperty() DOH! That was it! Told ya' it was a n00b mistake! :-) Thanks! -- faber --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---