book = Books.get(Key(self.request.get('id')))
book.name = self.request.get(name)
...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
I don't think you can use bulk uploader for your purposes but you can
just investigate how it works.
However yes, you can update records. Just use the same key name for
updated records.
On Jan 11, 9:23 pm, gabon nuthink...@googlemail.com wrote:
Well, Bulk Data Uploader seems definitely very
No replies yet...
On Jan 11, 5:45 am, ramu rslet...@gmail.com wrote:
Dear Google App Engine Developer ,
I am halfway completing my real app but can't get a way to upload this
basic learning hello world app. Please Help Me. I am ataching the
error logs as screen shoot.
Thanks in advance.
cant point my cname to *appspot or ghs.google wants to verify phone
number then says already used to verify ?
man ill tell ya
was working fine for 1 evening the next morning wont hit
--~--~-~--~~~---~--~~
You received this message because you are
Try replacing
SET HTTP_PROXY = 202:141:80:22:3128
with
SET HTTP_PROXY=http://202.141.80.22:3128;
On Jan 12, 10:59 pm, ramu rslet...@gmail.com wrote:
No replies yet...
On Jan 11, 5:45 am, ramu rslet...@gmail.com wrote:
Dear Google App Engine Developer ,
I am halfway completing my
You could use the id instead of the key, key().id, then you can get it
back with just DocModel.get_by_id(id)
You should be able to go straight to the doc without the parent
account id /doc/12345
I'm not sure you can guarantee id uniqueness across your whole data
store, but it should be
Hi all
Using Google App Engine SDK with default port setting of 8080. I have
two WSGI applications [App1 and App2 both are web services with no UI
related code in them]. App1 is running on default port 8080. Can dev
server listens for multiple web applications on same port? If no, then
what other
Why not select the two different Apps with your app.yaml file
- url: /app1/.*
script: App1.py
- url: /app2/.*
script: App2.py
Or you can put both handlers in one py file and select the one you need with
class
http://groups.google.com/group/google-appengine/browse_thread/thread/517a9ad5edd263d2/67a5160882462463?lnk=gstq=are+ids+unique#67a5160882462463
http://code.google.com/appengine/docs/datastore/keysandentitygroups.html#Entity_Groups_Ancestors_and_Paths
Looks like they are unique for a given kind
I've added issue 982:
http://code.google.com/p/googleappengine/issues/detail?id=982
as an issue to include a possible workaround for the datastore
timeouts.
Here's the text of the issue:
From what I can tell, it's not a case of if you're going to get
datastore
timeouts on puts, but when. My
On Dec 31 2008, 5:04 pm, Aramaki ciber...@gmail.com wrote:
- The comunity interest in implementingjavawill give you so much
advantage or it is because you do no want to learn python
For me, the same reason I prefer groovy over other dynamic languages:
I know java.
I have a java background, I
Hi all
I have three folders
BusinessList
Conversion
DB
First two folders contains one WSGI app [no UI] each. The last folder
contains a datta model [2 tables with 1- to Many relationship]
Each WSGI app accesses the data model in DB folder. My problem is that
If I place the data model file in DB
Marzia in this thread has already said they dont offer any guarantees.
Is Marzia a primary source?
I'm still unsure how knowing that (say) it shouldnt deviate more than
10 seconds is actully going to help. What will you do with that
figure?
I'd compare the stated maximum uncertainty
I guess you can use the import statement in the other directories to access
anything from DB floder
lets say if you have models.py in DB folder contains your data model
classes
then in the other directories you can access it by
from DB import models
On Mon, Jan 12, 2009 at 9:09 AM,
Try adding an empty __init__.py file into your DB folder. This marks
the DB folder as a 'package' and allows you to import modules from it.
More info at:
http://www.python.org/doc/2.5.2/tut/node8.html
On Jan 13, 2:09 am, arnie parvez...@rediffmail.com wrote:
Hi all
I have three folders
On Jan 12, 9:18 am, Cesium cesiumpic...@gmail.com wrote:
Marzia in this thread has already said they dont offer any guarantees.
Is Marzia a primary source?
Yes, Marzia is part of the app engine team.
--~--~-~--~~~---~--~~
You received this message because
The quota is 864 memcache API calls/day, and
http://code.google.com/appengine/docs/quotas.html#Memcache doesn't
list it as adjustable which seems to be an indication that you won't
be able to purchase more.
On Jan 11, 8:34 pm, altden alt...@gmail.com wrote:
What about memcache? I could not
Hi,
I am using a supported carrier in Australia. I cannot get my mobile
number to be accepted.
The message I get is:
There were errors: * Mobile Number or Username
Is there a special format I need to use?
This is the format I am using. Any help would be appreciated.
61 000 000
Have you change application name in app.yaml?
2009/1/12 ramu rslet...@gmail.com
No replies yet...
On Jan 11, 5:45 am, ramu rslet...@gmail.com wrote:
Dear Google App Engine Developer ,
I am halfway completing my real app but can't get a way to upload this
basic learning hello world
Hi,
I am using a supported Australian carrier but am getting the following
error when I try to verify.
There were errors: * Mobile Number or Username
I am using the following format 61 000 000. I have tried removing
spaces, adding + symbol.
Can you please tell me what the format for an
On Jan 11, 10:56 pm, thebrianschott schott.br...@gmail.com wrote:
Gipsy,
It is a consequence of my chosen design, to allow both clients and
organizers to enter the app via the same door. This way the
organizers can identify themselves before they enter the app so that
they need not be
That means that there cannot be a change in the models definitions
between
versions.
v2 of an app is presumably for testing, so the data there need not be
preserved.
If the data in v1 needs to be preserved after the switch to v2
one can always dump and restore the db.
On Jan 11, 10:01 pm,
Marzia in this thread has already said they dont offer any guarantees.
Is Marzia a primary source?
Yes, Marzia is part of the app engine team.
I'm hosed.
Cesium
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
On Mon, Jan 12, 2009 at 9:59 AM, Cesium cesiumpic...@gmail.com wrote:
Marzia in this thread has already said they dont offer any guarantees.
Is Marzia a primary source?
Yes, Marzia is part of the app engine team.
I'm hosed.
Cesium,
What algorithm are you trying to implement that
This HandleEntity looks very cool!
thanks a lot, chr
On Jan 12, 9:05 am, djidjadji djidja...@gmail.com wrote:
You can implement your own HandleEntity()
class MyLoader(bulkload.Loader):
def HandleEntity(self, entityNew):
- look for an entity with the same primary key
- if found
Geoffrey,
It is not my desire to hardcode the urls, but I don't know how not to;
my programming skills are limited. Or maybe I have not understood the
suggests given here by you folks about how to do it in a way that is
not hardcoded.
The path a user takes in my application depends on whether
Hello,
I am trying to built a supply chain with two applications,say one
application takes in the information from the user and the other
application deals with one raw material.
Suppose these two applications are hosted in google app engine,will
they be able to exchange data?
regards,
Hi,
At this time, appcfg.py will update any file that has changed since
the last update. There is now way to specify only a subset of files
to update.
-Marzia
On Sat, Jan 10, 2009 at 10:06 AM, Nefarious mike...@gmail.com wrote:
So, I want to update just one file on production GAE, however,
What algorithm are you trying to implement that requires synchronized
clocks? To my knowledge it's a pretty well-known best-practice to
never rely on clocks being the same across a distributed system. Some
algorithms can take advantage of closely correlated clocks, but I
believe they never
On 12 tammi, 21:18, Krishna Gollapudi gnkchaita...@gmail.com wrote:
I am trying to built a supply chain with two applications,say one
application takes in the information from the user and the other
application deals with one raw material.
Suppose these two applications are hosted in
I have a simple model like this:
class MyModel(db.Model):
prop = db.StringProperty()
active = db.BooleanProperty(default=False)
Given an input string, s, I'd like to know if it is in the datastore.
Would this be the best way to check?
if MyModel.gql(WHERE prop = :1 AND active = True,
Hi,
If you reply with your app id I can look in to it directly.
If you can find the data in the dataviewer, however, you can get the
key string (from the data's URL) and call db.delete() directly on that
key in your application (if, for instance, you included something like
shell with your
Version control becomes essential for maintaining app engine apps.
With Subversion, for instance, you can tag your repository whenever
you deploy, then keep working along the trunk. If you want to make a
change to the current production app, check out the tag, make the
change and deploy again.
Am i doing something crazy or should i report this as a bug?
On Jan 9, 6:45 pm, Paul pwid...@gmail.com wrote:
I have a GQL query that works fine when theres only one Merchant
Entity, but fails as below when theres more than 1, any ideas?
merchantList= [e.key() for e in
Hi,
What is the model definition for Item?
-Marzia
On Mon, Jan 12, 2009 at 2:58 PM, Paul pwid...@gmail.com wrote:
Am i doing something crazy or should i report this as a bug?
On Jan 9, 6:45 pm, Paul pwid...@gmail.com wrote:
I have a GQL query that works fine when theres only one Merchant
Hi,
execfile is a builtin Python function, so it seems like there is
something amiss with your python installation. What version of Python
are you using? Does it run, and can you use built-in functions, from
the command line interpreter? What is your PYTHONPATH?
-Marzia
On Fri, Jan 9, 2009
This format worked for me: +61 4xx xxx xxx
It looks like you are including a leading '0' after the country code,
try removing it.
See also this thread: http://is.gd/fBro
On Jan 12, 10:02 pm, bannerdyne derek.new...@bannerdyne.com wrote:
Hi,
I am using a supported carrier in Australia. I
See http://is.gd/fBsX
On Jan 12, 11:58 pm, bannerdyne derek.new...@bannerdyne.com wrote:
Hi,
I am using a supported Australian carrier but am getting the following
error when I try to verify.
There were errors: * Mobile Number or Username
I am using the following format 61 000 000.
Hi,
We are working on making sure all of the SDK download links in our
translated documentation get updated when a new SDK is released.
However, the latest SDK is always available from our codesite project:
http://code.google.com/p/googleappengine
-Marzia
On Sat, Jan 10, 2009 at 8:15 PM,
Is there a faster/better way? Do I need to do anything with indexes to
make this query better?
You can replace fetch(1) with get(), which is essentially the same.
Other than that, if you know your entity's id/key_name, it's slightly
faster to fetch it using get_by_id() or get_by_key_name().
Hello,
what is the preferred way of retrieving the latest revision of a
document?
(The 'name' doesn't change across the revisions.)
1:
class Document(db.Model):
name = db.StringProperty()
revision = db.IntegerProperty()
content = db.TextProperty()
latest = Document.all().filter('name =',
The first variant is faster while the second one requires less
maintenance if you rename your documents a lot. Both will do the job.
I'd use the first, de-normalised model unless you normally have a lot
of revisions per document, modify the common document meta-data quite
often, and the
Hi Marzia, heres everything i could think of that might be relevent:
[Edit Item - ImgItem]:
ImgItem.gql('WHERE style = :style and merchant in :merchants ORDER BY
__key__',style=theStyle,merchants=merchantList)
class Item(BaseModel):
name = db.StringProperty()
cumulative_avg =
Ok, I'll go with the first model. Thanks for the reply!
On Jan 13, 12:53 am, Alexander Kojevnikov alexan...@kojevnikov.com
wrote:
The first variant is faster while the second one requires less
maintenance if you rename your documents a lot. Both will do the job.
I'd use the first,
Wery strange!
I try to use ifequal with filters and it dosent work
i search around web and found this is a normal
but in october ive write very similar code and it working! i lost my
working code and now try to rewite
in appengine i cant use {% with ... %} because it dosent exists
what you
Do you use (Django) templates?
If not start using them, separate the function (code) from the
presentation (html)
Read the GAE example
http://code.google.com/appengine/docs/gettingstarted/templates.html
There they show you how to use the
users.create_logout_url()
users.create_login_url()
If you don't need the entity, count(1) would be faster than fetch(1) or
get().
-- Dan
On Mon, Jan 12, 2009 at 12:54 PM, SM sanja...@gmail.com wrote:
I have a simple model like this:
class MyModel(db.Model):
prop = db.StringProperty()
active = db.BooleanProperty(default=False)
Given an
You have no knowledge when your request is executed on the server.
Launching a new interpreter takes time, the server is busy processing
other requests. If the time of the data is important you should take a
time measurement at the sensor and send it as part of the request
2009/1/12 Cesium
Hi Alexander,
thanks for your reply. I'll try this.
Sorry about the multiple posts - a computer glitch.
cheers
On Jan 13, 10:25 am, Alexander Kojevnikov alexan...@kojevnikov.com
wrote:
This format worked for me: +61 4xx xxx xxx
It looks like you are including a leading '0' after the
Sorry about the multiple posts - i had a computer glitch causing me to
post several times.
Please delete this one if required.
On Jan 13, 12:15 am, bannerdyne derek.new...@bannerdyne.com wrote:
Hi,
I am using a supported Australian carrier but am getting the following
error when I try to
Thank you to everyone for the responses.
If I understand correctly, for my exampe I should use
if MyModel.gql(WHERE prop = :1 AND active = True, s).count(1):
print Found
else:
print Not found
On Jan 12, 5:52 pm, ryan ryanb+appeng...@google.com wrote:
+1 to the responses.
just to
you get it
On Tue, Jan 13, 2009 at 10:30 AM, SM sanja...@gmail.com wrote:
Thank you to everyone for the responses.
If I understand correctly, for my exampe I should use
if MyModel.gql(WHERE prop = :1 AND active = True, s).count(1):
print Found
else:
print Not found
On Jan 12, 5:52
How can I delete my unwanted indices ?.
I've tried appcfg.py vacuum_indexes and it said everything deleted
successfully. But dashboard still says that i am exceeding indices
count quota. And the indices are in Building status.
Please help.
FOR OUR PROJECT,WE NEED TO CONNECT TWO PC USING A LAN CABLE AND FROM ONE
PC,WE SHD BE ABLE TO ACCESS THE FILES STORED ON THE OTHER PC WITHOUT USING
IPADDRESS. IS IT POSSIBLE? IF SO HOW?PLEASE DO REPLY US..
--~--~-~--~~~---~--~~
You received this message because
54 matches
Mail list logo