Hi
I didn't really consider pickling. I am limited to the blob size
then. Which for both json and pickle would probably be about 5000
items which is the limit for number of items on a list.
Also can invisage that unpickling or parainf a large json object would
be slow when the number of
Why simplejson instead of pickle?
On Oct 27, 10:26 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> The JSON bit was primarily to work around the 1000 item result set
> limit. Since simplejson already exists on appengine, was just easier
> for me to use json to store those data sets that grow
Hello All,
My directory hierarchy is ImageSearch/Images/addFavorites.jpg
ImageSearch being my root directory.
All Images work fine and show up on localhost, when the same is
uploaded and run from the appserver, the images fail to show up.
Instead the alt text shows up.
Could anybody advice me o
I should mention also that when I try to create a token with the
following URL, I receive an Invalid Sub Auth Token error:
http://docs.google.com/feeds/documents/private/full
Thanks again,
Jeff.
On Oct 28, 1:20 am, jeffkwiat <[EMAIL PROTECTED]> wrote:
> I am working through the Authentication t
I am working through the Authentication tutorial at
http://code.google.com/appengine/articles/gdata.html. I am able to
get the token upgraded to a Session Token, but when I execute the
following code:
feed_url = 'http://docs.google.com/feeds/'
response = client.Get(feed_url, conv
Thanks. We're still getting some timeouts but hopefully moving a bit
more over to memcache will do the trick. We still get hiccups now and
then where the server doesn't act as we'd hope which I think is either
due to the timeouts we have remaining to fix or simply getting the
game logic to work
write to the output buffer instead of printing:
self.response.out.write(_decrypt(content))
On Oct 26, 10:53 pm, millken <[EMAIL PROTECTED]> wrote:
> result = urlfetch.fetch(pageurl)
> content = result.content
> print _decrypt(content)
>
> the content(json) was encrypted,
>
> print header:
> HTTP
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
I just tested rfc 2184. It seems only firefox support it.
On Oct 27, 10:24 pm, yejun <[EMAIL PROTECTED]> wrote:
> Check section 4 of rfc 2184. It seems you need to specify the encoding
> type on the value it self, because Content-Disposition itself only
> support us ascii encoding.
>
> http://www
Much simpler would be to always declare a parent when creating the
original object. Since the parent need not exist, it might be possible
to do this without even creating the parent (the Model docs say you
can declare a parent using a Key object - can you create a Key object
without creating a mod
Check section 4 of rfc 2184. It seems you need to specify the encoding
type on the value it self, because Content-Disposition itself only
support us ascii encoding.
http://www.ietf.org/rfc/rfc2183
http://www.ietf.org/rfc/rfc2184
On Oct 27, 10:08 pm, Sergey Klevtsov <[EMAIL PROTECTED]> wrote:
>
You can at least use iso-8859-1 encoding to use 256 of it.
On Oct 24, 11:09 pm, jeremy <[EMAIL PROTECTED]> wrote:
> for what it's worth - the behind the scenes str->unicode conversion
> which the api performs does indeed make it impossible to use the full
> 8*500 bits afforded a StringProperty...
Well, I tested on 14 files of different types (doc txt zip gif jpg pdf
xls). 7 of them, which contained only ascii-characters, were
downloaded with Content-Disposition header. 7 other, which included
non-ascii (cyrillic, specifically) letters - without the header. So
this seems to be the problem (
here it is on the issue tracker:
http://code.google.com/p/googleappengine/issues/detail?id=818
--~--~-~--~~~---~--~~
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-a
It was clear that if I can have a criteria that would return a result
set starting with the 1001 row than the problem would be solved. But,
if you read my question you'll notice that I was clearly referring to
result sets that have more than 1000 results. Anyways, I do believe
that my understandin
The new object's key path will get longer and longer and eventually
over the limit. Also you need to know all its previous keys to be able
to retrieve it by key name.
I think the best practice to change primal key is create an
intermediate transaction log object which belongs to old entity group
Does anyone know where I can find the source code for the article
entitled "Retrieving Authenticated Google Data Feeds with Google App
Engine"? I am trying to successfully log into App Engine in order to
use the Calendar API, but I can't seem to figure out how to actually
pull the data from the f
Hi Jeff,
On 27 Okt., 19:34, Jeff S <[EMAIL PROTECTED]> wrote:
> > How are we supposed to work with list properties if they kill our app
> > even with just a few entries? I thought that if 5000 index entries per
> > entity is the limit then we can easily work with, say, 3000 index
> > entries. Is
> If there is no index which uses the list property, then there is no
> additional overhead in terms of indexes from updating lists.
Hi Jeff,
Does this mean that a ListProperty does not have the implicit index
that every property has?
That is what I understand when I read the manual about explod
Why not put the parameters in the return URL you give to
users.create_login_url()
http://code.google.com/appengine/docs/users/loginurls.html
users.create_login_url("/foo/?param1=qwe¶m2=rty")
--~--~-~--~~~---~--~~
You received this message because you are subscrib
You can't use static files in your .py code. They are stored differently.
This way you can't fetch the code that makes the application by
geussing filenames.
Maybe a solution to people who don't make backups before the laptop crashes.
Make a copy of your non static files in a static directory, pr
I started playing around with a solution this weekend, and trying to
make it safe for concurrent users but still fast is definitely the
tricky part. My goal is to limit the need for transactions to the
lower parts of the tree in the majority of cases.
On Oct 27, 2:38 pm, Ben Nevile <[EMAIL PROT
I like Azure's blobs/tables/queue, like AWS, to handle different sized
data.
It looks like you can access different datastores from an app.
When you get a data service timeout, you get partially completed data
and a token to resume the operation. I think that's a good idea.
No pricing or free
as Andrew mentioned, Azure Storage and SSDS are very BigTable like.
SSDS seems to have more querying capabilities but I guess we'll have
to test the performance. Both can also store blobs up to 50GB in size.
Worker Roles are nice, long running processes that are fed by a queue.
Web Roles (like GA
Could someone at Google please add me manually?
I read that is possible on another post...
Thanks, I would like to get started soon.
Rob
On Oct 22, 10:53 am, HG <[EMAIL PROTECTED]> wrote:
> I tried signing up about a week ago
> Canadian - Rogers phone account.
>
> I entered
> +1 807 474 myown
Or, if you're talking about SSDS (SQL Server Data Services) already, be
aware, they're a BigTable clone ...
On Mon, Oct 27, 2008 at 3:03 PM, jeremy <[EMAIL PROTECTED]> wrote:
>
> I'm only skimming the description but i think the more familiar
> relational sql storage will appeal to many people
Don't forget SSDS, which gives you the same horizontal EAV setup of BigTable
... I can't imagine that won't become part of MS' official cloud offering.
On Mon, Oct 27, 2008 at 3:03 PM, jeremy <[EMAIL PROTECTED]> wrote:
>
> I'm only skimming the description but i think the more familiar
> relatio
I'm only skimming the description but i think the more familiar
relational sql storage will appeal to many people.
On Oct 27, 11:16 am, "Andrew Badera" <[EMAIL PROTECTED]> wrote:
> So, what's the GAE take on the MS Azure announcement at PDC today?
>
> Is it going to be competitive, or not even in
Dear All,
I am interested in knowing about,
Chapter 8, Managing Code, shows how your project code base can be managed
with distributed instead of centralized version control and explains how to
set up continuous integration.
Chapter 9, Managing Life Cycle, presents how to manage software life cyc
I don't see .Net as a priority for GAE, or even very likely. To think it is
assumes there is more value in adding .Net than not. This is not a cheap
shot at the .Net crowd, which I have a lot of respect for. The truth is that
AppEngines greatest value to Google (from my standpoint) is creating
comp
Hi Peter,
Thanks first for re-stating the problem with more precise language!
As for your solution, sharding into many different ranking groups is
an interesting approach. One could imagine maintaining a tree of
ranking groups; searching/inserting/querying would require log N reads/
writes. Al
Hi Waldemar,
On Oct 25, 2:57 am, Waldemar Kornewald <[EMAIL PROTECTED]> wrote:
> Hi Jeff,
>
> On 25 Okt., 00:40, Jeff S <[EMAIL PROTECTED]> wrote:
>
> > The average CPU per request numbers on the dashboard are composed of
> > CPU used in executing your code (runtime) and API calls (datastore,
> >
I'm mostly in agreement with Lex here. Bytecode isn't a "highly-
optimized" format. In fact, most Java compilers do almost no
optimizations on the bytecode they generate. This makes the job of
"understanding the code" easier on the JIT. I think this is fairly
self-apparent when you recognize that
On Mon, Oct 27, 2008 at 1:59 PM, Toby Reyelts <[EMAIL PROTECTED]> wrote:
>
> I'm mostly in agreement with Lex here. Bytecode isn't a "highly-
> optimized" format. In fact, most Java compilers do almost no
> optimizations on the bytecode they generate. This makes the job of
> "understanding the cod
So, what's the GAE take on the MS Azure announcement at PDC today?
Is it going to be competitive, or not even in the same ballpark?
Will it force the GAE team to spend extra effort on a .NET implementation
for GAE?
Thanks-
- Andy Badera
- [EMAIL PROTECTED]
- (518) 641-1280
- http://highereffic
I have the same problem, did you find an answer ?
On 10 oct, 21:04, Lakshmi <[EMAIL PROTECTED]> wrote:
> Hello,
>
> If we take the following example:
>
> Comment
> - post (reference to Post)
> - text
> - author
>
> where comments that are responded to become parents of other comments,
> ho
How can i write an get hyperlink under an image with google app-engine?
--~--~-~--~~~---~--~~
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.co
Dear Developers,
I am new to python. I read thro' the Getting Started guide and learnt the
fundamentals for webapp framework used by google. It dragged my interest to
develop sample applications thro' python. I observed that, I am not using
any best practices in structuring the packages and separat
Hi,
This refers to gambling services, news relating to gambling is fine.
-Marzia
On Mon, Oct 27, 2008 at 4:37 AM, TonyB <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm just looking for a little clarification on the Terms of Service.
>
> The Program Policies (http://code.google.com/appengine/
> progr
Hi,
A couple of questions and suggestions.
First, what is your full PYTHONPATH? What is the in the directory
helloworld.py, and are there any permissions issues with the files in the
directory (like not being set to readable by the dev_appserver)?
Does the result change if you run this explicitl
It's not unsafe, but depending on the size/shape of your entity groups can
be unsightly and lead to very long URLs.
-Marzia
On Mon, Oct 27, 2008 at 10:35 AM, ctran <[EMAIL PROTECTED]> wrote:
>
> Are you saying it's not safe to use str(obj.key()) in the url?
>
> On Oct 27, 11:20 am, "Marzia Nicco
Are you saying it's not safe to use str(obj.key()) in the url?
On Oct 27, 11:20 am, "Marzia Niccolai" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Thanks for the report. Let this be a lesson that using the raw key string
> in a URL is not the best idea, it's better to go with a key_name or key_id
> :)
>
The JSON bit was primarily to work around the 1000 item result set
limit. Since simplejson already exists on appengine, was just easier
for me to use json to store those data sets that grow beyond 1000
entities and the convert them to dictionaries to parse.
On Oct 27, 10:40 am, "Paul Kinlan" <[EM
Hi Baryon,
What is the app id and the email of the developer you tried to invite? You
can reply to me directly if you don't wish to post this information on the
group, and I can help you troubleshoot the issue.
-Marzia
On Mon, Oct 27, 2008 at 9:39 AM, baryon <[EMAIL PROTECTED]> wrote:
>
> I ma
Hi,
Can you give an example of the types of filenames with which this is
occurring so I can try to replicate it?
We should allow you to set the content-disposition header, so if it's not
being included, it may be that we incorrectly think it's malformed in some
way.
-Marzia
On Mon, Oct 27, 2008
I make an app with my domain http://www.urchain.com.
I need admin account to edit my products, so write code like
admin = users.is_current_user_admin();
if not admin:
# create login url
login_url = users.create_login_url('/admin')
self.redirect(l
You shouldn't need cgi.escape(), either:
class MainPage(webapp.RequestHandler):
def get(self):
data = self.request.get('123xyz')
self.response.headers['Content-Type'] = 'text/plain'
self.response.out.write('Hello world! ' + data)
http://localhost:8080/?123xyz=blah%20blah
-- Dan
On
Hi,
App Engine does not support mapping to subdomains. You can map your
complete app to a subdomain, but not specific handlers to a subdomain.
-Marzia
On Sun, Oct 26, 2008 at 7:30 PM, killer barney <[EMAIL PROTECTED]> wrote:
>
> I'm a bit confused on how I can configure subdomains on an app en
Hi David,
Your app is experiencing a dealine exceeded error, meaning that is did
not receive a response to the HTTP request within the alloted time. Is
this an error you are seeing consitently?
Cheers,
Jeff
On Oct 24, 6:56 pm, David <[EMAIL PROTECTED]> wrote:
> I wrote a simple application usi
Hi,
Thanks for the report. Let this be a lesson that using the raw key string
in a URL is not the best idea, it's better to go with a key_name or key_id
:)
Also, write your applications so they can recover from such errors :)
I'm working on some fixes for the cookbook (including prettier URLs),
Hi Emi,
Just set the app authentication to your Google Apps domain when you create
your application. More details can be found here:
http://code.google.com/appengine/articles/auth.html
-Marzia
On Sun, Oct 26, 2008 at 11:29 AM, emigal <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'd like to know i
The object interface is intended to be similar to the Python interface to
Danga Interactive's Memcache. The equivalent functions are for convenience,
since the object doesn't need to maintain state, like a connection to a
particular Memcache server. No other differences that I'm aware of.
-- Dan
result = urlfetch.fetch(pageurl)
content = result.content
print _decrypt(content)
the content(json) was encrypted,
print header:
HTTP/1.0 200 Good to go
Server: Development/1.0 Python/2.5.2
Date: Mon, 27 Oct 2008 05:15:53 GMT
{"result":"1","reason":null,"content":"[{\"ID\":8287,\"Productid\":
\"
Ok, I sniffed the traffic between my browser and my app on gae, this
is what returned on file request:
HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Type: application/octet-stream; charset=utf-8
Date: Mon, 27 Oct 2008 15:39:00 GMT
Server: Google Frontend
Content-Length: 2022
Google server dele
so datastore maintains a sorted table for Nevile's ranks, but I assume
these tables don't themselves maintain the index of each entry since
that would mean each insert would require an update of every
proceeding entry?
peter's approach sounds promising. it would be nice to hear from
someone at go
Hi,
JSON might work, but it is probably overkill. I was planning on maintaining
an inverted index like structure and do some simple set based operations on
the data, a ListProperty would have been ideal as AFAIK the data has its
order maintained in the list and searching the list would have been
My workaround for a case like this, as suggested by another member of
this group, was TextProperty with JSON encoded data.
On Oct 27, 10:25 am, "Paul Kinlan" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Thanks for the information. It is good to know. For what I need I
> potentially need more than 5000
Hi,
Thanks for the information. It is good to know. For what I need I
potentially need more than 5000 items so I will probably have to think of
another way of doing it.
Cheers and Thanks,
Paul
2008/10/27 Waldemar Kornewald <[EMAIL PROTECTED]>
>
> Hi Paul,
>
> On Oct 26, 9:49 pm, "Paul Kinlan
Greetings,
Is the reason there are two Memcache APIs, one for the Memcache
client, one for calling the functions directly, just having one that's
more OO than the other? Are there any use-cases for preferring one
vs. the other? It looks at first glance like Client is just a wrapper
around the f
XMLHttpRequest
(it works for things other than XML)
On Mon, Oct 27, 2008 at 1:51 PM, TonyB <[EMAIL PROTECTED]> wrote:
>
> Thanks,
>
> So there's no way to do it without using a hidden form?
>
> Cheers.
>
> On Oct 27, 1:45 pm, "Barry Hunter" <[EMAIL PROTECTED]>
> wrote:
>> not really appengine sp
Thanks,
So there's no way to do it without using a hidden form?
Cheers.
On Oct 27, 1:45 pm, "Barry Hunter" <[EMAIL PROTECTED]>
wrote:
> not really appengine specific, but
>
>
>
>
>
> click me
>
> On Mon, Oct 27, 2008 at 1:35 PM, TonyB <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > This may be a
not really appengine specific, but
click me
On Mon, Oct 27, 2008 at 1:35 PM, TonyB <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> This may be a silly question...
>
> How can I send an HTTP POST request without filling in a form?
>
> I can't figure out how I can add variables.
>
> Thanks,
> Tony.
>
Hi,
This may be a silly question...
How can I send an HTTP POST request without filling in a form?
I can't figure out how I can add variables.
Thanks,
Tony.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google
You are correct that the best way to get around key restrictions on
starting with digits is to add some string prefix. However, the
problem with this code is that you also need to take care when
modifying the uid for a user. There is no way to change a datastore
key. Instead, you would have to cre
Hi,
I'm just looking for a little clarification on the Terms of Service.
The Program Policies (http://code.google.com/appengine/
program_policies.html) state
"The Content displayed and/or processed through your Application or
other web site utilizing the Service shall not contain any of the
fo
Your sms_issues form at the url below fails with "There were errors:
Comments"
http://appengine.google.com/waitlist/sms_issues
I tried 1XX, +1XX, +1-XXX-XXX- (with my cell
number in place of the X's, of course). Nothing worked, and now the
system won't let me use my number an
Interesting idea! Could you file it in the Issue Tracker so we don't
lose track of it?
On Oct 25, 6:09 am, jeremy <[EMAIL PROTECTED]> wrote:
> for what it's worth - the behind the scenes str->unicode conversion
> which the api performs does indeed make it impossible to use the full
> 8*500 bits a
Hi Paul,
On Oct 26, 9:49 pm, "Paul Kinlan" <[EMAIL PROTECTED]> wrote:
> Is the limit to the number of items in a ListProperty 1000? I ask because
> the limit to the number of results in a Query is 1000 and if the data in the
> list is stored as seperate entities in the index I am assuming that t
you need to enclose that in a class like the examples you've been
reading,
and enclose that line, specifically on a get method. let's say for
example you named the class as "MainPage" in the above example , then
it must be mapped in "/" like
---
from google.appengine.ext.webapp import Req
I've been reading through the documentation a little bit more
carefully and decided to try this:
from google.appengine.ext.webapp import Request
test = Request.get(test)
and I get an error message about how something is insufficient...
On Oct 26, 7:01 pm, jeremy <[EMAIL PROTECTED]> wrote:
> Ar
70 matches
Mail list logo