Okay, i fixed it myself am ignoring urls that start with _ah using
serveRegex in the guice module.
Sudhir
On Feb 7, 2:21 am, Sudhir sudhi...@gmail.com wrote:
I'm using GAE and Guice, but I'm running into problems on the dev
server. This is my web.xml
filter
Hello,
I am keeping non-critical data (which is updated quite often) in
memcache. I would like to use a cronjob to fetch the data in frequent
intervalls from memcache in order to persist it to the datastore.
Thus, I would be interested if anyone has any experiences with the
average expiration
when is the getNextID feature on jdo going to be available.
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to
Thanks I think my value of ByteArray is not right. I will add blazeDS
to get data from flex to gae. I will post result.
On Feb 5, 7:59 am, m seleron seler...@gmail.com wrote:
Hi.
I'm sorry for being not able to explain well.
Please try the following sources.
code
MimeMessage msg = new
thanks for your attention.
We Persistence Object by JDO in our Project, All model are like
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class SysCode extends BaseModel {
//code_id
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
We have no success to implement gae junit test.
We use spring 2.5.6 and follow the
http://code.google.com/appengine/docs/java/howto/unittesting.html
.
public class BaseTestCase extends
AbstractDependencyInjectionSpringContextTests {
@Override
public void onSetUp() throws
See if the following annotation help you.
@Persistent(valueStrategy = IdGeneratorStrategy.INCREMENT)
-Aswath
On Mon, Feb 8, 2010 at 1:18 AM, datanucleus andy_jeffer...@yahoo.comwrote:
What getNextID feature on JDO ? i.e please make reference to the JDO
API and which particular API Method
First off thanks for your time.
I would like to generate a key that is a concatenation of a string with an
datastore generated key. Is there anyway to do that?
I want my keys to be appname + datastore generated key or say generate a
key that is currentdate + datastore generated key
Any
Hi, you are right.
Each entity contains the kind (model) name and property name, so dose the index.
So longer name will cost more cpu time.
You can use the name parameter to reduce the size:
class nDelta(db.Model):
delta = db.FloatProperty(required=True, name='i')
2010/2/7 Eli Jones
Hi!
Please, join me as developer to Python SDK. I already sent patches to
issue tracker, but long time not recive feedback about my changes. I
have manually apply this changes to SDK.
Thanks!
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
Hello,
I have a cron job that runs every hour. It is specified to run 'Every
1 hours.' The idea is to generate time series logs that can be
analyzed later. Unfortunately, every now and then the execution is
offset by a second, since the time of execution is 1 hour following
the termination not
This is my code:
ret = memcache.add(key=mykey, value=qList, time=
60*60*24*30)
logging.critical(Created cache batch %s Passed %s %
(mykey, str(ret)))
qList = memcache.get(mykey)
For some reason, qList is None ! I have logged all values and qList
Read can be cached in memory, speed is about 4GB/s. If your entity is
about 100kb, you can do 40,000 get() in a second.
A put() needs about 3 writes and 1 read, each writes needs at least
10ms seek time. Considering the network latency and disk write time,
most entities cannot be written more
Hello,
I am interested whether you can make GAE to save files (uploaded from
a computer or from outside url) without having to upload the whole
app. Ideally, I would like to save new static html files compiled from
outside URL data and save .swf files to a GAE app engine folder on the
GAE server.
Downlaod sonic proxy 2010
Down
--
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-appeng...@googlegroups.com.
To unsubscribe from this group, send email to
To start, I'd remove the time=60*60*24*30 part.
By default, memcache does not expire stuff in the cache.. AND the maximum
time value is a month.. so this may overflow the time period and just make
it immediately expire.
On Sun, Feb 7, 2010 at 6:22 AM, observer247 prem...@gmail.com wrote:
This
I have a task that I need to run at every 5 minute mark.. starting at 9:30
AM and then running at 9:35, 9:40, ... etc..
I used to just have it run.. and then do taskqueue.add() with a
countdown=300 to just run again in 5 minutes.
As you noticed with your cron.. the drift begins to add up.. and
Nick, et al.:
Could we get a pointer or pointers to in-line documentation as related
to query cursors? If this is what it sounds like, it is far-and-away
the biggest and most useful new feature in the SDK, but we need some
hints about how it is used. I've browsed the source code and found
plenty
One minor thing I noticed.. why not use memcache.set() instead of
memcache.delete(), memcache.add()?
On Sun, Feb 7, 2010 at 6:22 AM, observer247 prem...@gmail.com wrote:
This is my code:
ret = memcache.add(key=mykey, value=qList, time=
60*60*24*30)
Thanks Eli ! The cache time was the issue.
memcache.set() does not set if id already present. So I am using
delete and add.
I cannot be sure id is present, memcache could be deleted because of
memory pressure from app engine, right ?
On Feb 7, 10:18 am, Eli Jones eli.jo...@gmail.com wrote:
I believe the issue is that memcache is non-blocking; the write may
not complete before you try to read, and instead of blocking waiting
for the write to finish memcache returns a None value to the read
request.
On Feb 7, 6:22 am, observer247 prem...@gmail.com wrote:
This is my code:
set(key, value, time=0, min_compress_len=0, namespace=None)
Sets a key's value, regardless of previous contents in cache.
It sets it.. regardless of previous contents in cache.
Do a quick test.. you'll see.
http://code.google.com/appengine/docs/python/memcache/functions.html
On Sun, Feb 7,
I'm loving cursors and transactional tasks (which may be the geekiest
sentence I've ever written)-- I hope send_mail is next to get transactional
treatment.
On Wed, Feb 3, 2010 at 5:03 PM, Ikai Lan i...@google.com wrote:
Hello App Engine Developers,
As part of our ongoing efforts to improve
Where did you find the documentation for how to use these two new
features?
On 08/02/2010, at 12:45 PM, Ross M Karchner rosskarch...@gmail.com
wrote:
I'm loving cursors and transactional tasks (which may be the
geekiest sentence I've ever written)-- I hope send_mail is next to
get
Hi Ross,
Agreed!
For the time being, you can use following strategy for a workaround.
1) prepare a handler for sending particular mail
2) put this handler into the task queue in a transactional manner
Regards,
--
Takashi Matsuo
Kay's daddy
On Mon, Feb 8, 2010 at 10:45 AM, Ross M Karchner
Poking around the code, and trial an error.
For transactional tasks, just add transactional=True to any tasks you create
in a transaction-- if the transaction fails, the task won't be created.
For cursors, after doing a fetch() on a Query, .cursor() (on the Query
itself , not the results) will
Thanks Ross, this is very helpful. :)
Nick
On 8 February 2010 13:13, Ross M Karchner rosskarch...@gmail.com wrote:
Poking around the code, and trial an error.
For transactional tasks, just add transactional=True to any tasks you
create in a transaction-- if the transaction fails, the task
I wonder, would it help to schedule your task to run every minute?
Then you detect if now is the correct time and exit immediately most
of the time. Would that help you get synced back up with the :00 mark
when it is time to actually do the work?
On Feb 8, 12:21 am, Eli Jones eli.jo...@gmail.com
No, you can't. There's no way to write to the filesystem without
deploying a new version of the app.
Really the only options are to store the files in the datastore and
have handlers that serve them as if they're static, or to use the
Blobstore API to upload and serve them.
On Feb 7, 8:33 am,
I know we're able to access different versions of our apps using a URL like:
http://VERSION.latest.APPID.appspot.com
My question is: Is the code for each version totally separate from other
versions, or are only the files that have been changed between versions
separated (in which case files
30 matches
Mail list logo