[google-appengine] Any idea why this 3 line script won't work?

2013-03-15 Thread Travis Keep
function doGet() {

  return HtmlService.createHtmlOutput(htmlbodyhi there/body/html);

}

When I deploy this script and view in my browser, I get the white screen of 
death with no errors instead of the expected hi there When I view the 
source of my page, I see lots of strange looking javascript and tags, but 
nothing that looks like what I wrote. Any ideas what I am missing?


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Is there a way to interactively debug a google script web app?

2013-03-15 Thread Travis Keep
When I mean interactively debug, I mean hit it with the browser and then 
trace through what it does line for line.  

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Is HtmlService in google scripts down?

2013-03-15 Thread Travis Keep
All day I haven't been able to make anything that uses HtmlService work 
including small, 3 line toy programs. HtmlService worked for me earlier 
this week. Is there an outage?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Immutability of *Key in Go datastore package: Is it really immutable?

2012-11-08 Thread Travis Keep
The documentation states that *Key is immutable, but what prevents somebody 
from writing this:

key := newKey(context, Entity, , 123, nil)

*key = *someOtherKey  // The key referenced by 'key' has now changed 
violating immutability.
...
*key = Key{}

Even more grievous, would be this.

parentKey := newKey(context, Parent, , 456, nil)
key := newKey(context, Entity, , 123, parentKey)

*parentKey = *someOtherKey  // Also modifies the key that 'key' references 
as a side effect!

In my experience raw reference types in go such as pointers, slices, or 
maps can make no guarantees regarding immutability.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/HJTW6OpGKNEJ.
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.