[google-appengine] Re: Changes to urlfetch seem to have broke my old code

2009-02-14 Thread warreninaustintexas
> "content" attribute after the exception will raise UnboundLocalError > as the "result" variable simply does not exist. Your code was working > by accident. > > warreninaustintexas napisał(a): > > > My app has been working since October of last year

[google-appengine] Changes to urlfetch seem to have broke my old code

2009-02-14 Thread warreninaustintexas
My app has been working since October of last year. My app scrapes stock data from Yahoo! Finance and Google Finance. I haven't changed the way it does urlfetch in many months, but today it is suddenly throwing errors that I haven't had before. Relevant portion of code: url = "http://finan

[google-appengine] Re: Please define "guessability"

2009-02-12 Thread warreninaustintexas
lution -- I remember a talk by > Joshua Schachter of del.icio.us where he said he based urls on > usernames specifically to prevent crawling. > > cheers > Michael > > On Feb 12, 4:28 pm, warreninaustintexas > wrote: > > > Okay.  Thanks for the response.  So my interp

[google-appengine] Re: Please define "guessability"

2009-02-12 Thread warreninaustintexas
te: > > > Avoid sequential keys, use something like a GUID or UUID, nonce values, etc. > > etc. > > > Thanks- > > - Andy Badera > > - and...@badera.us > > - (518) 641-1280 > > - Tech Valley Code Camp 2009.1:http://www.techvalleycodecamp.com/ >

[google-appengine] Please define "guessability"

2009-02-12 Thread warreninaustintexas
I'm using entity keys in the URL of my app. According to the App Engine documentation: "While string-encoded key values are safe to include in URLs, an application should only do so if key guessability is not an issue." http://code.google.com/appengine/docs/python/datastore/keyclass.html#Key Ho

[google-appengine] Re: Domain squatting on App Engine

2009-02-11 Thread warreninaustintexas
Goeffrey - Thanks for the quick response. Have any of the Googlers given a reason? That seems like a bad policy and I can't imagine any technical reason for it On Feb 11, 11:10 am, Geoffrey Spear wrote: > On Feb 11, 11:04 am, warreninaustintexas > wrote: > > >

[google-appengine] Domain squatting on App Engine

2009-02-11 Thread warreninaustintexas
I'm trying to get an Application Identifier for a new app. I've tried many variations and I am receiving a "Sorry, is not available." message at each one. When I check these apps at http://.appspot.com, the app domain is not being used. Has there been domain squatting on App Engine? --

[google-appengine] Re: Problem with PDF as a static file

2009-01-02 Thread warreninaustintexas
Yes - I forgot about the 1MB limit. I can probably break it down into two files and get them each under 1MB. Thanks! w. On Dec 31 2008, 12:12 am, Gert-Jan wrote: > Hi Warren, > > Did your pdf-file exceed 1 MB? > > Greetings, > > Gert-Jan --~--~-~--~~~---~--~~ Yo

[google-appengine] Re: currency or comma in float numbers format

2009-01-02 Thread warreninaustintexas
I wrote my own function to convert since I couldn't find a Django filter or Python library to do so. I convert to a summary style format instead of full-precision currency: if abs(what_number) > 10: return_string = str(round(float(what_number)/10,places)) + "B" elif abs(w

[google-appengine] Re: Problem with PDF as a static file

2009-01-01 Thread warreninaustintexas
port of a Java library to Python, but > after looking at a lot of Java source, my eyes glazed over. > > Are you, or is anyone else, working with pdf forms? > > Garrett Davis > > On Dec 30 2008, 8:55 pm, warreninaustintexas > > wrote: > > When i use the sample code

[google-appengine] Re: Problem with PDF as a static file

2009-01-01 Thread warreninaustintexas
Java libraries to do this, > but I couldn't find any pure-Python code that I could load into the > App Engine.  I started to try a port of a Java library to Python, but > after looking at a lot of Java source, my eyes glazed over. > > Are you, or is anyone else, working with pdf for

[google-appengine] Re: why java

2008-12-31 Thread warreninaustintexas
Programmers are human beings - even though we work with logic-oriented problems. We still have the natural human behavior of preferring something familiar over something unfamiliar - even if the unfamiliar environment is superior. Java is familiar because it is the primary language taught in uni

[google-appengine] Problem with PDF as a static file

2008-12-30 Thread warreninaustintexas
When i use the sample code for image files (from the App Engine documentation) in my app.yaml file, it works fine: - url: /(.*\.(gif|png|jpg)) static_files: static/\1 upload: static/(.*\.(gif|png|jpg)) When I add pdf as a static file type ... - url: /(.*\.(gif|png|jpg|pdf)) static_files:

[google-appengine] Re: App Engine developers in Austin

2008-12-30 Thread warreninaustintexas
es.google.com/site/hackathoninabox/Home > > -Marzia > > On Fri, Dec 26, 2008 at 11:16 AM, warreninaustintexas < > > warreninaus...@gmail.com> wrote: > > > Are there any other App Engine developers in Austin, Texas?  I'd like > > to organize a meet-up downto

[google-appengine] Vote for App Engine

2008-12-29 Thread warreninaustintexas
Vote for Google App Engine at the 2008 TechCrunch product awards ("Crunchies") web site: http://crunchies2008.techcrunch.com/votes/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To pos

[google-appengine] App Engine developers in Austin

2008-12-26 Thread warreninaustintexas
Are there any other App Engine developers in Austin, Texas? I'd like to organize a meet-up downtown if there's enough interest. Respond back to this post, or e-mail me directly if you are interested. --~--~-~--~~~---~--~~ You received this message because you are

[google-appengine] GData Feed Fetcher

2008-12-08 Thread warreninaustintexas
I'm working with Jeff Scudder's article and sample code for GData feeds in GAE. I'm interested in the GMail Contacts feed, which is commented out in his source file [feedfetcher.py, lines #165, 166]. Two questions: 1. Is the GMail Contacts feed is still in alpha? Is that why these lines were co

[google-appengine] Re: switch users based on current google account

2008-11-26 Thread warreninaustintexas
I noticed the same effect. App Engine let me log in with a GMail account, but kept showing me information from the previous account that I had used to log in. I wouldn't worry about this problem too much - it only happens in the development environment. On the production environment, the log-in

[google-appengine] Re: Best practice for user objects

2008-11-10 Thread warreninaustintexas
That makes sense. I will try that. On Nov 10, 10:52 am, Mahmoud <[EMAIL PROTECTED]> wrote: > I would wrap the user api object (users.user) in an application > specific AppUser object, and use a reference property for which_user. > > -Mahmoud > > On Nov 8, 11:02 pm, war

[google-appengine] Best practice for user objects

2008-11-08 Thread warreninaustintexas
What is the best way to access one user's information from another user's session? I'm building a stock market tip social networking app (bad timing, I know). Obviously I need the app to share information between specific users. Here's what I have right now: class TopList(db.Model): which_us

[google-appengine] Re: appengine is very frustrating

2008-10-27 Thread warreninaustintexas
Your app is working fine now. It's a fun game - nice work! --~--~-~--~~~---~--~~ 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 unsubsc

[google-appengine] Re: Simple StringListProperty question

2008-10-19 Thread warreninaustintexas
Did you try this? keywords = db.StringListProperty(default=None) By my interpretation of the GAE docs, you need to do that to ensure that the property is initialized with an empty set rather than completely null. --~--~-~--~~~---~--~~ You received this message b

[google-appengine] Re: Python Support

2008-10-06 Thread warreninaustintexas
Guido van Rossum was asked this question at Google I/O. He stated that it would be handled as Larry mentions - by calling a separate runtime. He didn't state a timeframe, though, for it to be available. On Oct 2, 4:02 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Wouldn't Python 3 suppor

[google-appengine] Re: production server behavior is different than dev_appserver

2008-10-01 Thread warreninaustintexas
Follow-up: Deleted the autogenerated indexes in the index.yaml file, reran through dev_appserver enough to rebuild the indexes, re-uploaded and it works now. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Ap

[google-appengine] production server behavior is different than dev_appserver

2008-10-01 Thread warreninaustintexas
es on the production server. Is there some way to determine what will error out in the production environment? Isn't the point of having a development environment to simulate the behavior of the production environment? warreninaustintexas --~--~-~--~~~---~--~~