iso8859-1 should be able to decode any char, but I guess there's a bug
in code which caused implicit unicode conversion.
On Oct 14, 12:44 am, Nishu <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am trying to develop a screen scraping application using the google
> Webapp framework. The application par
Thanks for replying
Actually the html data that I am parsing is being rendered with UTF-8
encoding so I tried setting the default encoding as UTF-8. Just for
your information I would like to tell you that I am trying to parse
google's search results which is rendered with UTF-8 encoding. Is
there
Google search has json-p interface which is used for ajax search api.
But the term of use of the data and protocol is very restrictive.
http://googleajaxsearchapi.blogspot.com/
On Oct 14, 3:35 am, Nishu <[EMAIL PROTECTED]> wrote:
> Thanks for replying
>
> Actually the html data that I am parsin
Timeouts can happen on even the simplest of datastore operations. As
I understand it when a timeout does occur on a transaction (including
a single put as there is a transaction there underneath) there is a
lot of extra processing due to retry attempts.
On Oct 13, 11:40 pm, Roy Leban <[EMAIL PRO
Thanks a lot i got it.. ;-)
--~--~-~--~~~---~--~~
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,
Ok ... I had changed my dns hosting (enom) ...
"@" make a url redirect to http://www.manatlan.com
and in Gapps, it handle only www.manatlan.com (not the naked domain
anymore)
It seems it works better ... (access to manatlan.com or www.manatlan.com
are speeder now)
so, when i try to go to http://
I just created my own ModelMultipleChoiceField class by copying and
pasting and changing up some stuff in the ModelChoiceField.
On Oct 13, 3:42 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> So below I have a snippet of my model form code. I was wondering does
> anyone know the correct form
On Oct 14, 5:05 pm, "David Symonds" <[EMAIL PROTECTED]> wrote:
> 2008/10/14 Arun Shanker Prasad <[EMAIL PROTECTED]>:
>
> > Definitely and an IMPORTANT one
> > None of us want to loose our code..
>
> If you don't want to lose your code, make your own arrangements. Use
> source control, such a
as a note, its fine if it is 3,2,4. as long as its always 3,2,4.
On Oct 14, 3:00 pm, "David Wilson (entertainment cloud)"
<[EMAIL PROTECTED]> wrote:
> Another day, another question:
>
> Are fetch results returned in a consistent order when sorting on
> values that are the same.
>
> ie
>
> if my
Apologies if this is a simple question, I'm still a python / GAE
novice. Is it possible to subclass the User class? I have just a
couple of extra properties and I'd like to store with User and rather
not create a duplicated UserOfMyApp class that includes a user as a
property if I can just subclas
I am having the same problem when defining a join model between two
models... because they "depend" on each other, but in my case is a
problem related to how Python "imports" classes (I am using "import"
to pull in models definitions that are in different files). Does the
code that you posted all
I'm having problems uploading data to previously loaded tables.
I get the following error.
I'm on windows xp some tables load ok. All load up ok on my localhost.
Any ideas?
I get the following error.:
C:\Google_apps>python "C:\Program Files\Google\google_appengine\tools
\bulkload_client.py"
--f
c:\>ping www.bitpoll.net
Pinging ghs.l.google.com [64.233.179.121] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
c:\>ping ghs.l.google.com
Pinging ghs.l.google.com [64.233.179.121] with 32 bytes of data:
Request timed out.
Request timed out.
Hi,
In an application I build I sometimes need to check on a page, but it
is enough for me (and presumably much faster) if I could read its
latest copy from Google Cache.
Is there a way to fetcha page from Google Cache programmatically?
Thanks!
--~--~-~--~~~---~--~-
I'm a user of China mobile, so I can't receive verification code,
could you help me to get the verification code please?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this grou
Hi,
In an application I build I sometimes need to check on a page, but it
is enough for me (and presumably much faster) if I could read its
latest copy from Google Cache.
Is there a way to fetcha page from Google Cache programmatically?
Thanks!
--~--~-~--~~~---~--~-
App Engine にて、不明点がありますので投稿させて頂きました。
【不明点】
App Engineを使用した外部ファイルの取込と取出が可能でしょうか?
例:Aさんが、App Engineにて作成したAPPを使用して自端末上のファイル
(テキスト、word、excel、pdf等)をAppEngineサーバ(DataStoreAPI等を使用)に取り込む。
続いてBさんが、同APPを使用してそのファイルを取り出して自端末にダウンロードし閲覧する。
また、例のようなDataStoreAPIでGoogleサーバに取り込まなくても他に可能な
代替案などがあればご教授い
different between django version 0.96/1.0 in file /django/template/
__init__.py
django 0.96 in gae, start line number: 700
class NodeList(list):
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bits.append(self.rend
Hi, everyone.
I am not sure this question has been raised in the past but I searched
a little bit and could not find any topic covering this doubt I am
having. Also, I am a newbie on this technologies so maybe my question
is kind of obvious.
- YAML allows us to map URL patterns to modules in wri
Possibly best just to try it!
But from
http://code.google.com/appengine/docs/datastore/queriesandindexes.html
* In the case of a tie, the key of the entity is used as the tie-breaker.
... its talking about list fields - but the same code is probably used
for sort order of non-lists.
On Tue, O
I'm not quite sure I understand, are you suggesting that Postini
should whitelist all AppEngine emails?
That sounds bad, would make appengine an attractive target for
spammers. It's true at the moment the technical hurdles make it
unattractive, but a default whitelist would make it very much less
My country is not in the Supported mobile providers list, but how can
I get the Google App Engine Account?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email t
No, I'm saying it shouldn't blacklist them by default.
Aral
On Oct 14, 7:18 pm, "Barry Hunter" <[EMAIL PROTECTED]>
wrote:
> I'm not quite sure I understand, are you suggesting that Postini
> should whitelist all AppEngine emails?
>
> That sounds bad, would make appengine an attractive target for
Hi All
I'm a newbie trying to create a Google Gadget using Google App Engine
for Google Apps Sites.
I tried the tutorial in Google App Engine Getting Started and changed
the index.html file into a index.xml file and modified it to as shown
below.
I am able to use the application on the xxx.appspo
And what about memcache ?
http://code.google.com/appengine/docs/memcache/
On 14 oct, 17:14, Vacilando <[EMAIL PROTECTED]> wrote:
> Hi,
>
> In an application I build I sometimes need to check on a page, but it
> is enough for me (and presumably much faster) if I could read its
> latest copy from G
On Oct 12, 1:19 pm, "Jorge Vargas" <[EMAIL PROTECTED]> wrote:
> On Sun, Oct 12, 2008 at 10:20 AM, pr3d4t0r <[EMAIL PROTECTED]> wrote:
>
> > On Oct 12, 9:17 am, pr3d4t0r <[EMAIL PROTECTED]> wrote:
> >> print dir(anObject) # this gives you a list of all the attributes.
>
> > OKi, before we get peda
The GET parameters will not be sent automatically with your POST
(form) parameters.
However, here is something you can try:
When you generate your page template, embed the original GET
parameters as hidden input fields inside the form:
Now, when the form is POSTed, you'll get your original "fav
Arun,
I apologize if my post seemed too harsh. My main point was to try to
convince the gae community that there are alternatives in place that
obviate the need for this feature, so it's not one we should ask the
GAE team to work on right now. When you said
> Definitely and an IMPORTANT one
I think the overall recommended design practice in this case is to
favor composition over inheritance. In our application, we have an
application specific user entity that has a db.UserProperty(). Works
pretty well and is super easy to implement. An example can be found
here:
http://code.google.co
You should add some logging to your application. It will make it
easier to see what is going awry:
http://code.google.com/appengine/docs/python/logging.html
On Oct 13, 6:16 am, sternr <[EMAIL PROTECTED]> wrote:
> I've just uploaded my first application, and no matter what request I
> try, I get e
Members: 5005 :-D
On Oct 13, 9:48 pm, Davide Rognoni <[EMAIL PROTECTED]> wrote:
> - 5
> - 4
> - 3
> - 2
> - 1
> 5000 :-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this grou
Is this a real problem?
On Oct 13, 6:51 pm, Josh Heitzman <[EMAIL PROTECTED]> wrote:
> Yeah, my requests seem to be taking about 4-6k megacycles longer to
> process today then they were two days ago. In some cases this is 100%
> longer and in others its only about 35% Interestingly my root page
Peter,
I am clear where u come from, I too want the GAE team to focus on more
pressing issues, of course.
I take back what I said about the priority of the issue.. My
apologies, will choose my words more appropriately..
Arun Shanker Prasad.
On Oct 14, 11:02 am, Peter Recore <[EMAIL PROTECTED]>
ok, thanks, I read that, but wasnt sure.
testing will be the way forward :)
On Oct 14, 7:11 pm, "Barry Hunter" <[EMAIL PROTECTED]>
wrote:
> Possibly best just to try it!
>
> But fromhttp://code.google.com/appengine/docs/datastore/queriesandindexes.html
>
> * In the case of a tie, the key of t
Let's say I redirect a user to the url:
myapp.com/stuff?favorites=oatmeal&raisinbran
I generate the page with a def get(self) method in the Stuff
RequestHandler class and use self.request.get('favorites').
Then there is a form on the same page (/stuff) which processes some
additional input ('mo
Please see:
http://www.headconference.com/speakers/ann-mcmeekin/
If I re-deploy, it starts displaying correctly -- for a while --
before reverting to displaying the tags.
Flushing the cash doesn't fix it, only redeploying.
Help!
Aral
--~--~-~--~~~---~--~~
You re
Another day, another question:
Are fetch results returned in a consistent order when sorting on
values that are the same.
ie
if my models have id 1..4 and values 1,2,2,3 and I perform a filtered
fetch of value >= 2. Will the models always be returned in the order
id 2,3,4?
im going to hit a p
On Oct 14, 7:49 am, Peter Recore <[EMAIL PROTECTED]> wrote:
> > I know of svn and cvs to version the code..
> > for any php or similar scripting site, we all have the last resort to
> > actually get the code the webserver, since google app engine is also a
> > scripting site, and dont have the c
I hope that Google will move on to the challenge of handling other
languages once it has managed to implement Google App Engine properly
in Python first.
Aral
On Oct 13, 6:00 pm, Peter Recore <[EMAIL PROTECTED]> wrote:
> App engine to me is a hosting environmnt first, and an API second.
> The AP
This seems like there might be an issue with the handler mapping for your
application, it probably can't find the correct Python class to send the
request.
Make sure you have correctly mapped /raceload in your app.yaml and in your
script's application handler.
-Marzia
On Tue, Oct 14, 2008 at 1:5
Forget the bit about the redeploy being the only fix -- it appears to
be random.
It's just reverted to normal.
When I wrote the initial email, the text was displaying the
tags, tags, etc. displaying in plain text (not rendered as HTML).
(Waiting to see when it recurs.)
Aral
On Oct 14, 9:46
I'm trying to communicate with my speakers and attendees and having a
_terrible time_ of it because the email is being marked as spam by...
wait for it... none other than Google.
One of my speakers just sent me this:
"[Email from your app] is getting blocked by Google's Postini service
by defaul
a.decode('utf8','ignore')
On Tue, Oct 14, 2008 at 12:44 PM, Nishu <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I am trying to develop a screen scraping application using the google
> Webapp framework. The application parses the html output of some other
> page to extract the required data and then f
2008/10/14 Arun Shanker Prasad <[EMAIL PROTECTED]>:
> Definitely and an IMPORTANT one
> None of us want to loose our code..
If you don't want to lose your code, make your own arrangements. Use
source control, such as what Google provides via
http://code.google.com/hosting. The "problem" of l
I can confirm that it is the key that is used.
-Marzia
On Tue, Oct 14, 2008 at 12:45 PM, David Wilson (entertainment cloud) <
[EMAIL PROTECTED]> wrote:
>
>
> ok, thanks, I read that, but wasnt sure.
>
> testing will be the way forward :)
>
>
>
> On Oct 14, 7:11 pm, "Barry Hunter" <[EMAIL PROTECT
> I know of svn and cvs to version the code..
> for any php or similar scripting site, we all have the last resort to
> actually get the code the webserver, since google app engine is also a
> scripting site, and dont have the constraints of java class file there
> can be some way to get the code
sorry for the last mail ...
my redirect problem seems to come from webpy.org (the framework I use)
In fact I had 2 problems in one ... "naked domain / gae" and "webpy
redirect trouble"
I begin to see the light at the end of the tunnel ;-)
On 14 oct, 10:47, manatlan <[EMAIL PROTECTED]> wrote:
Hi,
Right, I think I got that far. But when I try to add it to data store,
I get the following error GeoPtProperty is supposed to take GeoPt
data type, which is "geographical point represented by floating-point
latitude and longitude coordinates." But it doesn't say whether it
needs to be a
Why not break when a match is found
if self.choices:
match = False
for choice in self.choices:
if choice == value:
match = True
break
if not match:
raise BadValueError('Property %s is %r; must be one of %r' %
Is there an article/faq that compares the use cases and tradeoffs for
Query vs. GqlQuery? When would one be used over the other, etc.
Thanks!
Tom
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine"
Let's say I have blog and I want to fetch the top 10 posts created in
the last 48 hours with the most comments and display them in order of
comment count. I would expect to be able to do something like:
Post.all().filter("created >=", datetime.today() -
timedelta(hours=48)) \
.order
If I'm not mistaken, GqlQuery simply constructs a Query behind the
scenes:
http://code.google.com/appengine/docs/datastore/queriesandindexes.html#Introducing_Queries
On Oct 14, 6:11 pm, Tom <[EMAIL PROTECTED]> wrote:
> Is there an article/faq that compares the use cases and tradeoffs for
> Query
Today we've released some new features in our Admin Console to make it
easier for you to manage your application.
* Admin Logs: This new feature displays a record of all actions
committed by the application's admins. Click on 'Admin Logs' under the
'Administration' section of the navigation bar.
maybe you can write GQL like:
SELECT * FROM
[WHERE [AND ...]]
[ORDER BY [ASC | DESC] [, [ASC | DESC] ...]]
[LIMIT [,]]
[OFFSET ]
On Wed, Oct 15, 2008 at 6:38 AM, mrchucho <[EMAIL PROTECTED]> wrote:
>
> Let's say I have blog and I want to fetch the top 10 posts created in
>
yep, you can use
UserProperty
On Wed, Oct 15, 2008 at 3:06 AM, Mahmoud <[EMAIL PROTECTED]> wrote:
>
> I think the overall recommended design practice in this case is to
> favor composition over inheritance. In our application, we have an
> application specific user entity that has a db.UserPropert
or you can write code like:
class Stuff:
get(self,favorites):
do something here.
application = webapp.WSGIApplication(
[(r'^/stuff/favorites/(?P(favorites).*)$', Stuff)],
debug=True)
the url is like :
/stuff/favorites/oatmeal&raisinbran
Unfortunately, a GqlQuery just constructs a Query behind the scenes.
In other words, they're functionally equivalent and what is disallowed
by Query is similarly disallowed by GqlQuery.
On Oct 14, 7:18 pm, kang <[EMAIL PROTECTED]> wrote:
> maybe you can write GQL like:
>
> SELECT * FROM
> [
It's not very clear (at least to me) what you're trying to do. If you
have objects that are being pulled from the datastore, then you should
definitely use the memcache API as previously mentioned where
appropriate. However, if you're trying to get a link to a Google
Cached Page, the Search AJAX A
Why nobody pay attention to me? Is there anyone could send a
invitation to me? thanks!
On 10月14日, 下午11时22分, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> My country is not in the Supported mobile providers list, but how can
> I get the Google App Engine Account?
--~--~-~--~~---
That's a good question. I personally route to the appropriate handlers
inside a main.py module. I pretty much adopted this approach from GvRs
presentation. But I have to admit, I don't know of any significant
advantages of one approach versus the other. I would like to see what
other ppl think.
O
可以把文件放在DataStore的BlobProperty里。但是请注意每个文件不能超过1M.google有限制。
例子:
model:
class UploadFile(db.Model):
data = db.BlobProperty()
orig_name = db.StringProperty()
ext = db.StringProperty()
date = db.DateTimeProperty(auto_now_add=True)
上传:
class Upload(BaseRequestHandler):
@requires_admin
I've been digging into where may app is spending its mcycles. By
using memcache I've gotten all of my requests that only read data down
well under the 1000 mcycle overall average request processing limit;
however, I'm seeing that it takes about 1000 mcycles to update a
single entity (not indexed,
On Wed, Oct 15, 2008 at 11:43 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Why nobody pay attention to me? Is there anyone could send a
> invitation to me? thanks!
http://code.google.com/appengine/kb/sms.html#error
Dave.
--~--~-~--~~~---~--~~
You received
Actually, I'm it take about 1500 mcycle to update one entity and then
an about an additional 1000 mcycle per additional entity (each a
different kind in this case) that is updated via the same db.put call.
On Oct 14, 7:24 pm, Josh Heitzman <[EMAIL PROTECTED]> wrote:
> I've been digging into where
On Wed, Oct 15, 2008 at 1:50 PM, Josh Heitzman <[EMAIL PROTECTED]> wrote:
> Actually, I'm it take about 1500 mcycle to update one entity and then
> an about an additional 1000 mcycle per additional entity (each a
> different kind in this case) that is updated via the same db.put call.
Is this in
Regarding the first question, those mcycle numbers are from logs on
GAE, not from local profiling. But if you mean are lots of people
using, no. I was the only user with any data when I did the test.
Regarding the second question, the entities are not what I would
consider large. For example, o
We are indeed an application hosting infrastructure first and
foremost, as Peter correctly claims. And yes, we do have protocols
underlying all of our APIs. They are built on protocol buffers:
http://code.google.com/p/protobuf/. We presently serve only HTTP,
though, and are not interested in servi
Aral,
We can and are doing both. We're working on implementing new runtime
languages, while also making infrastructural improvements to our
existing APIs and python runtime, while fixing bug after bug, and
while keeping the servers up and happy. It's a lot of work but our
team is growing and we a
Matija, you said:
"""or that app-engine quota permits this CPU
usage only few times let's say per minute and that they will stop my
application for several hours if I continue with this usage."""
Bingo, that is exactly what we do. We don't absolutely forbid such
high CPU requests but we do highl
Hello,
I just checked our internal monitoring tools and can see no record of
any failures for 64.233.179.121 at that time.
Jon
On Oct 13, 11:08 pm, poke <[EMAIL PROTECTED]> wrote:
> c:\>pingwww.bitpoll.net
>
> Pinging ghs.l.google.com [64.233.179.121] with 32 bytes of data:
> Request timed out.
On Oct 14, 8:15 am, Alex Vartan <[EMAIL PROTECTED]> wrote:
> Apologies if this is a simple question, I'm still a python / GAE
> novice. Is it possible to subclass the User class? I have just a
> couple of extra properties and I'd like to store with User and rather
> not create a duplicated UserOfM
Jon said:
"Josh, to address your question, what you are really looking for is
improved support for offline processing (there are many issues for
this listed in the Issue Tracker). With that infrastructure in place
we may be able to adjust the limits. Offline processing is orthogonal
to billing."
Sure! You can use the urlfetch API:
http://code.google.com/appengine/docs/urlfetch/
On Oct 14, 8:31 am, Vacilando <[EMAIL PROTECTED]> wrote:
> Hi,
>
> In an application I build I sometimes need to check on a page, but it
> is enough for me (and presumably much faster) if I could read its
> lates
Thanks, it worked. At least the application is not raising such errors
any more. I am novice as far as Python is concerned so can you please
give a short explanation for the solution you provided. With this code
what I noticed is that the character which was creating problem was
not included in th
And, by that comment I don't mean to imply that we're not interested
in HTTPS :-P, but instead that we're not interested in opening up
direct protocol buffer access to our APIs.
On Oct 14, 9:17 pm, Jon McAlister <[EMAIL PROTECTED]> wrote:
> We are indeed an application hosting infrastructure firs
75 matches
Mail list logo