Programming Google App Engine

Errata for Programming Google App Engine

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date Submitted Date Corrected
Page 52-53
code sample

There seem to be some issues with this code sample. A 'cacheSet' method is referenced in the text but not in the code, the save() method does not update the cache as described, and I get an 'EntityExistsException' thrown from save() [on form submit] when I add the memcache functionality. (It would be great to get the code posted online, to be able to rule out code transcription errors when debugging).

Anonymous  Dec 07, 2009 
Page 145
Figure 5-10 and Figure 5-11

So far great book, much better than google's online docs. However, figure 5-10 and 5-11 seem like they are incorrect. They claim to show the results of a query that uses 'level < 10'. I think what they are showing is a query that uses 'level > 10'.

markm208  Dec 02, 2009 
Page 156
Figure 5-14

Bottom row of figure 5-14 says e2 3.14 But I think it is supposed to be e1 3.14

markm208  Dec 03, 2009 
Page 262
First code examle

The first multipart.addBodyPart(htmlPart) should be multipart.addBodyPart(textPart)

markm208  Dec 10, 2009 
Printed, PDF
Page 288
last line of top paragraph

Thanks for the book, its a good one! Near the top of page 288, this line: "You provide the name of the file that defines the exporters using the --filename=... command-line argument" ...should instead read: "You provide the name of the file that defines the exporters using the --config_file=... command-line argument"

Note from the Author or Editor:
Thanks! You are correct, this instance of "--filename" (first paragraph of page 288) should be "--config_file". (The --filename argument is for the data file.) App Engine has heavily revised the bulk data loader tool since the 1st edition of this book was published. The Loader/Exporter interface has been deprecated in favor of a config-based declarative syntax for defining mappings. I recommend going to the official documentation on Google's website the latest information:

smoothtommy  Sep 09, 2010