<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pressing the Red Button &#187; Google AppEngine</title>
	<atom:link href="http://www.pressthered.com/tag/google_appengine/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pressthered.com</link>
	<description>Adventures in Software Development</description>
	<lastBuildDate>Sun, 08 Jan 2012 21:28:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to Delete an Index in an AppEngine Datastore</title>
		<link>http://www.pressthered.com/how_to_delete_an_index_in_an_appengine_datastore/</link>
		<comments>http://www.pressthered.com/how_to_delete_an_index_in_an_appengine_datastore/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 03:23:49 +0000</pubDate>
		<dc:creator>jim.richmond</dc:creator>
				<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[Google AppEngine]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.pressthered.com/?p=804</guid>
		<description><![CDATA[If using Python, you can delete an index by first removing the entry in your index.yaml file, and then updating your site. Then you must issue this command: appcfg.py vacuum_indexes myapp/ With Django (what I am using), you use this command: manage.py vacuum_indexes What is nice about the process is that, for each index that [...]]]></description>
			<content:encoded><![CDATA[<p>If using Python, you can delete an index by first removing the entry in your index.yaml file, and then updating your site. Then you must issue this command:<br />
<strong>appcfg.py vacuum_indexes myapp/</strong></p>
<p>With Django (what I am using), you use this command:<br />
<strong>manage.py vacuum_indexes</strong></p>
<p>What is nice about the process is that, for each index that has been removed from your index.yaml, it will confirm whether you want to delete it or not. So you get a second chance to make sure you are right. If you delete the wrong index, it&#8217;s going to take some <a href="http://code.google.com/appengine/articles/index_building.html">time for it to rebuild</a>, and portions of your site could be down.</p>
<p><strong>Why do I need this:</strong><br />
I don&#8217;t think you would see a noticeable speed improvement to your data inserts, updates, or deletes by having a few less unused indexes, but it couldn&#8217;t hurt. Also you are limited to 100 indexes (as of April 2010) so this how you free them up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pressthered.com/how_to_delete_an_index_in_an_appengine_datastore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google AppEngine: appcfg.py update check failed</title>
		<link>http://www.pressthered.com/google_appengine_appcfgpy_update_check_failed/</link>
		<comments>http://www.pressthered.com/google_appengine_appcfgpy_update_check_failed/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 04:55:18 +0000</pubDate>
		<dc:creator>jim.richmond</dc:creator>
				<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[Google AppEngine]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.pressthered.com/?p=800</guid>
		<description><![CDATA[I started getting this error in Windows when running &#8216;manage runserver&#8217; in django on Google AppEngine: appcfg.py update check failed: EOF occurred in violation of protocol This error is related to not having the SSL module for python installed. The easy fix is to install it by running &#8220;easy_install ssl&#8221; from the command prompt. However, [...]]]></description>
			<content:encoded><![CDATA[<p>I started getting this error in Windows when running &#8216;manage runserver&#8217; in django on Google AppEngine:</p>
<p><strong>appcfg.py update check failed: EOF occurred in violation of protocol</strong></p>
<p>This error is related to not having the SSL module for python installed. The easy fix is to install it by running &#8220;easy_install ssl&#8221; from the command prompt. However, using Python 2.5, I received errors and it did not work. </p>
<p>The longer, more involved fix is to compile the SSL module for python. This was a hassle but after about an hour I finally got it working.</p>
<p>Here is the tutorial I used to install the ssl module:<br />
<a href="http://beautifulisbetterthanugly.com/posts/2009/aug/19/compile-ssl-115-python-25-or-lower/">http://beautifulisbetterthanugly.com/posts/2009/aug/19/compile-ssl-115-python-25-or-lower/</a></p>
<p>I also had to follow the troubleshooting section on this link:<br />
<a href="http://wiki.cython.org/InstallingOnWindows">http://wiki.cython.org/InstallingOnWindows</a><br />
because I did not have the python library file (libpython25.a).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pressthered.com/google_appengine_appcfgpy_update_check_failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solving &#8220;InvalidSenderError: Unauthorized sender&#8221; in AppEngine</title>
		<link>http://www.pressthered.com/solving_invalidsendererror_unauthorized_sender_in_appengine/</link>
		<comments>http://www.pressthered.com/solving_invalidsendererror_unauthorized_sender_in_appengine/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 06:12:19 +0000</pubDate>
		<dc:creator>jim.richmond</dc:creator>
				<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[Google AppEngine]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.pressthered.com/?p=794</guid>
		<description><![CDATA[You might get this message in Google AppEngine when sending an email message and specifying a custom from address. To get it to work you must add the address as a developer for your application (or use the email address you signed up with). Steps to Add a Developer Email Address: Log in to your [...]]]></description>
			<content:encoded><![CDATA[<p>You might get this message in Google AppEngine when sending an email message and specifying a custom from address. To get it to work you must add the address as a developer for your application (or use the email address you signed up with). </p>
<p><strong>Steps to Add a Developer Email Address:</strong></p>
<ol>
<li>Log in to your Google App Engine Account.</li>
<li>Under Administration, click Permissions, and add the email address.</li>
<li>Log out, and check for the validation email.</li>
</ol>
<p><strong>More Info:</strong><br />
This is quite a hassle. I understand the reason is to cut back on spam but not only do you have to have a valid email account but you must create a google account for it.<br />
In my case, I just wanted to send notifications out but I don&#8217;t monitor the sender address (but I do include a contact link in the email).<br />
Darn spammers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pressthered.com/solving_invalidsendererror_unauthorized_sender_in_appengine/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Testing Email Locally with AppEngine Patch on Windows</title>
		<link>http://www.pressthered.com/testing_email_locally_with_appengine_patch_on_windows/</link>
		<comments>http://www.pressthered.com/testing_email_locally_with_appengine_patch_on_windows/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 05:21:52 +0000</pubDate>
		<dc:creator>jim.richmond</dc:creator>
				<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[Google AppEngine]]></category>

		<guid isPermaLink="false">http://www.pressthered.com/?p=785</guid>
		<description><![CDATA[If you need to get email working on your windows dev machine for Google AppEngine, here is one method: Download Fake Sendmail for Windows. Unzip the files and copy them into a new folder. Add this new folder to your windows PATH, by right clicking on My Computer -> Properties. Click Advanced Tab -> Environmental [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to get email working on your windows dev machine for Google AppEngine, here is one method:</p>
<ol>
<li>Download <a href="http://glob.com.au/sendmail/">Fake Sendmail for Windows.</a> Unzip the files and copy them into a new folder.</li>
<li>Add this new folder to your windows PATH, by right clicking on My Computer -> Properties. Click Advanced Tab -> Environmental Variables. Edit the PATH variable under System variables. Append your path to the end of the string. Do not replace the existing paths, just add it to the end preceded by a semi colon. Ex: &#8220;;c:\apps\fakesendmail&#8221;</li>
<li>In your fakesendmail folder, you must configure the &#8220;sendmail.ini&#8221; file. You have two choices:
<ul>
<li>Use your own custom smtp server settings (if you have one), by setting &#8220;smtp_server&#8221;, &#8220;auth_username&#8221;, &#8220;auth_password&#8221;, and &#8220;default_domain&#8221;</li>
<li>Use Windows default smtp service by setting &#8220;smtp_server&#8221; to &#8220;C:\Inetpub\mailroot\Pickup&#8221; and &#8220;default_domain&#8221; to &#8220;localhost&#8221;. This second choice will not send your emails but most likely will store your emails in the &#8220;C:\Inetpub\mailroot\Queue&#8221;.</li>
</ul>
</li>
<li>Open a new command console (must reopen the console to pick up the new path variable). Run the appengine patch from your apps root folder with the following argument:<br />
<strong> &#8220;manage runserver &#8211;enable_sendmail&#8221;</strong></li>
</ol>
<p><strong>Some Additional Info:</strong><br />
This will resolve the error message &#8220;SMTP AUTH extension not supported by server&#8221;.</p>
<p>These steps were derived from this <a href="http://groups.google.com/group/app-engine-patch/msg/9cca92df4b993d6c?pli=1">google discussion</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pressthered.com/testing_email_locally_with_appengine_patch_on_windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

