Greg,
Is it possible to rewrite the example using the Java API?
I have a hard time getting the backend with the queue api to work, the
documentation is limited, and a few good examples would be of a great help.
Wendel
--
You received this message because you are subscribed to the Google Group
Robert Thanks.
I get a different exception after I applied the patch, can you please
help
[Remote API Server] [handler.py:308] ERROR Exception while handling
service_name: "taskqueue"
method: "QueryAndOwnTasks"
request: "\n\011workitems\021\000\000\000\000\000 \254@\030\024"
Traceback (most recen
Hi Greg after applying the patch I get this exception, please help
tasks = q.lease_tasks(3600, 20)
File "C:\Program Files\Google\google_appengine\google\appengine\api
\taskqueue\taskqueue.py", line 1041, in lease_tasks
response)
File "C:\Program Files\Google\google_appengine\google\appeng
I still get an exception:
[Remote API Server] [handler.py:308] ERROR Exception while handling
service_name: "taskqueue"
method: "QueryAndOwnTasks"
request: "\n\011workitems\021\000\000\000\000\000 \254@\030\024"
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\go
Thanks, it is really helpful!
On May 17, 7:03 pm, Robert Kluin wrote:
> Hi Uri,
> It looks like the remote_api doesn't support lease_tasks. You
> should be able to enable leasing and deleting tasks by adding the
> following lines to the taskqueue service list:
>
> 'QueryAndOwnTasks':
Ah,
Thanks Robert. This is fixed with the next release of the SDK. Until
it is released you can use Robert's patch or the production
environment.
On 17 May 2011 09:03, Robert Kluin wrote:
> Hi Uri,
> It looks like the remote_api doesn't support lease_tasks. You
> should be able to enable leasi
Hi Uri,
It looks like the remote_api doesn't support lease_tasks. You
should be able to enable leasing and deleting tasks by adding the
following lines to the taskqueue service list:
'QueryAndOwnTasks':
(taskqueue_service_pb.TaskQueueQueryAndOwnTasksRequest,
taskqueue_service_pb.TaskQ
Thanks Greg
That works OK.
I have another problem: i have two back ends 1 'tester' inserts tasks
to a queue with 'PULL' method.
and another 'worker' that leases the tasks and process them. the
'tester' backend works fine.
the 'worker' I get an exception at lease_tasks function
the stack is as