; for example:
PreparedQuery myQuery = new LowLevelQuery( select from myKind where
category = 'Java' and rating 5 );
ListEntity results = myQuery.asList();
Let me know what you think.
Vince
On Wed, Jan 6, 2010 at 3:06 PM, keyurva keyu...@gmail.com wrote:
This is likely a common scenario and I'm
ByteArrayHttpServletResponse();
BlobstoreService.serve( myBlobKey, response );
byte[] data = response.toByteArray();
Attached is a quick-and-dirty skeleton for ByteArrayHttpServletResponse that
should get you started.
Vince
On Sun, Jan 3, 2010 at 2:32 AM, Aadith aaad...@gmail.com wrote
welcomed!).
Vince
On Fri, Jan 1, 2010 at 1:42 AM, John Howe jhowe...@gmail.com wrote:
I greatly appreciate the work that has been done here. But let me ask my
question another way. Is it known that this does not work?
On Thu, Dec 31, 2009 at 5:19 PM, John Howe jhowe...@gmail.com wrote:
I
I had the same issue, so instead I went to Help-Install New Software...,
then selected the Google App Engine site from the Work with... menu; then
it allowed me to select SDK 1.3.0.
Vince
On Wed, Dec 16, 2009 at 11:37 AM, Matt Farnell mfarn...@gmail.com wrote:
Hi Jason,
It could be just me
The exception is harmless. Add this to your logging.properties file to hide
it:
com.google.appengine.repackaged.com.google.common.base.FinalizableReferenceQueue.level=WARNING
There was previous discussion of this (search
for FinalizableReferenceQueue).
Vince
On Sat, Dec 5, 2009 at 1:00 PM
Is SDK 1.2.8 going to be added to the Eclipse update site?
Vince
On Thu, Dec 3, 2009 at 6:06 PM, App Engine Team appengine.nore...@gmail.com
wrote:
The App Engine team has been hard at work tackling our the issues on
our tracker, tweaking APIs and closing bugs. In addition to a ton of
bug
That's correct--the task still completes successfully even after the timeout
exception shows up in the console window.
Vince
On Fri, Dec 4, 2009 at 5:11 PM, Max Ross (Google)
maxr+appeng...@google.commaxr%2bappeng...@google.com
wrote:
We're using the UrlFetchService to invoke the task URL
when Queue.add() is invoked from the servlet init() method
or from a static initializer; if Queue.add() is invoked from a regular
request thread, then it works properly.
Vince
On Tue, Nov 24, 2009 at 9:00 PM, Ikai L (Google) ika...@google.com wrote:
Hello App Engine Developers,
As part of our
I agree. My workaround was to create a ServletEventListener and put this in
the contextInitialized() method:
System.setProperty( appengine.server,
event.getServletContext().getServerInfo().contains( Development ) ?
development : production );
Vince
On Thu, Dec 3, 2009 at 1:15 PM, Jeff
That fixed it. Thanks.
Vince
On Thu, Dec 3, 2009 at 2:24 PM, Max Ross (Google)
maxr+appeng...@google.commaxr%2bappeng...@google.com
wrote:
Vince,
As a workaround, try setting the missing environment attribute explicitly
before you add the task to the queue:
ApiProxy.getCurrentEnvironment
Yes, I received your patch and it's on my TODO list to review it and add it
to the code. Unfortunately, I've been a bit backed up with other projects.
I'm trying to get a new version of GaeVFS ready for release in the next few
weeks and will try to include your patch.
Vince
On Wed, Dec 2, 2009
What we really, really need is something similar to Amazon DevPay:
http://aws.amazon.com/devpay/
Vince
On Tue, Dec 1, 2009 at 2:08 PM, Ikai L (Google) ika...@google.com wrote:
I see what you mean. Say, an application marketplace where folks can
download source code for applications
this, most likely by using a
memcache flag as a semaphore. But, it would be nice if the task queue API
could support this natively, maybe by adding a reuse time or exclusion
time parameter when setting the TaskOptions name parameter.
Any thoughts on this?
Vince
--
You received this message
on this in the issue tracker.
Vince
On Tue, Dec 1, 2009 at 11:39 AM, Vince Bonfanti vbonfa...@gmail.com wrote:
I'm trying to solve the following problem using task queues:
1. Queue a task to perform some action N.
2. Until action N has been performed, don't allow any other tasks to be
queued
15ms per memcache
call, though I've measured up to 90ms).
2) It makes my code more complex than it needs to be, considering that the
task queue API already supports almost everything I need.
Vince
On Tue, Dec 1, 2009 at 5:08 PM, James H james.hollier...@gmail.com wrote:
Vince, shouldn't you use
/googleappengine/issues/detail?id=2459
Vince
On Tue, Dec 1, 2009 at 5:24 PM, James H james.hollier...@gmail.com wrote:
Sorry, I was writing my 2nd reply prior to seeing yours...but I mean't
don't specify a Task Name in order to free yourself from the
rediculous 7-day rule (what good is that?). So
Or, something similar, using the IOUtils class from Commons I/O (
http://commons.apache.org/io/):
InputStream resourceAsStream =
getServletContext().getResourceAsStream.(pathToImage);
resp.setContentType(image/gif);
IOUtils.copy(resourceAsStream,resp.getOutputStream);
Vince
On Mon, Nov 30
to web.xml and the above code will use
them, too (in addition to the common ones).
Vince
On Mon, Nov 30, 2009 at 12:25 PM, Prashant antsh...@gmail.com wrote:
thanks a lot guys.
is it necessary to use resp.setContentType(image/gif); even if url end
with .gif ?
--
You received this message
channels to get any further modifications made. In the
mean time, I'm glad it's working for you.
Vince
On Tue, Nov 24, 2009 at 8:09 PM, Jeff Schnitzer j...@infohazard.org wrote:
Attached is a modified version of that class that lets you define any
path you want for the servlet and lets you specify
There appears to be a memory leak with the memcache implementation on the
dev server; I've opened a new issue for this:
http://code.google.com/p/googleappengine/issues/detail?id=2428
I have some testcases that make heavy use of memcache that are failing due
to this issue.
Vince
--
You
as the task payload does not work on the development server (but
does work in production). You may want to star this issue:
http://code.google.com/p/googleappengine/issues/detail?id=2097
Vince
On Fri, Nov 13, 2009 at 2:52 PM, edarroyo edgardo...@gmail.com wrote:
Hello,
We are trying to set an object
reasonable: any uncaught exception causes a task retry;
normal termination or PermanentTaskFailure exception do not retry.
Vince
On Tue, Nov 10, 2009 at 1:35 AM, Roy roy.smith@googlemail.com wrote:
I've started looking at using Vince's Defer helper class.
As a suggestion, could we add
of TransientFailureException.
- Added comments.
Let me know if you have additional feedback.
Vince
On Sun, Nov 8, 2009 at 3:34 PM, Nick Johnson (Google)
nick.john...@google.com wrote:
Hi Vince,
On Sun, Nov 8, 2009 at 7:58 PM, Vince Bonfanti vbonfa...@gmail.com wrote:
Hi Nick,
Thanks
I just committed an update to this to remove the static
DatastoreService instance.
Vince
On Sat, Oct 31, 2009 at 2:08 PM, Vince Bonfanti vbonfa...@gmail.com wrote:
This looked like an interesting problem, and I already had most of the
pieces in place, so here's my first attempt, which
me know if you run into any problems, or have suggestions for improvements.
Vince
On Mon, Nov 2, 2009 at 10:47 PM, Roy Smith roy.smith@googlemail.com wrote:
Hi Vince
Thanks for sharing.
I've modified my persistence framework to incorporate your class and it
works very well.
kind regards
Here's one I got a few days ago. It looks like it timed-out while just
queuing up a task:
Uncaught exception from servlet
com.google.apphosting.api.DeadlineExceededException: This request
(8b0dab1ffe61eb3f) started at 2009/10/31 16:30:47.041 UTC and was
still executing at 2009/10/31 16:31:16.438
the
CacheOptions.WRITE_BEHIND option and sets the expiration to null (no
expiration). There are additional constructors that allow you to
specify CacheOptions.WRITE_THROUGH and/or specify a memcache
expiration value.
Vince
On Mon, Nov 2, 2009 at 2:21 PM, Stakka henrik.lindqv...@gmail.com wrote:
One feature I see
exceptions cause the task to be retried.
Let me know if you find this useful, have any questions or encounter
any problems.
Vince
On Fri, Oct 30, 2009 at 6:13 PM, Jason (Google) apija...@google.com wrote:
Hi David. This may be coming to Java eventually, but it hasn't been started
yet. If you
No, not yet. It's on the TODO list (see line 171 of the GaeVfsServlet
source code). If you--or anyone else--wants to add this I'll be happy
to accept a patch.
Vince
On Fri, Oct 23, 2009 at 11:42 AM, Diana Cruise diana.l.cru...@gmail.com wrote:
In terms of performance does gaevfs accmmodate
for more information:
http://code.google.com/p/gaevfs/wiki/UsingGaeVFS
http://code.google.com/p/gaevfs/wiki/CombinedLocalOption
http://code.google.com/p/gaevfs/wiki/ApplicationPortability
Vince
On Fri, Oct 23, 2009 at 5:09 AM, deft somondig...@gmail.com wrote:
once I have uploaded
compared it with my existing project, and compared the debug
configuration settings, and couldn't find anything that is obviously
different between the two. Any suggestions would be appreciated.
Vince
P.S. My entire project is available via SVN if anyone want to try this
themselves:
http
.
Is this intentional, or should I open a bug report?
Vince
--~--~-~--~~~---~--~~
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-java@googlegroups.com
To unsubscribe from
to figure out how to configure things properly to support
junit testing...
Thanks.
Vince
2009/10/23 Miguel Méndez mmen...@google.com:
I'm going to check and see if I can reproduce this using your project.
On Fri, Oct 23, 2009 at 2:06 PM, Vince Bonfanti vbonfa...@gmail.com wrote:
I'm having no luck
It looks like the Eclipse debug configuration automatically picks up
the complete build path for the project as its classpath. Manually
editing the debug configuration to remove appengine-api-stubs.jar and
appengine-local-runtime.jar from the classpath fixes the problem.
Vince
On Fri, Oct 23
I think the 1.2.7 update is only for Python. The latest Java SDK is 1.2.6.
On Fri, Oct 23, 2009 at 12:02 PM, hildenl louis.hil...@gmail.com wrote:
Has anyone been able to update to 1.2.7 from Eclipse? I've got the
http://dl.google.com/eclipse/plugin/3.5 configured as a software site
and its
the full
10.0MB allowed by Google App Engine.
There's a feature on the roadmap called Service for storing and
serving large files, but there's apparently no additional information
available on this feature:
http://code.google.com/appengine/docs/roadmap.html
Vince
On Thu, Oct 22, 2009 at 1:55 PM
.
The only degradation I've ever seen is that larger files take longer
to download, which you'd expect. However, I've never done any real
load or stress testing.
Vince
On Thu, Oct 22, 2009 at 6:07 PM, Diana Cruise diana.l.cru...@gmail.com wrote:
Actually, I tried simple files without spaces
Yes, GaeVFS (http://code.google.com/p/gaevfs/) provides access to the
local file system so that you can use a single API for accessing both
local and virtual files. However, local files are read-only; and,
you cannot create a virtual file with the same path and name as a
local file.
Vince
Are there any details available for this feature other than this
one-liner? Thanks.
On Wed, Sep 16, 2009 at 1:50 PM, Don Schwarz schwa...@google.com wrote:
The Service for storing and serving large files item on the Roadmap will
give you what you want when it launches:
/com/newatlanta/appengine/servlet/GaeVfsServlet.java
Finally, GaeVFS also implements a pluggable file system for the H2
relational database to provide SQL database support for Google App
Engine; this is considered experimental for now:
http://code.google.com/p/gaevfs/wiki/H2GAE
Vince
On Mon
in getting some feedback on these.
Vince
On Tue, Sep 8, 2009 at 4:11 PM, Jason (Google)apija...@google.com wrote:
Hi Vince. I think this sounds reasonable. Please open a new issue.
- Jason
On Sat, Sep 5, 2009 at 11:48 AM, Vince Bonfanti vbonfa...@gmail.com wrote:
I found the answer
Being able to examine the task queue, and release tasks manually--and
in different order than they were queued--is proving quite valuable.
It would be nice to keep this as an option when you add automatic
execution.
Vince
On Tue, Sep 8, 2009 at 2:42 PM, Max Rossmaxr+appeng...@google.com wrote
Perfect! At least for initial debugging, that's actually better than
having the tasks execute automatically--it makes it easier to see
what's going on with multiple tasks being queued.
Thanks.
On Sun, Sep 6, 2009 at 7:05 PM, Max Rossmaxr+appeng...@google.com wrote:
Hi Vince,
In order to get
the exact same code in development and in
production. Any clues, or any way for me to figure out what's going
wrong? Are task queues supported in the development environment?
Thanks.
Vince
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Your two quick notes seem to be contradictory. In order to use
transactions, don't all of the entities have to be in the same entity
group?
Vince
On Fri, Sep 4, 2009 at 8:24 PM, Jason (Google)apija...@google.com wrote:
Batch puts are supported, yes, and as of yesterday's release, calling
, I'd like to have it use the default
queue by default. However, if they want to change the behavior for
specific queues, then they can configure them explicitly.
Should I open an issue for a simpler way to detect if a queue is
configured? or is this something that's unlikely to change?
Vince
of adding it
to Java; but, if the Python implementation is somehow more efficient
than the three memcache calls in the Java example above, then I'd like
to see it added to Java.
Thanks.
Vince
--~--~-~--~~~---~--~~
You received this message because you are subscribed
After upgrading to SDK 1.2.5, I've noticed a set of stack traces that
show up in both the development environment and on the production
server. These only appear if the logging level is set to INFO, and
they show up as INFO logs on the production server. I'm pretty sure
these are new in SDK 1.2.5
That's fine. :)
I just wanted to make sure someone was aware of this, since it
appeared to be something new introduced with the latest SDK.
On Fri, Sep 4, 2009 at 4:14 PM, Toby Reyeltsto...@google.com wrote:
It's a message that you can safely ignore. There is a reason it's logged at
INFO. :)
(String).
Is there a way to simply and reliably determine whether a given queue
name has been configured?
Vince
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group
{
// modify entity A
// modify entity B
} finally {
exclusiveLock.unlock();
}
Assuming that entities A and B are in different entity groups, and
therefore he can't use the built-in transaction support provided by
the datastore.
Vince
On Wed, Aug 26, 2009 at 12:44 PM
Yes, that's what I meant (I should have given a fuller answer the
first time). Any error checking and rollback to undo modify entity
A in case of failure of modify Entity B would have to be coded
manually within the lock/unlock block.
Vince
On Wed, Aug 26, 2009 at 1:09 PM, objectuserkevin.k.le
Yes, adding multiple filters (with any FilterOperator) does an AND operation.
Vince
On Tue, Aug 25, 2009 at 10:51 AM, ted stockwellemorn...@gmail.com wrote:
Thanks much.
One more question...
If I want to select recipes that have both hamburger and olives should
I just add two filters
Look at the Entity.setUnindexedProperty() method.
On Fri, Aug 21, 2009 at 7:51 PM, David Givend...@cowlark.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I don't seem to see any APIs in DatastoreService or Entity that allow me
to do anything with indices. In particular, I want
How are you sure the referenced entities are being stored too?
I always assumed that it's just a query object waiting to be
referenced.
If this is true, I am REALLY interested in a solution as well!
On Jul 20, 4:21 am, Benedikt benedikt.e...@gmail.com wrote:
Hi,
I have a list of entities
I use the following structure:
class Tag (db.Expando):
label = StringProperty()
parent_ = SelfReferenceProperty(collection_name='children')
This is a simplified for illustration purposes, but it works well
enough for us because we just grab all Tag entities and build the tree
in memory with
I broke it... I just know it!
I tried to vacuum an index that was in a Building state and now it's
been in an Error state for nearly 24 hours.
I did it everyone... I killed the App Engine. :)
*bold* Err-hemm... I think it's related to the Datastore Index Robot,
start looking there) *bold*
On
/.*
with
- url: /finance/worksheet.*
The URL you are trying to access doesn't have the trailing slash, but
your script handler requires it.
--www.muspy.com
On Dec 21, 3:14 pm, Vince vincent.zaff...@gmail.com wrote:
Having a hard time with wrapping my head around the script handlers.
I am
Having a hard time with wrapping my head around the script handlers.
I am trying to navigate to the url http://localhost:8080/finance/worksheet
and I keep getting a 404 error. Based off the directory structure and
handler do you see what I am doing wrong? Thanks in advance for your
help!
Geoffrey,
That was it.. Thank you for your help!
On Dec 13, 3:28 pm, Geoffrey Spear geoffsp...@gmail.com wrote:
On Dec 13, 11:24 am, Vincent Zaffiro vincent.zaff...@gmail.com
wrote:
- url: /.*
script: /finance/main.py
The leading slash is almost certainly the problem; the script:
Thank. Works perfect on first try!
I moved all class models to models.py and placed from models import
* into each of the other .py files.
On Thu, Dec 11, 2008 at 7:38 PM, djidjadji djidja...@gmail.com wrote:
For point 1)
Place the model class definitions in 1 or more separate .py files
61 matches
Mail list logo