Re: [appengine-java] Oracle sues Google on Java Patents and Copyright

2010-08-14 Thread Dave Watts
Will Google App Engine for Java be impacted ? No. The lawsuit concerns Android/Dalvik, Google's mobile Java implementation. The licensing for J2SE and J2ME are significantly different. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software

Re: [appengine-java] Need help with Datastore

2010-08-11 Thread Dave Watts
/IdGeneratorStrategy.html Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. -- You

Re: [appengine-java] Google Web Application problem in Eclipse Helios

2010-08-04 Thread Dave Watts
lose the web.xml autoconfiguration that you get when you generally create servlets in Eclipse. I haven't tried the fix described by Rahul yet. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA

[google-appengine] Re: Seeing a lot of ApplicationError 2 errors since maintenance?

2010-06-16 Thread Dave
I am seeing a similar error for our app. In some cases I get the response back and the status_code attribute is not populated, even though the response.content appears to be valid. Dave Tucker WebFilings On Jun 15, 8:17 am, Gavin Andresen gavinandre...@gmail.com wrote: I'm getting

[google-appengine] Re: DeadlineExceeded on cold hits.

2010-06-08 Thread Dave Peck
Ping! Keeping this thread alive -- seems this has hit several people. Anyone have answers? Thanks, Dave On Jun 3, 7:03 pm, nischalshetty nischalshett...@gmail.com wrote: +1 The deadline exceptions are beyond me. It's definitely not the 30 sec limit thingy happening. Seriously, Google App

[google-appengine] Re: DeadlineExceeded on cold hits.

2010-06-03 Thread Dave Peck
... I was hoping for a comment on practice. ;-) Cheers, Dave On Jun 2, 2:19 pm, scarlac scar...@gmail.com wrote: +1 We've been having way too many of these errors for two weeks. Downtime is acceptable but this is ridiculous. This can't keep up or we'll have to rewrite our app and stop using

[google-appengine] DeadlineExceeded on cold hits.

2010-06-01 Thread Dave Peck
is under development, etc.) Cheers, Dave Peck -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr

[appengine-java] Introducing - Objectify module for the Play Framework

2010-05-19 Thread Dave Cheong
-objectify.appspot.com/ If you want more information about the Play Framework, go here: http://www.playframework.org/ I invite the GAE/J community to take a look and see what you think. If you have suggestions for improvement, don't hesitate to forward it on or create an issue. dave -- You received this message

[google-appengine] google.appengine.api.mail.InvalidEmailError and invalid_email_reason

2010-04-07 Thread Dave
Hi- I was writing a request handler that sent an email address and was very surprised when my unit tests failed due to is_email_valid returning unexpected false positives. Upon further investigation of the sdk source[1], turns out that invalid_email_reason is doing a very very basic string

[appengine-java] Re: One to many sample application needed on GWT

2010-01-20 Thread Dave
at expanding the capabilities of the App Engine Cookbook to support examples like this contributed by the community. On Tue, Jan 19, 2010 at 4:48 PM, Dave ladjo...@gmail.com wrote: I have been working assiduously on a GWT project. I have implemented the stockwatcher app without problems. It's

[appengine-java] Re: Beginner question: one to many relationship

2010-01-19 Thread Dave
I am having the same problems of how to do this. However, I do not like Jason's solution because it seems as if I would get the book data back even if I wanted the author data only. On Jan 12, 5:58 pm, Jason (Google) apija...@google.com wrote: If you're using JDO, then just as Juan said, you can

[appengine-java] One to many sample application needed on GWT

2010-01-19 Thread Dave
I have been working assiduously on a GWT project. I have implemented the stockwatcher app without problems. It's new to me to be working with JDO/JPA. I'm more in tuned to using relational DB. There are no concrete application example that deals with one to many DB. I have read some of the

[google-appengine] Re: Request was aborted after waiting too long followed by random DeadlineExceededError on import.

2009-12-15 Thread Dave Peck
, Dave On Dec 15, 9:14 am, Jason C jason.a.coll...@gmail.com wrote: Ikai, We see daily DeadlineExceededErrors on app id 'steprep' from 6.30am to 7.30am (log time). Can you look into that as well? Thanks, j On Dec 14, 3:32 pm, Ikai L (Google) ika...@google.com wrote: Do you see

[google-appengine] Re: Request was aborted after waiting too long followed by random DeadlineExceededError on import.

2009-12-15 Thread Dave Peck
Ikai, We'll keep an eye on our app for the next ~24 hours and report back. At what time did you make the changes to our instance? We had substantial downtime earlier today, alas. Can you provide any details about what sort of change was made? Thanks, Dave On Dec 15, 11:26 am, Ikai L (Google

[google-appengine] Re: Introducing App Engine SDK 1.3.0

2009-12-15 Thread Dave Peck
API with a no-op transform and see if execute_transforms() succeeds. So if I want to validate a 1MB image, I still have the issue with the output side of the image API. It would be great if we could execute_transforms() directly back to a blob and get a BlobInfo back? Cheers, Dave On Dec 15, 11

[google-appengine] Re: Introducing App Engine SDK 1.3.0

2009-12-15 Thread Dave Peck
a straightforward is_valid_image API, too...) Cheers, Dave On Dec 15, 11:50 am, Dave Peck davep...@gmail.com wrote: Well, that gets us partway there. Looking at the docs, it looks like the output image must still be less than 1MB -- certainly fine for thumbnailing, but possibly for not all types

[google-appengine] Blob Store Post/Redirect/Get Django Forms

2009-12-15 Thread Dave Peck
about how this can be cleanly handled? PS: I notice that if a user fails to attach a file, a zero-length blob with mimetype 'text/plain' is created anyway. Is this really desirable? I'm just going to turn around and delete that blob... Thanks, Dave -- You received this message because you

[google-appengine] Re: Blob Store Post/Redirect/Get Django Forms

2009-12-15 Thread Dave Peck
I suppose the clean way to do this is to add stuff to the user's session in the blob handler, and then pick it up in the GET request that we redirect to. Not too hard, though from the perspective of the Django forms API not a natural fit. Cheers, Dave On Dec 15, 2:17 pm, Dave Peck davep

[google-appengine] Bug with blobstore internal redirect in dev_appserver.py

2009-12-15 Thread Dave Peck
lines only with LF. This causes Django 1.1's multipart parser to fail (in parse_boundary_stream), since it is hardcoded to look for \r\n\r\n at the end of each part's header. As a result, I'm blocked on django+blobstore integration work... I've logged this as issue 2515. Thanks, Dave -- You

[google-appengine] Request was aborted after waiting too long followed by random DeadlineExceededError on import.

2009-12-14 Thread Dave Peck
this sound at all reasonable? I see a few related issues (2396, 2266, and 1409) but no firm/completely clear discussion of what's happening in any of them. Thanks, Dave PS: The specifics about our high latency request are *not* strictly relevant to the larger problem I'm having, but I will include

[google-appengine] Re: Request was aborted after waiting too long followed by random DeadlineExceededError on import.

2009-12-14 Thread Dave Peck
/ The screenshot handler in question is found in ./citygoround/views/ app.py Line 115. Cheers, Dave On Dec 14, 1:32 pm, Ikai L (Google) ika...@google.com wrote: Do you see that it's consistent at the same times? What's your application ID? I'll look into it. On Mon, Dec 14, 2009 at 11:28

[appengine-java] Re: Duplicate incoming emails?

2009-11-19 Thread Dave Cheong
, I was using http://smtp2web.com which had a nice feature in that if an exception is thrown when calling the webhook, it would send a bounce email to the sender and stop trying. This was nice I thought because there was user feedback that the mail didn't get through. Your thoughts? dave

[appengine-java] Re: Inequality operator is !=, but can we add

2009-11-05 Thread Dave Cheong
Thanks for the reply Max. I pretty much came to the same conclusion. Any ETA on when the support will be released for general use? dave On Nov 4, 5:05 am, Max Ross (Google) maxr+appeng...@google.com wrote: not-equal filters are not supported in the current SDK unless you're doing not equal

[appengine-java] Inequality operator is !=, but can we add

2009-10-31 Thread Dave Cheong
Hi all, In JPA and SQL, the inequality operator is , but I believe in JDO it is !=. AppEngine supports != but does not support . Is there any remote possibility of adding as the inequality operator too? The behaviour can be exactly the same. thanks, dave

[appengine-java] Re: Inequality operator is !=, but can we add

2009-10-31 Thread Dave Cheong
Queries compile to JPQL? Also, if using EntityManager, I won't be able to go: pm.newQuery(javax.jdo.query.JPQL, SELECT p FROM Person p WHERE p.lastName = 'Jones'); ... as your link above suggests. Am I on the wrong track here? Please help. Thanks, dave On Oct 31, 11:30 pm, datanucleus

[appengine-java] Re: Inequality operator is !=, but can we add

2009-10-31 Thread Dave Cheong
Queries that get created from this should default to JPQL syntax. No? thanks, dave On Oct 31, 11:56 pm, Dave Cheong d...@davecheong.com wrote: Thanks for the prompt reply. Couple of quick questions to follow up: 1) I can't seem to get != working either. Getting

[appengine-java] Re: Inequality operator is !=, but can we add

2009-10-31 Thread Dave Cheong
What I'm saying is I'm using EMF and writing JPQL and is not working, which it should since it is the valid operator for inequality. Are you saying it works for you? dave On Nov 1, 12:27 am, datanucleus andy_jeffer...@yahoo.com wrote: 1). I can't seem to get != working either. I have

[appengine-java] Re: Inequality operator is !=, but can we add

2009-10-31 Thread Dave Cheong
value=true/ property name=datanucleus.NontransactionalWrite value=true/ property name=datanucleus.ConnectionURL value=appengine/ /properties /persistence-unit Any help you provide is appreciated. thanks, dave On Nov 1, 3:23 am, Dave Cheong d...@davecheong.com

[appengine-java] Re: Inequality operator is !=, but can we add

2009-10-31 Thread Dave Cheong
And public void myMethod2() { Query query = entityManager.createQuery(select o from Myclass o where o.title = :p1 and o.myProperty :p2); // bind params query.getResultList(); // exception thrown unexpectedly also } On Nov 1, 3:32 am, Dave Cheong d

[google-appengine] DownloadError: ApplicationError: 5

2009-09-16 Thread Dave
Sometimes when performing this request: client = gdata.spreadsheet.service.SpreadsheetsService() session_token = client.token_store.find_token(flubaroo.token_url) gdata.alt.appengine.run_on_appengine(client) try: sfeed = client.GetSpreadsheetsFeed() I see the error below come up

[google-appengine] Re: DownloadError: ApplicationError: 5

2009-09-16 Thread Dave
Is there a way to catch this, so I can at least show a more graceful error? It doesn't seem to be an exception. On Sep 16, 10:21 am, Benjamin Schuster-Böckler b...@pearcomp.com wrote: Yup, I've been seeing a fair number of those, too. I guess it means   the urlfetch fails for some reason.

[google-appengine] Re: Within appengine, how do I download the contents of a spreadsheet without having to write to disk?

2009-09-16 Thread Dave
a new spreadsheet, and put data into it? Thanks -- Dave client = gdata.spreadsheet.service.SpreadsheetsService() session_token = client.token_store.find_token('http:// spreadsheets.google.com/feeds/') gdata.alt.appengine.run_on_appengine(client) sfeed = client.GetSpreadsheetsFeed

[google-appengine] Re: Indexes stuck building

2009-09-14 Thread Dave
Hi Nick, thx for the response. It's myblindrebel. Dave On Sep 14, 6:35 am, Nick Johnson (Google) nick.john...@google.com wrote: Hi Dave, What is your App ID? -Nick Johnson On Mon, Sep 14, 2009 at 1:04 AM, Dave ddev...@gmail.com wrote: Hi, I have two indexes that are stuck building

[google-appengine] Indexes stuck building

2009-09-13 Thread Dave
Hi, I have two indexes that are stuck building and have been in this state for more than a day. I've deleted everything out and done the vacuum but they stay in the building state. How can I get rid of them. Thx, --~--~-~--~~~---~--~~ You received this message

[google-appengine] session token use

2009-09-10 Thread Dave
, the session_token gets sent cleartext across the internet. Couldn't someone in theory see it with a packet sniffer, and then use it in their code to access (and potentially maliciously manipulate) this google user's spreadsheets? Isn't this a security flaw? Thanks! Dave

[google-appengine] get url for spreadsheet's form

2009-09-09 Thread Dave
/ gform?key=...hl=engridId=0#edit. How can I use the api to get this url, or the key so I can create the url myself? Thanks, Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post

[google-appengine] Re: question regarding session tokens and users

2009-09-04 Thread Dave
Does anyone have feedback on this? It seems I can't be the only one trying to do something like this. Thanks! Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send

[google-appengine] Use Transaction for DataStore operation?

2009-09-03 Thread Dave
, as a transaction's view of the datastore is frozen at the start of the transaction (so I wouldn't see the other record just inserted). If a transaction isn't the way to go, can you recommend a method to get out of this race condition? Thanks, Dave --~--~-~--~~~---~--~~ You received

[google-appengine] how to grab the header row of a spreadsheet

2009-08-25 Thread Dave
of the header row? Thanks, Dave --~--~-~--~~~---~--~~ 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

[google-appengine] getting header row from spreadsheet

2009-08-25 Thread Dave
of the spreadsheet. How can I get access to the contents of the header row? Thanks, Dave --~--~-~--~~~---~--~~ 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

[google-appengine] question regarding session tokens and users

2009-08-25 Thread Dave
(and potentially maliciously manipulate) this google user's spreadsheets? Isn't this a security flaw? Thanks! Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send

[google-appengine] spreadsheet api question # 2 - how can I quickly query for the number of rows in a spreadsheet?

2009-08-22 Thread Dave
Is there a way to quickly query the number of rows in a spreadsheet, without having to actually download the entire feed for that spreadsheet and count them myself? I'm looking for a quick method, since I may be printing this number for several spreadsheets on a single web page. Basically what

[google-appengine] Re: Within appengine, how do I download the contents of a spreadsheet without having to write to disk?

2009-08-22 Thread Dave
Instead of using this method, I tried fiddling around with the Spreadsheet API, and ultimately got that to work. I think that's probably the more proper way to do what I'm trying to accomplish anyway. Thanks so much! Dave On Aug 21, 6:56 pm, Dave dabo...@gmail.com wrote: Thanks, I will give

[google-appengine] Within appengine, how do I download the contents of a spreadsheet without having to write to disk?

2009-08-20 Thread Dave
read). So what is the recommended way to do this? I'd be happy getting the contents of the file as a data structure in memory, containing something like csv data. I don't need to deal with XML. Any suggestions, or pointers to documentation, would be appreciated. Thanks, Dave

[google-appengine] Error in Installing the Java SDK page

2009-08-10 Thread Dave Yost
Which is it? Do we cd to appengine-java-sdk and run bin/dev_appserver.sh appengine-java-sdk/demos/guestbook/war or do we cd to the parent directory of appengine-java-sdk and run appengine-java-sdk/bin/dev_appserver.sh appengine-java-sdk/demos/ guestbook/war

[google-appengine] Session Token without current user?

2009-08-09 Thread Dave
), but hasn't yet logged into my app (using the link generated by users.create_login_url). If I am right about this, then could I avoid this by always first requiring my user to login to my app, before checking to see if they have a token? Thanks, Dave session_token = None # Find the AuthSub

[google-appengine] Questions on session tokens

2009-08-03 Thread Dave
practice to store user session tokens in the Google data store (associated with a user's id)? Thanks so much, Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email

[google-appengine] 2 questions about using google data api from within appengine

2009-07-29 Thread Dave
I'm trying out the basic Google Data API examples within my AppEngine application. I had a couple questions 1) I tried a simple example of requesting a list of a user's documents from within a simple python script on my computer, like this: import gdata.docs.service # Create a

[google-appengine] How can I create an app that accesses a user's files in Google docs?

2009-07-08 Thread Dave
or an example? Thanks! Dave --~--~-~--~~~---~--~~ 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

[google-appengine] filter by id, as in key().id()

2009-05-01 Thread Dave
First let me say I read everything I can find but not sure I'm understand. This seems like a no brainer so I'm confused. My desire is to filter by numeric id. The reason is I want to use ID's in URL's vs. Key's. So I have models: class User: blah, blah, blah class Album: user =

[google-appengine] Re: filter by id, as in key().id()

2009-05-01 Thread Dave
. thx, On May 1, 9:03 am, Nick Johnson (Google) nick.john...@google.com wrote: Hi Dave, You have two options here: Construct a Key object from the ID and kind, like so: db.Key.from_path('Album', id) or you can use the convenience method get_by_id on a Model class: Album.get_by_id(id

[google-appengine] Re: filter by id, as in key().id()

2009-05-01 Thread Dave
 am, Alkis Evlogimenos ('Αλκης Ευλογημένος) evlogime...@gmail.com wrote: What you want to do is: albums = Album.all().filter('user =', aUser).fetch(1000) aUser can be a key to a user or a user entity. On Fri, May 1, 2009 at 3:19 PM, Dave ddev...@gmail.com wrote: Wow, thx for the super fast

[google-appengine] Re: filter by id, as in key().id()

2009-05-01 Thread Dave
)) Once again, thx so much! Dave On May 1, 9:47 am, Nick Johnson (Google) nick.john...@google.com wrote: On Fri, May 1, 2009 at 2:19 PM, Dave ddev...@gmail.com wrote: Wow, thx for the super fast respone Nick. You're the best. So I am probably still confused. I tried the following: queryset

[google-appengine] load templates from datastore...not flatpages

2009-04-26 Thread Dave
to a) load templates from datastore, b) support full templates with template tags, c) and have a template_loader. Anyone have suggestions? Thx, Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine

[google-appengine] ragendja/django authentication auth via email address

2009-04-24 Thread Dave
I need help! I am attempting to use ragendja with django to enable the auth system to use email address for auth rather than username. I had everything working fine with username but switching to email has been now a nightmare. The problem appears to be at line 13 in the

[google-appengine] how to set --datastore_path from manage.py

2009-04-20 Thread Dave
I've look high and low so my apologies if I've missed the answer. How does one set --datastore_path= when using mange.py? I'm having the problem where my datastore get's cleaned out randomly and need to move datastore from /tmp. Thanks in advance for the help! Dave

[google-appengine] perform multiple transformations of an image in a single API call.

2009-04-16 Thread Dave
be appreciated. thx, Dave --~--~-~--~~~---~--~~ 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

[google-appengine] Re: perform multiple transformations of an image in a single API call.

2009-04-16 Thread Dave
(picture, 32, 32) for picture in pictures] 2009/4/16 Dave ddev...@gmail.com I'm wondering if multiple resize transformations can be performed in a single API call? Or does this mean multiple different transformations (i.e. resize and getlucky) can be done in a single call? If multiple

[google-appengine] image resize results in blurry images

2009-04-16 Thread Dave
and height to 450 when calling resize. What am I screwing up? Thx in advance! Dave --~--~-~--~~~---~--~~ 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

[google-appengine] Re: image resize results in blurry images

2009-04-16 Thread Dave
SO Sorry... i am an idiot... One shouldn't iterate and resize the same picture objectespecially when doing thumbnail first. On Apr 16, 12:50 pm, Dave ddev...@gmail.com wrote: I know I must be missing something simple and it's driving me crazy. When I do an image resize the results

[google-appengine] max file upload size

2009-04-15 Thread Dave
) before it streams to disk. So I simply modified my settings.py to include FILE_UPLOAD_MAX_MEMORY_SIZE = 5252880 and it seems to be working great. So my question to the group is if this is the right and/or best way to solve this? Is there a limit of how much memory GAE will allocate? thx Dave

[google-appengine] Error pages for 404 etc

2009-02-23 Thread Dave Warnock
error(404)? Thanks Dave -- Dave Warnock: http://42.blogs.warnock.me.uk --~--~-~--~~~---~--~~ 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

[google-appengine] Re: Error pages for 404 etc

2009-02-23 Thread Dave Warnock
Thanks for the help. that works. 2009/2/23 Steffen 'stefreak' Neubauer stefr...@stefreak.de: On Mon, 23 Feb 2009 23:25:48 + Dave Warnock dwarn...@gmail.com wrote: How/where do I define my 404 page and get it to be displayed when I declare error(404)? You have to send it as response

[google-appengine] Re: CPU accounting for Datastore writes and pricing feedback

2009-02-17 Thread Dave Warnock
multiple versions of each layer. Obviously key problems are complexity (but clean REST API's should keep that to a minimum) and time lag between capture and report. Just an idea of the top of my head (and you would need to check terms of service would be ok with this). Dave -- Dave Warnock: http

[google-appengine] Re: CPU accounting for Datastore writes and pricing feedback

2009-02-17 Thread Dave Warnock
is not available via memcache it would grab it via api calls to the data store app. Ok slower then than direct bigtable access but just the same principal (except maybe you add a bit more processing between bigtable and memcache to get the data ready for the report). Dave-- Dave Warnock: http://42

[google-appengine] Django and App Engine not playing nice

2009-02-11 Thread Dave
When I installed App Engine originally, I was able to make it work well both on my Vista and Ubuntu machines. I then installed Jdango, however, and since then, Python has not been able to recognize any packages inside of the Google package. I have a hunch it has to do with the PATH environment

[google-appengine] simplejson reordering data, lists, arrays??????

2009-02-06 Thread Dave
looking at how to reorder data back, but ideally want to stop the json reordering. thx, Dave --~--~-~--~~~---~--~~ 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

[google-appengine] Re: simplejson reordering data, lists, arrays??????

2009-02-06 Thread Dave
Andy, You are my hero! I can't thank you enough. Hopefully this helps someone else down the path. Again, many thanks! Dave On Feb 6, 12:50 pm, Andy Freeman ana...@earthlink.net wrote: Javascript {} is a map/hash table, not a list.  It doesn't have an order. If you want the tag, tagname

[google-appengine] sanitizing user submitted HTML

2009-01-21 Thread Dave
img, span, etc. tags tinyMCE creates so nicely. Surely many have come across this and there an easy answer. All suggestions and recommendations are greatly appreciated. thx, Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed

[google-appengine] Re: sanitizing user submitted HTML

2009-01-21 Thread Dave
' or 'thumbs down' if this is a good approach. thx again Dave Chris Tan wrote: Check out: http://feedparser.org/docs/html-sanitization.html On Jan 21, 2:47�pm, Dave ddev...@gmail.com wrote: There must be an easy answer for this problem and I almost feel dumb for asking BUT I can't

[google-appengine] Re: Having trouble with Django model.objects

2009-01-19 Thread Dave
. I saw this before but guess I forget/didn't understand what I was reading. Thx so much! On Jan 18, 6:06 pm, Alexander Kojevnikov alexan...@kojevnikov.com wrote: Dave, I suggest that you give app-engine-patch [1] a try. It's the same Django we all love, but uses GAE Models for datastore access

[google-appengine] Re: index.yaml not being updated

2009-01-19 Thread Dave
more everyday! Thx again, Dave On Jan 18, 6:11 pm, Bill billk...@gmail.com wrote: Yes, that was what I was getting at.  Dave, take a look at Ryan's article on index building:http://code.google.com/appengine/articles/index_building.html Your index.yaml won't be updated unless your queries

[google-appengine] Re: Having trouble with Django model.objects

2009-01-19 Thread Dave
Alexander all, Thanks for directing me to this. I just added it in and works perfectly! This is just what I needed. Your the man! dgd On Jan 19, 8:13 am, Dave ddev...@gmail.com wrote: Hi Alexander, Thanks for the info. Actually I am using app-engine- patch since I wanted to use Django 1

[google-appengine] Re: Having trouble with Django model.objects

2009-01-18 Thread Dave
. On Jan 15, 8:07 am, Waldemar Kornewald wkornew...@gmail.com wrote: Hi Dave, On Jan 14, 6:34 pm, Dave ddev...@gmail.com wrote: I'm trying like crazy to use Django's model.object manager but struggling to find good documentation. Anybody have good links for this. Specifically what

[google-appengine] Re: how to do GqlQuery since OR is not supported

2009-01-18 Thread Dave
: untested - but that is now understand would do it. 2009/1/17 Dave ddev...@gmail.com: Hi, This is  probably (hopefully!) simple and lack of caffeine has me lost. I want to do a query such as: select * from profile where (nickname = searchname AND nickname searchname+'z') OR (fullname

[google-appengine] Re: how to do GqlQuery since OR is not supported

2009-01-18 Thread Dave
as ListStringProperty(). record 1: searchname = ['willie','dave','superman'] record 2: searchname = ['rodney','dave','superman'] record 3: searchname = ['mike','mike','wonderwoman'] so that's all good. For my query I have: query = UserProfile.all().filter('searchname =', locate_user_lower).filter

[google-appengine] index.yaml not being updated

2009-01-18 Thread Dave
Hi, In chasing a query issue, i've noticed my index.yaml file is not being updated at all. I've tried to delete it and restart server ($ python manage.py runserver) and all that happens is a new index.yaml is created as below. Note there is nothing about indexes in it? I have a previous app where

[google-appengine] Re: index.yaml not being updated

2009-01-18 Thread Dave
such as: request.user.invites_in.filter('invited_person =',request.user) request.user.invites_out.filter('person_inviting =',request.user) or user.connections.filter('user =',request.user) My thinking may be wrong but should it index on invited_person, person_inviting and connections? thx again, Dave On Jan 18

[google-appengine] how to do GqlQuery since OR is not supported

2009-01-17 Thread Dave
): nickname = db.StringProperty() fullname = db.StringProperty() searchname would be something like 'dav' and the query would pick up all records such that: record 1: nickname = 'david', fullname = 'gus' record 2: nickname = 'gus', fullname = 'dave' record 3: nickname = 'phil', fullname = 'gus david

[google-appengine] Re: email with Django and appenginepatch fails (1,'Uknown Error')

2009-01-14 Thread Dave
it but at least it's allowing me to continue developing. If anyone has a permanent fix or getting rid of the .local I'd appreciate hearing it. Thanks, Dave On Jan 9, 8:40 am, Dave ddev...@gmail.com wrote: Hi Waldemar, Thanks for the reply. I appreciate it. I should have included this in my original

[google-appengine] datastore is randomly deleted when starting server

2009-01-14 Thread Dave
I am experiencing a problem with the SDK in my development environment. Hopefully I'm overlooking something and shooting myself. Randomly the datastore is being deleted when I start the server. I start my server with 'python manage.py runserver' from terminal on mac with OS X 10.4.11. I'm send

[google-appengine] Having trouble with Django model.objects

2009-01-14 Thread Dave
this structure, including the DoesNotExist:, in the UserCreationForm clean routine. I've tried to set everything up the same way but must have missed something. Any help is greatly appreciated. Dave --~--~-~--~~~---~--~~ You received this message because you

[google-appengine] Re: email with Django and appenginepatch fails (1,'Uknown Error')

2009-01-09 Thread Dave
to make sure it has imac.local with my loopback address. Again, thanks for your help. This is driving me mad! Dave On Jan 9, 7:36 am, Waldemar Kornewald wkornew...@gmail.com wrote: Hi Dave, On Jan 8, 3:36 pm, Dave ddev...@gmail.com wrote: I am having a problem that I hope has an easy answer

[google-appengine] email with Django and appenginepatch fails (1,'Uknown Error')

2009-01-08 Thread Dave
('Congrats','you are now live', 'd...@blindrebel.com'django ) I have also tried to change this over to use app engines mail api, using from google.appengine.api import mail and then modifying the code appropriately but end up with the same Exception. Any help is GREATLY appreciated! Thanks, Dave

[google-appengine] Modeling Article Error

2008-12-31 Thread dave...@gmail.com
I'm not sure if this is big enough to be posted in the issue tracker, but I noticed a small coding mistake when I was reading the Datastore Modeling article at http://code.google.com/appengine/articles/modeling.html Right at the bottom of the One to Many section, is the following paragraph

[google-appengine] Re: Authorization Tools for App Engine Developers

2008-12-30 Thread Dave Warnock
At $1,000 per application I imagine you are not expecting to sell many copies! -- Dave Warnock: http://42.blogs.warnock.me.uk --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post

[google-appengine] Web app multiple scripts and urls for wsgi

2008-12-23 Thread Dave Warnock
the app.yaml has multiple urls going to different scripts. So far it seems to me that if I have in app.yaml - url: /people/.* script: people.py I am required to have in people.py application = webapp.WSGIApplication([('/people/.*', People)]) Am I correct? Thanks Dave -- Dave Warnock: http

[google-appengine] Re: Web app multiple scripts and urls for wsgi

2008-12-23 Thread Dave Warnock
Many thanks. It would be good to have examples somewhere in the docs of 1 handler in app.yaml being picked up by several wsgi classes (unless it is considered bad practice). Dave PS Sorry for the triplicate message. -- Dave Warnock: http://42.blogs.warnock.me.uk

[google-appengine] Re: The same here

2008-12-15 Thread Dave
Hi there, I got this error multiple times( when i was entering the number wrongly) then finally i got through.. Try entering number like this: my country code is +91 and then 10 digit telephone number i wrote it like +91 XXX XXX hope this helps! Regards Dave On 12/15/08, Bakyt Niyazov

[google-appengine] Re: OpenSocial-gifts application download

2008-12-14 Thread Dave
Hav you solved this problem ... im still facing exactly the same issue Traceback (most recent call last): File /base/python_lib/versions/1/google/appengine/ext/webapp/ __init__.py, line 499, in __call__ handler.get(*groups) File

<    1   2