[google-appengine] UnknownQueueError

699 views
Skip to first unread message

Jay

unread,
Apr 16, 2010, 6:33:36 PM4/16/10
to Google App Engine
Hello all. I get UnknownQueueError when I use a custom queue (define
in queue.yaml) in unit tests. The queue works fine when running my
app. Any known issue there or suggestions?

-- Jay

--
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-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

John Gardner

unread,
May 10, 2010, 1:29:49 PM5/10/10
to Google App Engine
Bump, same here. Is there some bootstrap config that needs to be done
on the development server to have custom queues available?

Hazzadous

unread,
May 10, 2010, 3:27:42 PM5/10/10
to Google App Engine
You'll need to play with the task service stub, specifically, setting
the location of the queue.yaml file in your local development
environment. Something like:

taskqueue_stub = apiproxy_stub_map.apiproxy.GetStub( 'taskqueue' )
taskqueue_stub._root_path = os.path.join( os.path.dirname( __file__ ),
'..' )

in setUp should suffice.

H
Reply all
Reply to author
Forward
0 new messages