http://code.google.com/appengine/docs/python/memcache/clientclass.html#Introduction
2009/5/4 Andy Freeman :
>
> Where are memcache namespaces documented? (They're mentioned in
> http://code.google.com/appengine/docs/python/memcache/functions.html
> and http://code.google.com/appengine/docs/python
The third url search on admins.googleapps.com is:
http://admins.googleapps.com/system/app/pages/search?q=error|400
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send
hasn't Wooble already told you why this is happening?
- and that should be enough to work out how to fix it.
On May 5, 12:57 am, "Tag++" wrote:
> Hi,all
>
> Please copy this three url to the address box and press enter, don't
> click to open it from here.
>
> http://www.google.com/search?q=%
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 wrote:
> RFC1738 requires unsafe characters, including '|', to be urlencoded.
> Why this works on appspot is a mystery, but I'd guess having it fail
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 t
On Tue, May 5, 2009 at 4:39 AM, 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 works best
as an offline pr
Hi,
Currently it is not possible to send a mail to a Google Apps group.
For example, I've a group "support@.com and I want to send a
mail with the GAE e-mail service.
In this group, I've 2 users : user_a@.com and
user_b@.com
There are 2 issues :
- "user_a" received a mail in the spam box : "Del
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
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 Johns
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 g
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 user&group)
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 is
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 escaped.
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.
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 sea
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 to
On Tue, May 5, 2009 at 11:28 AM, Tag++ 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) always keep th
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
To Nick Johnson,
http://www.google.com/search?hl=en&q=error|400+^bad+~request+{goog}+\to+[OR]+`go`&btnG=Search
http://search.yahoo.com/search?hl=en&q=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]
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
--~--~-~--~~~---~--~~
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, @,
@yahoo
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
setti
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
pass
Yes, this group is correctly parameter.
I'm just testing to send a mail to support@.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)"
wrote:
>
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: admins.googleapps.co
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 wrote:
> Yes, this group is correctly param
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 t
On Sat, May 2, 2009 at 11:49 AM, Scott 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. Possible?
Pass th
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 other
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 subscribed
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
--~--~-~--~~~---~--~--
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 Handl
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,
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 be
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 mach
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
d
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
List results = new ArrayList();
PersistenceManager pm = PersistenceManagerSingeton.instance
().getPersistenceMa
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 su
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 c
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 me
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
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 i
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)"
wrote:
> Hi Dan,
>
> Just the same as you would in any other ap
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
--~--~-~--~~
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)" wrote:
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
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 simpl
OK. Thanks, that's great.
Andy
On May 5, 1:41 pm, "Nick Johnson (Google)"
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 Johnson
--~--~-
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)"
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.
>
> Failing that,
that's it. i was using python. Thanks Nick!
On May 5, 7:47 am, "Nick Johnson (Google)"
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 framework, you ca
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)"
wrote:
> Hi Pranny,
>
> google.appengine.ext.webapp.RequestHandler defines a
> 'handle_exception' method, which gets called for any uncaught
> exceptions. You c
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 秦锋
>
> Hello:
> I have use gviz_api to generate JSON da
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
--~--~-~--~~~---~
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 compatib
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 :
>
> What?? How does this reconcile with the 1.2.1
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
> wrote:
>
> also take a look at polymodel:
>
> http://code.google.com
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 report
---
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 click
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 wrote:
> What?? How does this reconcile with t
hmmmlooks like some people really crave for attention
On Tue, May 5, 2009 at 10:47 PM, Sagar T.R.
wrote:
>
> ---
>
> Sagar T.R. wants to stay in better touch using some of Google's coolest new
> products.
>
> If you already
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 libraries
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 G
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 vi
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 st
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)" 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
> App Engine and
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 mac
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 File(db.Mo
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,
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
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'
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 r
On May 5, 11:13 am, "Nick Johnson (Google)"
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 search
server is wro
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)
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 b
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 to
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.
--~--~-~--~~~---~--~---
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 wrote:
> Hi George,
>
> Thanks for the
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 structure)
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/
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
http://code.google.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
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" gr
json = '{element1: "haha", element2: 123}'
d = eval(json)
print d['element1'], d.['element2']
2009/5/6 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
> >
>
--~--~-~--~---
Hi Guys,
I might be being silly here, I am trying a query through the DataViewer that
is along the lines of:
SELECT * FROM SearchCampaigns WHERE priority = True and finished = False and
next_update < '2009-05-06 06:08:37' ORDER BY next_update
The problem I am seeing is that it returns values whe
82 matches
Mail list logo