[google-appengine] Backend process start through taskqueue.add

2011-06-02 Thread Mark Walker
Hi all, hopefully this is a simple one.

I'm trying to get a long running process started on a backend, and are
using the following to attempt to start it.

taskparams = {
'params':   {
'system':   'netsuite',
},
'url':  "%s" % url_for('sn_cron/system/integrationtask'),
'target':   "0.backend1",
}
taskqueue.add(**taskparams)

When I start dev_appserver.py I get the following log entries:

[Backend Instance] [backend1.0] [routing.py:41] INFO An endpoint is
already configured, skipped.
[Backend Instance] [backend1.0] [app.py:385] WARNING 404: Not Found
[Backend Instance] [backend1.0] [dev_appserver.py:4151] INFO "GET /_ah/
start HTTP/1.1" 404 -

The process starts via a cron job, and it runs the code show above,
the task itself is just:

def systemIntegration(system):
logging.info("backend working %s.%s" % (backends.get_instance(),
backends.get_backend()))
return Response()

And when I run the cron task manually I get the following:

[Remote API Server] [routing.py:41] INFO An endpoint is already
configured, skipped.
[Remote API Server] [views.py:33] INFO backend working None.None

Basically what it should say is

[Backend Instance] [backend1.0] [routing.py:41] INFO An endpoint is
already configured, skipped.
[Backend Instance] [backend1.0] [views.py:33] INFO backend working
0.backend1

I can't figure out what I'm doing wrong, its like the 'target'
parameter is not accepted in the taskqueue.add method, I've reviewed
the docs on:

http://code.google.com/appengine/docs/python/taskqueue/overview-push.html#Push_Queues_and_Backends

but to no avail, whatever I try it doesn't work. Any hints?

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



Re: [google-appengine] Cannot see Application Dashboard

2010-12-02 Thread Mark Walker
Thanks Ikai, much appreciated. 

-
Mark Walker

Please excuse brevity, sent from iPhone. 

On 03/12/2010, at 1:02 PM, "Ikai Lan (Google)"  wrote:

> Try logging in here:
> 
> http://appengine.google.com/a/maestroresults.com
> 
> --
> Ikai Lan 
> Developer Programs Engineer, Google App Engine
> Blogger: http://googleappengine.blogspot.com
> Reddit: http://www.reddit.com/r/appengine
> Twitter: http://twitter.com/app_engine
> 
> 
> 
> On Thu, Dec 2, 2010 at 4:46 PM, tukutela  
> wrote:
> Hi everyone,
> 
> Just a newbie to AppEngine, I've created the App, run using localhost and 
> appspot.com domains without problems, but cannot for some reason get to the 
> Dashboard. It always redirects me to https://appengine.google.com/start this 
> happens regardless of how many apps I create locally then deploy using the 
> MacOSX AppEngineLauncher. 
> 
> Anyone have any ideas/suggestions? 
> 
> -- 
> 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 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 
> -- 
> 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 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

-- 
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 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.