[google-appengine] Re: documentation for memcache namespaces?

2009-05-05 Thread djidjadji
http://code.google.com/appengine/docs/python/memcache/clientclass.html#Introduction 2009/5/4 Andy Freeman ana...@earthlink.net: Where are memcache namespaces documented? (They're mentioned in http://code.google.com/appengine/docs/python/memcache/functions.html and

[google-appengine] Re: Error 400: app engine + custom domain + /search?q=a|b|c

2009-05-05 Thread Tag++
You are right. /search?q=a|b work fine on google others search engine too, I think the problem placed in ghs.google.com On May 5, 3:15 am, Wooble geoffsp...@gmail.com wrote: RFC1738 requires unsafe characters, including '|', to be urlencoded. Why this works on appspot is a mystery, but I'd

[google-appengine] Re: Error 400: app engine + custom domain + /search?q=a|b|c

2009-05-05 Thread Nick Johnson (Google)
Hi, '|' characters in URLs should be escaped as %7C. Web browsers will do this for you, but if you're constructing URLs yourself, it's up to you to escape them properly. -Nick Johnson --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[google-appengine] Re: Shrink Javascript with Python..?

2009-05-05 Thread David Symonds
On Tue, May 5, 2009 at 4:39 AM, richardcur...@googlemail.com richardcur...@googlemail.com wrote: GWT for example does real obfuscation and the shrinking results are impressive. Especially local variables etc. can be highly obfuscated. JS compilation (as distinct from just obfuscation) really

[google-appengine] email issue with Google Apps e-mail Group

2009-05-05 Thread Sylvain
Hi, Currently it is not possible to send a mail to a Google Apps group. For example, I've a group support@domain.com and I want to send a mail with the GAE e-mail service. In this group, I've 2 users : user_a@domain.com and user_b@domain.com There are 2 issues : - user_a received a mail in the

[google-appengine] Re: Error 400: app engine + custom domain + /search?q=a|b|c

2009-05-05 Thread Tag++
barryhunter, I see what Wooble said. I am a visitor of http://admins.googleapps.com/ I open this site with Firefox browser and input error|400 into the search box which located in top right of screen, and press the Search Site button to submit this query, and I got a response of: Your search

[google-appengine] Re: email issue with Google Apps e-mail Group

2009-05-05 Thread Nick Johnson (Google)
Hi Sylvain, Unfortunately, it's not possible to post to a group from Google App Engine. As you can see from the bounce message, App Engine sets the sender address to an autogenerated 'bounce' address, and it's the sender address that Google Groups checks to verify if a user can post. -Nick

[google-appengine] Re: Error 400: app engine + custom domain + /search?q=a|b|c

2009-05-05 Thread Tag++
Nick Johnson, IE can convert '|' to %7C but Firefox will not! I (a normal visitor) didn't constructing any URL, so this is not Vistor's or Firefox's business, this is Web Server's matter I know some kind of Web Server can handle '|' char, including App Engine, and I am sure something failed on

[google-appengine] Re: email issue with Google Apps e-mail Group

2009-05-05 Thread Sylvain
Just to be cleared : I don't want to send a mail to a Google Group but to a Google Apps group (group for Google Apps For your Domain / e-mail usergroup) I don't understand why it doesn't work because my group is to set public (not team,...) So all e-mail adresses should work. It's an issue to

[google-appengine] Re: Error 400: app engine + custom domain + /search?q=a|b|c

2009-05-05 Thread Nick Johnson (Google)
Firefox will send your URL exactly as you enter it, yes. But if you fill out a form (such as a search box) in Firefox, it will correctly URL-escape the | character for the URL. Internet Explorer behaves in the same manner, so any URL generated by a form will have the | character correctly

[google-appengine] Re: email issue with Google Apps e-mail Group

2009-05-05 Thread Nick Johnson (Google)
Hi Sylvain, The answer is the same: The group is prohibiting posts from a sender address it doesn't recognise. Since you can't change the sender address with the App Engine email API, the only way around this is to change your group's settings to allow posts from non-members, if that's possible.

[google-appengine] Re: Error 400: app engine + custom domain + /search?q=a|b|c

2009-05-05 Thread Tag++
To Nick Johnson, But if you fill out a form (such as a search box) in Firefox, it will correctly URL-escape the | character for the URL Is this real? but my Firefox 3.0.4(Windows XP) or Chrome 1.0.154.59 (Windows XP) always keep the '|' in the address box!!! I have try this test on google

[google-appengine] Add StringProperty to Model without problems with the datastore?

2009-05-05 Thread richardcur...@googlemail.com
Hi, I have a db.model and would like to add 2 db.StringProperties to it. Sadly users already stored thousands of these models in the datastore and I don't want to wipe it clean just to extend my model. Is there a way to do this without breaking my whole app? Perhaps one should write a visual

[google-appengine] Re: Error 400: app engine + custom domain + /search?q=a|b|c

2009-05-05 Thread Nick Johnson (Google)
On Tue, May 5, 2009 at 11:28 AM, Tag++ tagpp.ad...@gmail.com wrote: To Nick Johnson, But if you fill out a form (such as a search box) in Firefox, it will correctly URL-escape the | character for the URL Is this real? but my Firefox 3.0.4(Windows XP) or Chrome 1.0.154.59 (Windows XP)

[google-appengine] Re: Add StringProperty to Model without problems with the datastore?

2009-05-05 Thread Nick Johnson (Google)
Hi Ricky, If your StringProperties are either not required, or supply a default value, you can simply amend your model without trouble. Bear in mind, though, that the properties will not be present on entities that were last updated before you added them, so queries and filters involving the new

[google-appengine] Re: Error 400: app engine + custom domain + /search?q=a|b|c

2009-05-05 Thread Tag++
To Nick Johnson, http://www.google.com/search?hl=enq=error|400+^bad+~request+{goog}+\to+[OR]+`go`btnG=Search http://search.yahoo.com/search?hl=enq=error|400+^bad+~request+{goog}+\to+[OR]+`go`btnG=Search http://en.wikipedia.org/wiki/Special:Search?search=error|400+^bad+~request+{goog}+\to+[OR]

[google-appengine] Re: Error 400: app engine + custom domain + /search?q=a|b|c

2009-05-05 Thread Nick Johnson (Google)
The RFC is clear as to what characters are acceptable in the query string part of a HTTP URL. | is not one of these characters, so if your browser is sending one, it's an issue either with your browser or with your URL encoding. -Nick Johnson

[google-appengine] Re: email issue with Google Apps e-mail Group

2009-05-05 Thread Sylvain
Yes, the group settings ar ok. Everybody can send a mail to this group even if this adress belongs or not to the Google Apps domain. In google app, this group is set to Public(For topics of general interest. Email is unrestricted.) So e-mail is unrestricted and all e-mails (@gmail, @domain,

[google-appengine] Re: email issue with Google Apps e-mail Group

2009-05-05 Thread Nick Johnson (Google)
Hi Sylvain, Even for groups that are marked 'public', they generally require that the sender be a member of the group before they can post. In addition to setting the group as public, you also need to select anyone can post under who can post messages? on the Access tab of the group's settings.

[google-appengine] Re: newbie question - url routing - using urls to make queries

2009-05-05 Thread Nick Johnson (Google)
Hi, loopymonkey, You don't specify which runtime you're working with, and the best way to do this is runtime-specific. In Python, however, if you're using the default webapp framework, you can do this by defining groups in the handler regular expressions; the contents of these groups will be

[google-appengine] Re: email issue with Google Apps e-mail Group

2009-05-05 Thread Sylvain
Yes, this group is correctly parameter. I'm just testing to send a mail to support@domain.com with my gmail adress and many other e-mail adresses (hotmail,... etc,...). And all my tests work. So there is only an issue with mails from GAE. Sylvain On 5 mai, 13:42, Nick Johnson (Google)

[google-appengine] Re: Error 400: app engine + custom domain + /search?q=a|b|c

2009-05-05 Thread Tag++
To Nick Johnson, I am normal visitor now, I didn't do any URL encoding, I use the popular browser, including Chrome from google. I want to making a comparison between popular Web Server(Google Search Server,Yahoo Search Server,Wikipedia.org) and RFC follower (ghs.google.com:

[google-appengine] Re: email issue with Google Apps e-mail Group

2009-05-05 Thread Sylvain
I don't think we are talking about the same thing. You are talking about Post a message. I just want to send a mail Here is a picture about what I'm talking. http://img206.imageshack.us/my.php?image=gappgroup.jpg Sylvain On 5 mai, 13:57, Sylvain sylvain.viv...@gmail.com wrote: Yes, this

[google-appengine] Re: PyCrypto Access

2009-05-05 Thread Nick Johnson (Google)
Hi Dan, Just the same as you would in any other app using PyCrypto: Consult the relevant documentation. PyCrypto puts all the relevant modules under the 'Crypto' module. -Nick Johnson --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[google-appengine] Re: Is logging.debug output available on GAE Development Server?

2009-05-05 Thread David Symonds
On Sat, May 2, 2009 at 11:49 AM, Scott lea...@gmail.com wrote: Basically I want to use logging.debug as I develop my app. When my app is running up on GAE, I can use the console to view logs. I would also like to view logs when I run under the Development Server on my local machine.

[google-appengine] Re: upload_data authentication problem

2009-05-05 Thread Nick Johnson (Google)
Hi John, Are you using a Google Apps account as an administrator? If your app is set to allow authentication from all domains, and you're using a Google Apps account for the administrator account, this is the behaviour you'll see with the bulk loader, even if the same account works fine for

[google-appengine] Re: Best way to implement optimistic locking?

2009-05-05 Thread Nick Johnson (Google)
Hi Andy, If you're only updating a single entity, or multiple entities in a single entity group, you can use db.run_in_transaction to execute the check-and-update atomically. -Nick Johnson --~--~-~--~~~---~--~~ You received this message because you are

[google-appengine] Re: Google account and Google Apps account mixed

2009-05-05 Thread Nick Johnson (Google)
Hi Sorcix, Mobile phone numbers can only be used once, globally, to verify an App Engine account. If you'd previously used your phone number to verify your Apps account, you cannot use the same number to verify a non-apps account. -Nick Johnson

[google-appengine] Re: [How To] - Get a global error handler

2009-05-05 Thread Nick Johnson (Google)
Hi Pranny, google.appengine.ext.webapp.RequestHandler defines a 'handle_exception' method, which gets called for any uncaught exceptions. You can define your exception handling code there, and use standard OO inheritance to define different exception handling behaviour. Then, just have each

[google-appengine] Re: An error occurred for the API request datastore_v3.RunQuery()

2009-05-05 Thread Nick Johnson (Google)
Can you please paste the entire stacktrace? I'm guessing this is probably a datastore timeout - these do happen from time to time, and you need to catch them and deal with them appropriately (for example, by retrying, or returning a nicely formatted error page to the user. -Nick Johnson On Sat,

[google-appengine] Save JSON data as csv files

2009-05-05 Thread 秦锋
Hello: I have use gviz_api to generate JSON data at GAE server side and render them in html pages under Django. Now I want to provide a save as link to save all JSON data into a .csv file, how to proceed? Thanks! --~--~-~--~~~---~--~~ You received this message

[google-appengine] Re: Add StringProperty to Model without problems with the datastore?

2009-05-05 Thread DarkCoiote
I have dealed with the same situation a couple of times, and I used the technique described at: http://code.google.com/appengine/articles/update_schema.html Reading the remote_api article I guess that the main advantage is the removal of timeout limitation (as the code actually runs on your

[google-appengine] Re: documentation for memcache namespaces?

2009-05-05 Thread Andy Freeman
I mentioned that link. It doesn't provide any useful information about what namespaces do. Consider the documentation for set_multi. key_prefix - Prefix for to prepend to all keys. ... namespace - An optional namespace for the keys. What functionality does namespace provide that key_prefix

[google-appengine] DatastoreNeedIndexException: no matching index found after app uploaded to Google

2009-05-05 Thread JY
I have a very simple java web app, tested on local 127.0.0.1, without any problem, but got error on Google. The model is plain pojo, and the function is straight forward ListMyModel results = new ArrayList(); PersistenceManager pm = PersistenceManagerSingeton.instance

[google-appengine] join group-by queries, reports and data warehousing

2009-05-05 Thread bruno.braga
Sorry to raise up this topic again, but I did not find any still opened for my additional questions. I read a lot of information here saying that the way we store/retrieve information in Datastore is particularly designed for high performance and scalability. I hear this a lot in GAE, and I am

[google-appengine] Logging System

2009-05-05 Thread Maralc
Hi, The google team could provide a logging guide? It would be very helpful. I could configure my test app to use the Java Logging API but would prefer to use Log4J. The server already provide the log4j jar? If I want to use it I should include it with my app? How to setup the appenders if we

[google-appengine] Video chat inside application

2009-05-05 Thread Rafael
Hi guys, well, I just started with App Engine and I'd like to know if you can help me with ideias of how to use the Gmail/Gtalk video plugin inside my apps. Or maybe integrate the web chat. Thanks in advance for any help. --~--~-~--~~~---~--~~ You received this

[google-appengine] Uploading App for another person will help market adoption - Is-it possible?

2009-05-05 Thread Michelschr
Hello everyone, After reading the docs and discussions, I still don't find how it will be possible to upload an application for another person Google account... Could someone give me light...? That is the context, as I see it: . Google App Engine is fine, particularly for companies with limited

[google-appengine] Re: different urlfetch behaviour on development and production servers: URLs with the characters: ( or )

2009-05-05 Thread George
Ivan, Your problem looks like a common encoding problem. The default encoding used in server of GAE is ASCII, but something else such as UTF-8 on your computer. So the code works in your development environment but not on Google server. To deal with this problem you need to declare the encoding

[google-appengine] Re: PyCrypto Access

2009-05-05 Thread Devel63
The problem is that I don't see a file or a directory named 'Crypto' anywhere on my system (it's certainly not in google_appengine/lib with antlr3 and django) . Where is it supposed to be? On May 5, 5:04 am, Nick Johnson (Google) nick.john...@google.com wrote: Hi Dan, Just the same as you

[google-appengine] Re: Uploading App for another person will help market adoption - Is-it possible?

2009-05-05 Thread Nick Johnson (Google)
Hi Michel, You can add additional administrators for your app in the control panel, and remove them when you no longer require them there. Failing that, your (hypothetical) contractor can develop the app independently, and simply send it to you to deploy. -Nick Johnson

[google-appengine] Re: google account frustrations

2009-05-05 Thread Ben Nevile
Hi Jason, I am running Safari 4. Clearing cookies doesn't work. I will test Firefox today. I don't think I'm doing anything in particular when I'm redirected. I'd estimate that the amount of time before I'm redirected is about 5-10 mins on average. On May 4, 4:13 pm, Jason (Google)

[google-appengine] Re: PyCrypto Access

2009-05-05 Thread Nick Johnson (Google)
PyCrypto is a third-party library. If it is installed, it will be in your Python install's site-packages directory, not under the App Engine SDK. -Nick Johnson --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google

[google-appengine] DB blob and URL fetch size limitations...

2009-05-05 Thread readyass...@gmail.com
Team Google- Are there any plans to increase the DB blob object and URL fetch object size limitations? My understanding is that both are limited to 1MB which is a little constraining for one application I'm building. I understand that there are workarounds, such as the use of AWS, but for

[google-appengine] Re: Best way to implement optimistic locking?

2009-05-05 Thread Andy
OK. Thanks, that's great. Andy On May 5, 1:41 pm, Nick Johnson (Google) nick.john...@google.com wrote: Hi Andy, If you're only updating a single entity, or multiple entities in a single entity group, you can use db.run_in_transaction to execute the check-and-update atomically. -Nick

[google-appengine] Re: Uploading App for another person will help market adoption - Is-it possible?

2009-05-05 Thread Michelschr
Thanks a lot, I missed this point in the app control panel. Now it works fine! On May 5, 4:52 pm, Nick Johnson (Google) nick.john...@google.com wrote: Hi Michel, You can add additional administrators for your app in the control panel, and remove them when you no longer require them there.

[google-appengine] Re: newbie question - url routing - using urls to make queries

2009-05-05 Thread loopymonkey
that's it. i was using python. Thanks Nick! On May 5, 7:47 am, Nick Johnson (Google) nick.john...@google.com wrote: Hi,loopymonkey, You don't specify which runtime you're working with, and the best way to do this is runtime-specific. In Python, however, if you're using the default webapp

[google-appengine] Re: [How To] - Get a global error handler

2009-05-05 Thread Pranav Prakash
Oh, Thats good. I was unaware of this. Thanks a lot. I will work on this. Cheers :-) Pranav On May 5, 6:15 pm, Nick Johnson (Google) nick.john...@google.com wrote: Hi Pranny, google.appengine.ext.webapp.RequestHandler defines a 'handle_exception' method, which gets called for any uncaught

[google-appengine] Re: Save JSON data as csv files

2009-05-05 Thread 风笑雪
You can not output JSON data as csv directly. Perhaps you need generate a list. http://www.7blog.org/archives/django-step-by-step-102ban-xinbanjiaocheng-csv/ http://docs.djangoproject.com/en/dev/howto/outputting-csv/?from=olddocs 2009/5/5 秦锋 feng.w@gmail.com Hello: I have use gviz_api

[google-appengine] How to iterate a json string using dictionary

2009-05-05 Thread arnie
I am getting a json string from an iphone application that is consuming a google app engine application. Can anybody let me know how to iterate over a json string using a dictionary so that I can extract individual fields of the string Thanks Arnieterm

[google-appengine] Re: PyCrypto Access

2009-05-05 Thread Devel63
What?? How does this reconcile with the 1.2.1 announcement: App Engine includes a custom version of the Python Cryptography Toolkit, also known as PyCrypto. The version included with App Engine is based on pycrypto 2.0.1. This is not the latest version, but should be largely

[google-appengine] Re: PyCrypto Access

2009-05-05 Thread David Wilson
Seems there is native code there for various ciphers and hashes. Just include the Python parts of PyCrypto in your project. Try running: [ x for x in sys.modules.keys() if 'ypt' in x ] on http://shell.appspot.com David 2009/5/5 Devel63 danstic...@gmail.com: What??  How does this

[google-appengine] Re: Some design Issues in appengine datastore

2009-05-05 Thread vijay
Thanks all for your suggestions,I am trying different ways and reading about various design patterns that can be used, I will update the thread once i am done with some more work on this. On Sun, May 3, 2009 at 11:17 PM, ryan ryanb+appeng...@google.comryanb%2bappeng...@google.com wrote: also

[google-appengine] Re: join group-by queries, reports and data warehousing

2009-05-05 Thread ryan
hi bruno! thanks for the post, this is a great question. the short answer is that the datastore simply doesn't support data warehouse or data mining well. it's doable, but far from ideal, for the reasons you've mentioned. it's aimed at serving webapps, which it's good at, but not at ad hoc

[google-appengine] Sagar T.R. wants to chat

2009-05-05 Thread Sagar T.R.
--- Sagar T.R. wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-a225ac5ae0-e75f3fc856-cb452dab5795851f You'll need to

[google-appengine] Re: PyCrypto Access

2009-05-05 Thread Wooble
The libraries are installed on the App Engine production servers. They are not part of the SDK, so they're not on your machine unless you installed them, the same as the other third party libraries usable with App Engine. On May 5, 1:38 pm, Devel63 danstic...@gmail.com wrote: What??  How does

[google-appengine] Re: Sagar T.R. wants to chat

2009-05-05 Thread Tudor Constantin
hmmmlooks like some people really crave for attention On Tue, May 5, 2009 at 10:47 PM, Sagar T.R. sagarshreevaish...@gmail.com wrote: --- Sagar T.R. wants to stay in better touch using some of Google's coolest new

[google-appengine] Re: PyCrypto Access

2009-05-05 Thread Devel63
OK, I hear what you all are saying: I need to install the libraries on my dev server, but not upload them to my workspace because they will already be accessible there. However, I don't know why people on this thread keep saying that this is the way it works with all the other 3rd party

[google-appengine] http://appgallery.appspot.com ???

2009-05-05 Thread richardcur...@googlemail.com
http://appgallery.appspot.com - Is it dead or why does the featured application not chaning? Always the GiftTag app. It is ok, but shouldn't we be presented with new apps every week? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[google-appengine] structure of appengine application

2009-05-05 Thread Rishtal
Hi, First of all, I'd like to say i've learned a lot in this group. Thanks for all the great insight. I am developing a web app and wanted to know what is the best way to structure my development. I want to get the data/schemas done first. I've started to write my models.py. But how to write

[google-appengine] Re: PyCrypto Access

2009-05-05 Thread Devel63
Doesn't seem to work on http://shell.appspot.com I can import a module (e.g., from Crypto.Cipher import DES), but when I try to use it I get all sorts of errors about not being able to pickle it (e.g., obj=DES.new('abcdefgh', DES.MODE_ECB). I picked those 2 lines (and others) because they are

[google-appengine] Re: Check Domain Availability

2009-05-05 Thread MajorProgamming
No, I was actually looking for an api for my app to use to check if a domain is available On May 4, 7:05 pm, Jason (Google) apija...@google.com wrote: If you're looking for an appspot.com domain, which all App Engine applications are served from, then you'll need to register for and sign into

[google-appengine] Using PyCrypto

2009-05-05 Thread Devel63
Has anyone used PyCrypto successfully with App Engine (http:// code.google.com/appengine/docs/python/tools/libraries.html#PyCrypto)? I've run into 2 obstacles - 1) Since there's no distribution with App Engine SDK, does anyone know a safe source of the library for use on a Windows development

[google-appengine] store files to datastore in a folder like structure?

2009-05-05 Thread Shedokan
I am porting my WebOS(Shedokan OS) to python from php so I can use it og GAE and I came to the stage where I need to read and write files. And after a lot of searching I found out that I cannot create files or write to files. here is my code: from google.appengine.ext import db class

[google-appengine] Re: documentation for memcache namespaces?

2009-05-05 Thread djidjadji
It says: To be compatible with other memcache implementations they allow parameters and functions that have no meaning --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group,

[google-appengine] passing a variable value from html file to views.py

2009-05-05 Thread Aaron
HI, I need help on passing a variable from the html file to views.py what I am doing is making a ad system. Currently working on making a clicks per ad count. So I have it structured like this: Their is 2 files: views.py and context.py context.py this files job is to send variable values

[google-appengine] Re: PyCrypto Access

2009-05-05 Thread Tim Hoffman
Hi The approach makes heaps of sense PIL, Imaging support is done the same way, you need PIL installed locally to support the limited image api, and google have a service that performs the same thing in their infrastructure. They won't let you run the full pycrypto library as it has lot of 'c'

[google-appengine] Re: store files to datastore in a folder like structure?

2009-05-05 Thread Tim Hoffman
You will need to create a Folder entity It will need to know it's children, and you will need to support some form of url traversability to walk the folder heirarchy. I am doing that with zope3 components on gae Django doesn't normally do url traversing, but has a regex match to method Do you

[google-appengine] Re: Error 400: app engine + custom domain + /search?q=a|b|c

2009-05-05 Thread Stephen
On May 5, 11:13 am, Nick Johnson (Google) nick.john...@google.com wrote: Google's servers returning a 400 for URLs containing an unescaped | character is not a bug in the server - they're correctly obeying the relevant RFCs. By this definition, you are claiming that the main google.com

[google-appengine] PyCrypto Working?

2009-05-05 Thread Devel63
Has anyone gotten the new support for PyCrypto to work? (http:// code.google.com/appengine/docs/python/tools/libraries.html#PyCrypto) When I try it on http://shell.appspot.com, I get error messages about pickling. - from Crypto.Cipher import DES - obj=DES.new('abcdefgh', DES.MODE_ECB)

[google-appengine] Re: different urlfetch behaviour on development and production servers: URLs with the characters: ( or )

2009-05-05 Thread Matt Trinneer
Hi George, Thanks for the response. I've done some additional testing and am not getting much further. Unfortunately in this case I do not have control of the endpoint and am stuck with braces in the URL. Some additional notes which may be of use to anyone who happens upon this: 1. The URLs

[google-appengine] Re: Error 400: app engine + custom domain + /search?q=a|b|c

2009-05-05 Thread Tag++
Like others general visitors, I often copy a url from address box and share to friends If you submit a search by click 'Search' button, Firefox will escape '|' to '%7c' and send to Web Server, but it will keep '|' remain in the address box If you paste 'error%7C400' to Firefox and press enter

[google-appengine] You haven't set the DATABASE_ENGINE setting yet

2009-05-05 Thread Howard
I suddenly started to get this error... but never changed this setting. This error is critical and causing my entire site to crash. The DATABASE_ENGINE was set to 'dummy'. I have also tried to set it to 'appengine', neither seems to be working.

[google-appengine] Re: different urlfetch behaviour on development and production servers: URLs with the characters: ( or )

2009-05-05 Thread Matt Trinneer
Having some luck... By using urllib2 instead of urlfetch I am able to load the same URLs on the production server without any issue. Not really a solution per say but it gets the job done. Appreciate everyone's feedback. On May 5, 10:29 pm, Matt Trinneer matt.trinn...@gmail.com wrote: Hi

[google-appengine] Re: store files to datastore in a folder like structure?

2009-05-05 Thread Pranav Prakash
class Folder(db.Model): name = db.StringProperty() subfolders = db.ListProperty(File) parent = db.SelfReferenceProperty() This is how folder can be implemented. A folder must know what all files are child. Also a folder must know the parent folder (folders in case of cyclic dir

[google-appengine] Re: structure of appengine application

2009-05-05 Thread Pranav Prakash
You can look at following resources and their source code to under stand more * OpenSource projects on AppEngine http://groups.google.com/group/google-appengine/web/google-app-engine-open-source-projects?hl=en * Google AppEngine's Sample Apps http://code.google.com/p/google-app-engine-samples/

[google-appengine] Re: How to iterate a json string using dictionary

2009-05-05 Thread Pranav Prakash
You need to use a JSON library for Python. Here is a good one that i have found, and using for quite sometime. http://code.google.com/p/google-app-engine-samples/source/browse/trunk/geochat/json.py Also, refer to the Application's source code to understand how to use this

[google-appengine] Re: How to iterate a json string using dictionary

2009-05-05 Thread arnie
I am getting a very simple json string that contains only 14 elements Can't we use python dictionary to extract the elements of json? Thanks Arnie --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine

[google-appengine] Re: How to iterate a json string using dictionary

2009-05-05 Thread 风笑雪
json = '{element1: haha, element2: 123}' d = eval(json) print d['element1'], d.['element2'] 2009/5/6 arnie parvez...@rediffmail.com I am getting a very simple json string that contains only 14 elements Can't we use python dictionary to extract the elements of json? Thanks Arnie