<?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>gwt dev blog</title>
	<atom:link href="http://techmail.langtags.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://techmail.langtags.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 24 May 2010 12:59:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>[appengine-java] One &#8211; Many Child Persistence help</title>
		<link>http://techmail.langtags.com/blog/?p=2214</link>
		<comments>http://techmail.langtags.com/blog/?p=2214#comments</comments>
		<pubDate>Mon, 24 May 2010 12:59:20 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://techmail.langtags.com/blog/?p=2214</guid>
		<description><![CDATA[


I&#8217;ve been trying to tweak this to get it working for a while now and
I&#8217;ve had no luck at all.
First off I create two classes
@PersistenceCapable(identityType = IdentityType.APPLICATION,
detachable = &#34;true&#34;)
public class ServerContent implements Serializable {
	private static final long serialVersionUID = 7230645578648036546L;
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Key id;
	@Persistent
	private int rating = 0;
	@Persistent
	private Text widgetContent;
	@Persistent
	private String user;
	@Persistent
	private Date date;
	@Persistent
	private String <a href="http://techmail.langtags.com/blog/?p=2214" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<script type="text/javascript"><!--
google_ad_client = "pub-5215082228502796";
/* bewritenxuexi336x280 */
google_ad_slot = "1508175831";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><p>I&#8217;ve been trying to tweak this to get it working for a while now and</p>
<p>I&#8217;ve had no luck at all.</p>
<p>First off I create two classes</p>
<p>@PersistenceCapable(identityType = IdentityType.APPLICATION,</p>
<p>detachable = &quot;true&quot;)</p>
<p>public class ServerContent implements Serializable {</p>
<p>	private static final long serialVersionUID = 7230645578648036546L;</p>
<p>	@PrimaryKey</p>
<p>	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)</p>
<p>	private Key id;</p>
<p>	@Persistent</p>
<p>	private int rating = 0;</p>
<p>	@Persistent</p>
<p>	private Text widgetContent;</p>
<p>	@Persistent</p>
<p>	private String user;</p>
<p>	@Persistent</p>
<p>	private Date date;</p>
<p>	@Persistent</p>
<p>	private String title;</p>
<p>	@Persistent(mappedBy = &quot;parentKey&quot;)</p>
<p>	@Element(dependent = &quot;true&quot;)</p>
<p>	private List&lt;ServerComment&gt; comments = new</p>
<p>ArrayList&lt;ServerComment&gt;();</p>
<p>And the second class</p>
<p>@PersistenceCapable(identityType = IdentityType.APPLICATION,</p>
<p>detachable = &quot;true&quot;)</p>
<p>public class ServerComment implements Serializable {</p>
<p>	private static final long serialVersionUID = 7577060064503658111L;</p>
<p>	@PrimaryKey</p>
<p>	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)</p>
<p>	private Key id;</p>
<p>	@Persistent</p>
<p>	private ServerContent parentKey;</p>
<p>	@Persistent</p>
<p>	private Text content;</p>
<p>	@Persistent</p>
<p>	private Date date;</p>
<p>	@Persistent</p>
<p>	private String user;</p>
<p>	@Persistent</p>
<p>	private boolean approved;</p>
<p>	@Persistent</p>
<p>	private int rating;</p>
<p>I have a method which will create a comment on some content. The Web</p>
<p>page updates correctly but the call to save ServerContent never works.</p>
<p>I get a silent failure in by AsyncCallback and it throws a</p>
<p>com.google.gwt.user.client.rpc.SerializationException with the details</p>
<p>null and stacktrace null.</p>
<p>I have saved the parent class with an empty set of ServerComment</p>
<p>When I add new ServerComments to by ServerContent class and then try</p>
<p>and save the parent, the error is thrown. I&#8217;ve been trying to get</p>
<p>around this for over a day now! any help is much appreciated thanks!</p>
<p>&#8211; </p>
<p>You received this message because you are subscribed to the Google Groups &quot;Google App Engine for Java&quot; group.</p>
<p>To post to this group, send email to google-appengine-java@googlegroups.com.</p>
<p>To unsubscribe from this group, send email to google-appengine-java+unsubscribe@googlegroups.com.</p>
<p>For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.</p>
]]></content:encoded>
			<wfw:commentRss>http://techmail.langtags.com/blog/?feed=rss2&amp;p=2214</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Re: [google-appengine] Re: relationship&#8230;</title>
		<link>http://techmail.langtags.com/blog/?p=2608</link>
		<comments>http://techmail.langtags.com/blog/?p=2608#comments</comments>
		<pubDate>Mon, 24 May 2010 12:52:42 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://techmail.langtags.com/blog/?p=2608</guid>
		<description><![CDATA[Basically GAE is a web-hosting with (currently) two platforms available -
Python and Java, and with &#34;kinda weird&#34; database to build upon.  
On Wed, Apr 21, 2010 at 4:52 PM, Wooble &#60;geoffspear@gmail.com&#62; wrote:
&#62;
&#62;
&#62; On Apr 21, 9:47 am, Matlab &#60;rizvan.asga&#8230;@yahoo.com&#62; wrote:
&#62; &#62; Hi friends,
&#62; &#62; I&#8217;m new at this forum and hope that everything will <a href="http://techmail.langtags.com/blog/?p=2608" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>Basically GAE is a web-hosting with (currently) two platforms available -</p>
<p>Python and Java, and with &quot;kinda weird&quot; database to build upon. <img src='http://techmail.langtags.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>On Wed, Apr 21, 2010 at 4:52 PM, Wooble &lt;geoffspear@gmail.com&gt; wrote:</p>
<p>&gt;</p>
<p>&gt;</p>
<p>&gt; On Apr 21, 9:47 am, Matlab &lt;rizvan.asga&#8230;@yahoo.com&gt; wrote:</p>
<p>&gt; &gt; Hi friends,</p>
<p>&gt; &gt; I&#8217;m new at this forum and hope that everything will be &#8216;OK&#8217;&#8230;</p>
<p>&gt; &gt;</p>
<p>&gt; &gt; My question is that what is the relationship between GAE and GWT?</p>
<p>&gt; &gt;</p>
<p>&gt; &gt; Thanks in advance,</p>
<p>&gt; &gt; Matlab</p>
<p>&gt;</p>
<p>&gt; They&#8217;re both made by Google and they both have something to do with</p>
<p>&gt; the web.  Other than that, there&#8217;s no relationship.  You can certainly</p>
<p>&gt; use GAE as the backend for a GWT application, but it&#8217;s no different</p>
<p>&gt; than using any other host.</p>
<p>&gt;</p>
<p>&gt; &#8211;</p>
<p>&gt; You received this message because you are subscribed to the Google Groups</p>
<p>&gt; &quot;Google App Engine&quot; group.</p>
<p>&gt; To post to this group, send email to google-appengine@googlegroups.com.</p>
<p>&gt; To unsubscribe from this group, send email to</p>
<p>&gt; google-appengine+unsubscribe@googlegroups.com&lt;google-appengine%2Bunsubscribe@googlegroups.com&gt;</p>
<p>&gt; .</p>
<p>&gt; For more options, visit this group at</p>
<p>&gt; http://groups.google.com/group/google-appengine?hl=en.</p>
<p>&gt;</p>
<p>&gt;</p>
<p>&#8211; </p>
<p>You received this message because you are subscribed to the Google Groups &quot;Google App Engine&quot; group.</p>
<p>To post to this group, send email to google-appengine@googlegroups.com.</p>
<p>To unsubscribe from this group, send email to google-appengine+unsubscribe@googlegroups.com.</p>
<p>For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.</p>
<p>Basically GAE is a web-hosting with (currently) two platforms available &#8211; Python and Java, and with &quot;kinda weird&quot; database to build upon. <img src='http://techmail.langtags.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="gmail_quote">On Wed, Apr 21, 2010 at 4:52 PM, Wooble <span dir="ltr">&lt;<a href="mailto:geoffspear@gmail.com">geoffspear@gmail.com</a>&gt;</span> wrote:</p>
<blockquote class="gmail_quote">
<p>On Apr 21, 9:47 am, Matlab &lt;<a href="mailto:rizvan.asga...@yahoo.com">rizvan.asga&#8230;@yahoo.com</a>&gt; wrote:<br />
&gt; Hi friends,<br />
&gt; I&#39;m new at this forum and hope that everything will be &#39;OK&#39;&#8230;<br />
&gt;<br />
&gt; My question is that what is the relationship between GAE and GWT?<br />
&gt;<br />
&gt; Thanks in advance,<br />
&gt; Matlab</p>
<p>They&#39;re both made by Google and they both have something to do with<br />
the web.  Other than that, there&#39;s no relationship.  You can certainly<br />
use GAE as the backend for a GWT application, but it&#39;s no different<br />
than using any other host.</p>
<div>
<div></div>
<div class="h5">
&#8211;<br />
You received this message because you are subscribed to the Google Groups &quot;Google App Engine&quot; group.<br />
To post to this group, send email to <a href="mailto:google-appengine@googlegroups.com">google-appengine@googlegroups.com</a>.<br />
To unsubscribe from this group, send email to <a href="mailto:google-appengine%2Bunsubscribe@googlegroups.com">google-appengine+unsubscribe@googlegroups.com</a>.<br />
For more options, visit this group at <a href="http://groups.google.com/group/google-appengine?hl=en" target="_blank">http://groups.google.com/group/google-appengine?hl=en</a>.</p>
</div>
</div>
</blockquote>
</div>
<p></p>
<p>&#8211; <br />
You received this message because you are subscribed to the Google Groups &#8220;Google App Engine&#8221; group.<br />
To post to this group, send email to google-appengine@googlegroups.com.<br />
To unsubscribe from this group, send email to google-appengine+unsubscribe@googlegroups.com.</p>
<p>For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.</p>
]]></content:encoded>
			<wfw:commentRss>http://techmail.langtags.com/blog/?feed=rss2&amp;p=2608</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[appengine-java] Re: java.lang.RuntimeException: Version not ready.</title>
		<link>http://techmail.langtags.com/blog/?p=2450</link>
		<comments>http://techmail.langtags.com/blog/?p=2450#comments</comments>
		<pubDate>Mon, 24 May 2010 12:51:48 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://techmail.langtags.com/blog/?p=2450</guid>
		<description><![CDATA[Same issue in python&#8230;..Here we go again : (
On Apr 20, 3:01 pm, Robert Cooper &#60;keber&#8230;@gmail.com&#62; wrote:
&#62; I am trying to update &#34;shortyz-xword&#34; and am getting timeouts. I can&#8217;t
&#62; extract any useful info from the admin log. Is there something going
&#62; on today?
&#62;
&#62; &#8211;
&#62; You received this message because you are subscribed to the Google Groups <a href="http://techmail.langtags.com/blog/?p=2450" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>Same issue in python&#8230;..Here we go again : (</p>
<p>On Apr 20, 3:01 pm, Robert Cooper &lt;keber&#8230;@gmail.com&gt; wrote:</p>
<p>&gt; I am trying to update &quot;shortyz-xword&quot; and am getting timeouts. I can&#8217;t</p>
<p>&gt; extract any useful info from the admin log. Is there something going</p>
<p>&gt; on today?</p>
<p>&gt;</p>
<p>&gt; &#8211;</p>
<p>&gt; You received this message because you are subscribed to the Google Groups &quot;Google App Engine for Java&quot; group.</p>
<p>&gt; To post to this group, send email to google-appengine-java@googlegroups.com.</p>
<p>&gt; To unsubscribe from this group, send email to google-appengine-java+unsubscribe@googlegroups.com.</p>
<p>&gt; For more options, visit this group athttp://groups.google.com/group/google-appengine-java?hl=en.</p>
<p>&#8211; </p>
<p>You received this message because you are subscribed to the Google Groups &quot;Google App Engine for Java&quot; group.</p>
<p>To post to this group, send email to google-appengine-java@googlegroups.com.</p>
<p>To unsubscribe from this group, send email to google-appengine-java+unsubscribe@googlegroups.com.</p>
<p>For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.</p>
]]></content:encoded>
			<wfw:commentRss>http://techmail.langtags.com/blog/?feed=rss2&amp;p=2450</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[google-appengine] stuck in loop, deploying</title>
		<link>http://techmail.langtags.com/blog/?p=2438</link>
		<comments>http://techmail.langtags.com/blog/?p=2438#comments</comments>
		<pubDate>Mon, 24 May 2010 12:47:16 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://techmail.langtags.com/blog/?p=2438</guid>
		<description><![CDATA[i&#8217;ve deployed and am getting messages rolling back, to keep waiting:
Will check again in 16 seconds.
Checking if new version is ready to serve.
Will check again in 32 seconds.
Checking if new version is ready to serve.
Will check again in 60 seconds.
Checking if new version is ready to serve.
Will check again in 60 seconds.
Checking if new version <a href="http://techmail.langtags.com/blog/?p=2438" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>i&#8217;ve deployed and am getting messages rolling back, to keep waiting:</p>
<p>Will check again in 16 seconds.</p>
<p>Checking if new version is ready to serve.</p>
<p>Will check again in 32 seconds.</p>
<p>Checking if new version is ready to serve.</p>
<p>Will check again in 60 seconds.</p>
<p>Checking if new version is ready to serve.</p>
<p>Will check again in 60 seconds.</p>
<p>Checking if new version is ready to serve.</p>
<p>Will check again in 60 seconds.</p>
<p>Checking if new version is ready to serve.</p>
<p>Will check again in 60 seconds.</p>
<p>Checking if new version is ready to serve.</p>
<p>Will check again in 60 seconds.</p>
<p>Checking if new version is ready to serve.</p>
<p>Will check again in 60 seconds.</p>
<p>anyone know how to unstick?</p>
<p>- martin</p>
<p>- id: xinbox-crm</p>
<p>&#8211; </p>
<p>You received this message because you are subscribed to the Google Groups &quot;Google App Engine&quot; group.</p>
<p>To post to this group, send email to google-appengine@googlegroups.com.</p>
<p>To unsubscribe from this group, send email to google-appengine+unsubscribe@googlegroups.com.</p>
<p>For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.</p>
]]></content:encoded>
			<wfw:commentRss>http://techmail.langtags.com/blog/?feed=rss2&amp;p=2438</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Re: GWT application parameters</title>
		<link>http://techmail.langtags.com/blog/?p=2680</link>
		<comments>http://techmail.langtags.com/blog/?p=2680#comments</comments>
		<pubDate>Mon, 24 May 2010 12:47:12 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://techmail.langtags.com/blog/?p=2680</guid>
		<description><![CDATA[I think the point we&#8217;re missing is who is &#34;I&#34; in &#34;If I would like this
program to start in demo mode&#34;.   You&#8217;re saying that you want a setup
where you fire up the server in one mode or the other, and everyone
who accesses the page gets the one same mode depending on how you
start <a href="http://techmail.langtags.com/blog/?p=2680" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>I think the point we&#8217;re missing is who is &quot;I&quot; in &quot;If I would like this</p>
<p>program to start in demo mode&quot;.   You&#8217;re saying that you want a setup</p>
<p>where you fire up the server in one mode or the other, and everyone</p>
<p>who accesses the page gets the one same mode depending on how you</p>
<p>start the server?  Well that&#8217;s pretty easy, you could for instance use</p>
<p>servlet parameters specified in your web.xml file.  Here&#8217;s a random</p>
<p>google webpage with code for that: http://www.exampledepot.com/egs/javax.servlet/GetInit.html</p>
<p>More normal, and a good use of deferred binding, would be to have two</p>
<p>slightly different addresses, one for demo and one for normal mode, so</p>
<p>you can just point people to the appropriate site and not have to</p>
<p>restart the server every time you want to change the mode everyone</p>
<p>sees.  If you do that, you could pass a parameter to your server RPC</p>
<p>calls indicating that the client is running in one mode or the other</p>
<p>to have the server respond with the correct stuff.</p>
<p>On Apr 21, 9:04 pm, &quot;sunny&#8230;@gmail.com&quot; &lt;sunny&#8230;@gmail.com&gt; wrote:</p>
<p>&gt; hmm&#8230;I guess I&#8217;m not being clear enough.</p>
<p>&gt;</p>
<p>&gt; Say in your run of the mill Java CLI programs. If I would like this</p>
<p>&gt; program to start in demo mode to show certain messages, then I would</p>
<p>&gt; do:</p>
<p>&gt; java programName demo</p>
<p>&gt; The program would see the &#8216;demo&#8217; argument in the main method.</p>
<p>&gt;</p>
<p>&gt; In the GWT case, I would like to be able to do the same to the server.</p>
<p>&gt; The client&#8217;s GUI can already act in normal or demo mode based on one</p>
<p>&gt; initial &quot;is-the-server-running-in-demo-mode&quot; GWT-RPC call to the</p>
<p>&gt; server. At the moment the RPC implementation is just hardcoded to</p>
<p>&gt; return a static final boolean. The server&#8217;s code also looks at this</p>
<p>&gt; variable in various places to decide whether a piece of functionality</p>
<p>&gt; should act in normal or demo mode.</p>
<p>&gt;</p>
<p>&gt; Obviously using a variable in this way is pointless as I would have to</p>
<p>&gt; recompile the code and redeploy the WAR file if I wanted to change</p>
<p>&gt; modes. Hence, if I was able to use something like argv[] in the CLI</p>
<p>&gt; example, it would just be a matter of restarting the server with</p>
<p>&gt; different arguments.</p>
<p>&gt;</p>
<p>&gt; I hope thats made my use case a bit clearer.</p>
<p>&gt;</p>
<p>&gt; Sunny</p>
<p>&#8211; </p>
<p>You received this message because you are subscribed to the Google Groups &quot;Google Web Toolkit&quot; group.</p>
<p>To post to this group, send email to google-web-toolkit@googlegroups.com.</p>
<p>To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.</p>
<p>For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.</p>
]]></content:encoded>
			<wfw:commentRss>http://techmail.langtags.com/blog/?feed=rss2&amp;p=2680</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Re: [appengine-python] module not found when using remote api</title>
		<link>http://techmail.langtags.com/blog/?p=2489</link>
		<comments>http://techmail.langtags.com/blog/?p=2489#comments</comments>
		<pubDate>Mon, 24 May 2010 12:46:26 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://techmail.langtags.com/blog/?p=2489</guid>
		<description><![CDATA[Hi John,
are you starting the remote_shell from within the bloggart directory?
I don&#8217;t know how the prompt of your console is build, but at first
sight it looks like your working in your home directory.
Regards,
Andi
On Wed, Apr 21, 2010 at 2:45 AM, John &#60;johnnytee@gmail.com&#62; wrote:
&#62; I&#8217;m using the remote api to migrate to nick johnson&#8217;s bloggart. I <a href="http://techmail.langtags.com/blog/?p=2489" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>Hi John,</p>
<p>are you starting the remote_shell from within the bloggart directory?</p>
<p>I don&#8217;t know how the prompt of your console is build, but at first</p>
<p>sight it looks like your working in your home directory.</p>
<p>Regards,</p>
<p>Andi</p>
<p>On Wed, Apr 21, 2010 at 2:45 AM, John &lt;johnnytee@gmail.com&gt; wrote:</p>
<p>&gt; I&#8217;m using the remote api to migrate to nick johnson&#8217;s bloggart. I can</p>
<p>&gt; log in, but when I try to import a module it says not found.</p>
<p>&gt;</p>
<p>&gt; Here&#8217;s my console output:</p>
<p>&gt; john-turners-macbook-pro:~ johnnytee$ PYTHONPATH=. remote_api_shell.py</p>
<p>&gt; john-turner</p>
<p>&gt; /Applications/GoogleAppEngineLauncher.app/Contents/Resources/</p>
<p>&gt; GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/</p>
<p>&gt; google/appengine/ext/remote_api/remote_api_stub.py:64:</p>
<p>&gt; DeprecationWarning: the sha module is deprecated; use the hashlib</p>
<p>&gt; module instead</p>
<p>&gt;  import sha</p>
<p>&gt; /Applications/GoogleAppEngineLauncher.app/Contents/Resources/</p>
<p>&gt; GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/</p>
<p>&gt; google/appengine/tools/dev_appserver_login.py:33: DeprecationWarning:</p>
<p>&gt; the md5 module is deprecated; use hashlib instead</p>
<p>&gt;  import md5</p>
<p>&gt; Email: johnnytee@gmail.com</p>
<p>&gt; Password:</p>
<p>&gt; App Engine remote_api shell</p>
<p>&gt; Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29)</p>
<p>&gt; [GCC 4.2.1 (Apple Inc. build 5646)]</p>
<p>&gt; The db, users, urlfetch, and memcache modules are imported.</p>
<p>&gt; john-turner&gt; import migrate</p>
<p>&gt; Traceback (most recent call last):</p>
<p>&gt;  File &quot;&lt;console&gt;&quot;, line 1, in &lt;module&gt;</p>
<p>&gt; ImportError: No module named migrate</p>
<p>&gt; john-turner&gt;</p>
<p>&gt;</p>
<p>&gt; &#8211;</p>
<p>&gt; You received this message because you are subscribed to the Google Groups &quot;google-appengine-python&quot; group.</p>
<p>&gt; To post to this group, send email to google-appengine-python@googlegroups.com.</p>
<p>&gt; To unsubscribe from this group, send email to google-appengine-python+unsubscribe@googlegroups.com.</p>
<p>&gt; For more options, visit this group at http://groups.google.com/group/google-appengine-python?hl=en.</p>
<p>&gt;</p>
<p>&gt;</p>
<p>&#8211; </p>
<p>You received this message because you are subscribed to the Google Groups &quot;google-appengine-python&quot; group.</p>
<p>To post to this group, send email to google-appengine-python@googlegroups.com.</p>
<p>To unsubscribe from this group, send email to google-appengine-python+unsubscribe@googlegroups.com.</p>
<p>For more options, visit this group at http://groups.google.com/group/google-appengine-python?hl=en.</p>
]]></content:encoded>
			<wfw:commentRss>http://techmail.langtags.com/blog/?feed=rss2&amp;p=2489</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[google-appengine] Re: Inbound emails on own domain</title>
		<link>http://techmail.langtags.com/blog/?p=2520</link>
		<comments>http://techmail.langtags.com/blog/?p=2520#comments</comments>
		<pubDate>Mon, 24 May 2010 12:44:19 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://techmail.langtags.com/blog/?p=2520</guid>
		<description><![CDATA[Actually, it is not a problem to setup mail in Google Apps, problem,
how to make emails, sent to this domain (used for hosting GAE
application) come into my MailHandler in my GAE application.
So, looks like only option to setup own mail-server for mydomain.com
and automatically forward all emails to appspotmail.com?
On Apr 21, 5:51 am, zooly zou &#60;izo&#8230;@gmail.com&#62; wrote:
&#62; <a href="http://techmail.langtags.com/blog/?p=2520" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>Actually, it is not a problem to setup mail in Google Apps, problem,</p>
<p>how to make emails, sent to this domain (used for hosting GAE</p>
<p>application) come into my MailHandler in my GAE application.</p>
<p>So, looks like only option to setup own mail-server for mydomain.com</p>
<p>and automatically forward all emails to appspotmail.com?</p>
<p>On Apr 21, 5:51 am, zooly zou &lt;izo&#8230;@gmail.com&gt; wrote:</p>
<p>&gt; ok, you could read this blog , some summary here:http://www.hapeblog.com/blog.shtml?id=20001</p>
<p>&gt;</p>
<p>&gt;</p>
<p>&gt;</p>
<p>&gt; On Wed, Apr 21, 2010 at 7:42 AM, akakunin &lt;akaku&#8230;@gmail.com&gt; wrote:</p>
<p>&gt; &gt; Hi!</p>
<p>&gt;</p>
<p>&gt; &gt; I&#8217;mcurrently testing inbound email handling and may process emails</p>
<p>&gt; &gt; sent to some email like user@appid..appspotmail.com</p>
<p>&gt;</p>
<p>&gt; &gt; In case I will use my own domain name for this application (so, web UI</p>
<p>&gt; &gt; will be available atwww.mydomain.com) &#8211; will I be able to handle</p>
<p>&gt; &gt; emails sent to u&#8230;@mydomain.com?</p>
<p>&gt;</p>
<p>&gt; &gt; Should I do any settings for it in Google Apps account (used for</p>
<p>&gt; &gt; managing mydomain.com)?</p>
<p>&gt;</p>
<p>&gt; &gt; Thanks for help!</p>
<p>&gt;</p>
<p>&gt; &gt; &#8211;</p>
<p>&gt; &gt; You received this message because you are subscribed to the Google Groups</p>
<p>&gt; &gt; &quot;Google App Engine&quot; group.</p>
<p>&gt; &gt; To post to this group, send email to google-appengine@googlegroups.com.</p>
<p>&gt; &gt; To unsubscribe from this group, send email to</p>
<p>&gt; &gt; google-appengine+unsubscribe@googlegroups.com&lt;google-appengine%2Bunsubscribe@googlegroups.com&gt;</p>
<p>&gt; &gt; .</p>
<p>&gt; &gt; For more options, visit this group at</p>
<p>&gt; &gt;http://groups.google.com/group/google-appengine?hl=en.</p>
<p>&gt;</p>
<p>&gt; &#8211;</p>
<p>&gt; You received this message because you are subscribed to the Google Groups &quot;Google App Engine&quot; group.</p>
<p>&gt; To post to this group, send email to google-appengine@googlegroups.com.</p>
<p>&gt; To unsubscribe from this group, send email to google-appengine+unsubscribe@googlegroups.com.</p>
<p>&gt; For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en.</p>
<p>&#8211; </p>
<p>You received this message because you are subscribed to the Google Groups &quot;Google App Engine&quot; group.</p>
<p>To post to this group, send email to google-appengine@googlegroups.com.</p>
<p>To unsubscribe from this group, send email to google-appengine+unsubscribe@googlegroups.com.</p>
<p>For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.</p>
]]></content:encoded>
			<wfw:commentRss>http://techmail.langtags.com/blog/?feed=rss2&amp;p=2520</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RichTextArea and, styleWithCSS</title>
		<link>http://techmail.langtags.com/blog/?p=2330</link>
		<comments>http://techmail.langtags.com/blog/?p=2330#comments</comments>
		<pubDate>Mon, 24 May 2010 12:40:14 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://techmail.langtags.com/blog/?p=2330</guid>
		<description><![CDATA[Hi all,
I have a somewhat small problem with RichTextArea in Firefox.
When the RichTextArea Formatter calls toggleBold and the like, the
html colde that gets added to the text is styled via CSS. Instead of
&#34;&#60;b&#62;sometext &#60;/b&#62;some other text&#34;
we get
&#34;&#60;span style=&#34;font-weight: bold;&#34;&#62;some text &#60;/span&#62;some other text&#34;.
The Formatter make execCommand() calls for the formatting, and in
Firefox by default the <a href="http://techmail.langtags.com/blog/?p=2330" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>Hi all,</p>
<p>I have a somewhat small problem with RichTextArea in Firefox.</p>
<p>When the RichTextArea Formatter calls toggleBold and the like, the</p>
<p>html colde that gets added to the text is styled via CSS. Instead of</p>
<p>&quot;&lt;b&gt;sometext &lt;/b&gt;some other text&quot;</p>
<p>we get</p>
<p>&quot;&lt;span style=&quot;font-weight: bold;&quot;&gt;some text &lt;/span&gt;some other text&quot;.</p>
<p>The Formatter make execCommand() calls for the formatting, and in</p>
<p>Firefox by default the styleWithCSS is set as true.</p>
<p>Is there an easy way to change the value of styleWithCSS to false in</p>
<p>order to not format text with CSS? I&#8217;ve made some attempts to change</p>
<p>styleWithCSS to false and failed miserably.</p>
<p>Thanks in advance,</p>
<p>Saül.</p>
<p>&#8211; </p>
<p>You received this message because you are subscribed to the Google Groups &quot;Google Web Toolkit&quot; group.</p>
<p>To post to this group, send email to google-web-toolkit@googlegroups.com.</p>
<p>To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.</p>
<p>For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.</p>
]]></content:encoded>
			<wfw:commentRss>http://techmail.langtags.com/blog/?feed=rss2&amp;p=2330</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Re: [appengine-python] How much are you charged if you use urllib /  urllib2 but don&#8217;t read the response body</title>
		<link>http://techmail.langtags.com/blog/?p=2529</link>
		<comments>http://techmail.langtags.com/blog/?p=2529#comments</comments>
		<pubDate>Mon, 24 May 2010 12:40:09 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://techmail.langtags.com/blog/?p=2529</guid>
		<description><![CDATA[Hi Anthony,
On Wed, Apr 21, 2010 at 8:26 AM, Anthony &#60;anthonygerrard@gmail.com&#62; wrote:
&#62; Hi,
&#62;
&#62; We&#8217;re investigating using Google App Engine for a new web based
&#62; service we want to sell.  It&#8217;s going to involve a batch job that
&#62; accesses other sites on the internet.  We want to be able to read the
&#62; HTTP headers <a href="http://techmail.langtags.com/blog/?p=2529" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>Hi Anthony,</p>
<p>On Wed, Apr 21, 2010 at 8:26 AM, Anthony &lt;anthonygerrard@gmail.com&gt; wrote:</p>
<p>&gt; Hi,</p>
<p>&gt;</p>
<p>&gt; We&#8217;re investigating using Google App Engine for a new web based</p>
<p>&gt; service we want to sell.  It&#8217;s going to involve a batch job that</p>
<p>&gt; accesses other sites on the internet.  We want to be able to read the</p>
<p>&gt; HTTP headers of the response to a GET request for images (in cases</p>
<p>&gt; when a HEAD request is not supported by the server) but don&#8217;t need to</p>
<p>&gt; access the response body.</p>
<p>&gt;</p>
<p>&gt; If we use urllib / urllib2 to do this will we be charged for the</p>
<p>&gt; bandwidth used by the response body even if we don&#8217;t read any bytes</p>
<p>&gt; from it (via the read / readline / readlines methods)?</p>
<p>&gt;</p>
<p>Yes &#8211; urlfetch is used for all requests, and fetches the entire body before</p>
<p>the request returns.</p>
<p>Why not simply send HEAD requests, though? Fetching the headers without the</p>
<p>data is exactly what the HEAD method is designed for.</p>
<p>-Nick Johnson</p>
<p>&gt;</p>
<p>&gt; We&#8217;re concerned we might be charged because the docs say these</p>
<p>&gt; libraries use Google App Engine&#8217;s fetch service under the covers.</p>
<p>&gt;</p>
<p>&gt; thanks</p>
<p>&gt;</p>
<p>&gt; Anthony</p>
<p>&gt;</p>
<p>&gt; &#8211;</p>
<p>&gt; You received this message because you are subscribed to the Google Groups</p>
<p>&gt; &quot;google-appengine-python&quot; group.</p>
<p>&gt; To post to this group, send email to</p>
<p>&gt; google-appengine-python@googlegroups.com.</p>
<p>&gt; To unsubscribe from this group, send email to</p>
<p>&gt; google-appengine-python+unsubscribe@googlegroups.com&lt;google-appengine-python%2Bunsubscribe@googlegroups.com&gt;</p>
<p>&gt; .</p>
<p>&gt; For more options, visit this group at</p>
<p>&gt; http://groups.google.com/group/google-appengine-python?hl=en.</p>
<p>&gt;</p>
<p>&gt;</p>
<p>&#8211; </p>
<p>Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. ::</p>
<p>Registered in Dublin, Ireland, Registration Number: 368047</p>
<p>Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:</p>
<p>368047</p>
<p>&#8211; </p>
<p>You received this message because you are subscribed to the Google Groups &quot;google-appengine-python&quot; group.</p>
<p>To post to this group, send email to google-appengine-python@googlegroups.com.</p>
<p>To unsubscribe from this group, send email to google-appengine-python+unsubscribe@googlegroups.com.</p>
<p>For more options, visit this group at http://groups.google.com/group/google-appengine-python?hl=en.</p>
<div>Hi Anthony,</div>
<p>
<div class="gmail_quote">On Wed, Apr 21, 2010 at 8:26 AM, Anthony <span dir="ltr">&lt;<a href="mailto:anthonygerrard@gmail.com">anthonygerrard@gmail.com</a>&gt;</span> wrote:<br />
<blockquote class="gmail_quote">
<p>Hi,</p>
<p>We&#39;re investigating using Google App Engine for a new web based<br />
service we want to sell.  It&#39;s going to involve a batch job that<br />
accesses other sites on the internet.  We want to be able to read the<br />
HTTP headers of the response to a GET request for images (in cases<br />
when a HEAD request is not supported by the server) but don&#39;t need to<br />
access the response body.</p>
<p>If we use urllib / urllib2 to do this will we be charged for the<br />
bandwidth used by the response body even if we don&#39;t read any bytes<br />
from it (via the read / readline / readlines methods)?</p></blockquote>
<div></div>
<div>Yes &#8211; urlfetch is used for all requests, and fetches the entire body before the request returns.</div>
<div></div>
<div>Why not simply send HEAD requests, though? Fetching the headers without the data is exactly what the HEAD method is designed for.</div>
<div></div>
<div>-Nick Johnson</div>
<div> </div>
<blockquote class="gmail_quote"><p>
<br />
We&#39;re concerned we might be charged because the docs say these<br />
libraries use Google App Engine&#39;s fetch service under the covers.</p>
<p>thanks</p>
<p>Anthony<br />
<font color="#888888"><br />
&#8211;<br />
You received this message because you are subscribed to the Google Groups &quot;google-appengine-python&quot; group.<br />
To post to this group, send email to <a href="mailto:google-appengine-python@googlegroups.com">google-appengine-python@googlegroups.com</a>.<br />
To unsubscribe from this group, send email to <a href="mailto:google-appengine-python%2Bunsubscribe@googlegroups.com">google-appengine-python+unsubscribe@googlegroups.com</a>.<br />
For more options, visit this group at <a href="http://groups.google.com/group/google-appengine-python?hl=en" target="_blank">http://groups.google.com/group/google-appengine-python?hl=en</a>.</p>
<p></font></p></blockquote>
</div>
<p>&#8211; <br />Nick Johnson, Developer Programs Engineer, App Engine<br />
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047<br />
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047</p>
<p>&#8211; <br />
You received this message because you are subscribed to the Google Groups &#8220;google-appengine-python&#8221; group.<br />
To post to this group, send email to google-appengine-python@googlegroups.com.<br />
To unsubscribe from this group, send email to google-appengine-python+unsubscribe@googlegroups.com.</p>
<p>For more options, visit this group at http://groups.google.com/group/google-appengine-python?hl=en.</p>
]]></content:encoded>
			<wfw:commentRss>http://techmail.langtags.com/blog/?feed=rss2&amp;p=2529</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Issue with deferred binding</title>
		<link>http://techmail.langtags.com/blog/?p=2164</link>
		<comments>http://techmail.langtags.com/blog/?p=2164#comments</comments>
		<pubDate>Mon, 24 May 2010 12:37:55 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://techmail.langtags.com/blog/?p=2164</guid>
		<description><![CDATA[[Sorry in advance for the lengthy post, I just posted this question
over on stack overflow and copy/pasted the question here for more
visibilty, so this is formatted with markup and all links referenced
are at the bottom of the post]
I developed a web app using GWT about 2 years ago, since then the
application has evolved.  In <a href="http://techmail.langtags.com/blog/?p=2164" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>[Sorry in advance for the lengthy post, I just posted this question</p>
<p>over on stack overflow and copy/pasted the question here for more</p>
<p>visibilty, so this is formatted with markup and all links referenced</p>
<p>are at the bottom of the post]</p>
<p>I developed a web app using GWT about 2 years ago, since then the</p>
<p>application has evolved.  In its current state it relies on fetching a</p>
<p>single XML file and parsing the information from it.  Overall this</p>
<p>works great.  A requirement of this app is that it needs to be able to</p>
<p>be ran from the filesystem (file:///..) as well as the traditional</p>
<p>model of running from a webserver (http://&#8230;)</p>
<p>Fetching this file from a webserver works exactly as expected using a</p>
<p>[RequestBuilder][1] object.  When running the app from the filesystem</p>
<p>Firefox, Opera, Safari, and Chrome all behave as expected.  When</p>
<p>running the app from the filesystem using IE7 or IE8 the</p>
<p>[RequestBuilder.send()][2] call fails, the information about the error</p>
<p>suggests that there is a problem accessing the file due to violating</p>
<p>the [same origin policy][3].</p>
<p>The app worked as expected in IE6 but not in IE7 or IE8.</p>
<p>So I looked at the source code of [RequestBuilder.java][4] and saw</p>
<p>that the actual request was being executed with an XMLHttpRequest GWT</p>
<p>object.  So I looked at the source code for [XMLHttpRequest.java][5]</p>
<p>and found out some information.</p>
<p>Here is the code (starts at line 83 in XMLHttpRequest.java)</p>
<p>      public static native XMLHttpRequest create() /*-{</p>
<p>        if ($wnd.XMLHttpRequest) {</p>
<p>          return new XMLHttpRequest();</p>
<p>        } else {</p>
<p>          try {</p>
<p>            return new ActiveXObject(&#8216;MSXML2.XMLHTTP.3.0&#8242;);</p>
<p>          } catch (e) {</p>
<p>            return new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);</p>
<p>          }</p>
<p>        }</p>
<p>      }-*/;</p>
<p>So basically if an XMLHttpRequest cannot be created (like in IE6</p>
<p>because it is not available) an ActiveXObject is used instead.</p>
<p>I read up a little bit more on the IE implementation of</p>
<p>XMLHttpRequest, and it appears that it is only supported for</p>
<p>interacting with files on a webserver.</p>
<p>I found a setting in IE8 (Tools-&gt;Internet Options-&gt;Advanced-&gt;Security-</p>
<p>&gt;Enable native XMLHTTP support), when I uncheck this box my app</p>
<p>works.  I assume this is because I am more of less telling IE to not</p>
<p>use their implementation of XmlHttpRequest, so GWT just uses an</p>
<p>ActiveXObject because it doesn&#8217;t think the native XmlHttpRequest is</p>
<p>available.</p>
<p>This fixes the problem, but is hardly a long term solution.</p>
<p>I can currently catch a failed send request and verify that it was</p>
<p>trying to fetch the XML file from the filesystem using normal GWT.</p>
<p>What I would like to do in this case is catch the IE7 and IE8 case and</p>
<p>have them use a ActiveXObject instead of a native XmlHttpRequest</p>
<p>object.</p>
<p>There was a posting on the GWT google group that had a supposed</p>
<p>solution for this problem ([link][6]).  Looking at it I can tell that</p>
<p>it was created for an older version of GWT.  I am using the latest</p>
<p>release and think that this is more or less what I would like to do</p>
<p>(use [GWT deferred binding][7] to detect a specific browser type and</p>
<p>run my own implementation of XMLHttpRequest.java in place of the built</p>
<p>in GWT implementation).</p>
<p>Here is the code that I am trying to use</p>
<p>    package com.mycompany.myapp.client;</p>
<p>    import com.google.gwt.xhr.client.XMLHttpRequest;</p>
<p>    public class XMLHttpRequestIE7or8 extends XMLHttpRequest</p>
<p>    {</p>
<p>        // commented out the &quot;override&quot; so that eclipse and the ant</p>
<p>build script don&#8217;t throw errors</p>
<p>        //@Override</p>
<p>        public static native XMLHttpRequest create()</p>
<p>        /*-{</p>
<p>            try</p>
<p>           {</p>
<p>                return new ActiveXObject(&#8216;MSXML2.XMLHTTP.3.0&#8242;);</p>
<p>           }</p>
<p>           catch (e)</p>
<p>           {</p>
<p>               return new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);</p>
<p>           }</p>
<p>        }-*/;</p>
<p>        // have an empty protected constructor so the ant build script</p>
<p>doesn&#8217;t throw errors</p>
<p>        // the actual XMLHttpRequest constructor is empty as well so</p>
<p>this shouldn&#8217;t cause any problems</p>
<p>        protected XMLHttpRequestIE7or8()</p>
<p>        {</p>
<p>        }</p>
<p>    };</p>
<p>And here are the lines that I added to my module xml</p>
<p>    &lt;replace-with</p>
<p>class=&quot;com.mycompany.myapp.client.XMLHttpRequestIE7or8&quot;&gt;</p>
<p>        &lt;when-type-is class=&quot;com.google.gwt.xhr.client.XMLHttpRequest&quot;/</p>
<p>&gt;</p>
<p>        &lt;any&gt;</p>
<p>            &lt;when-property-is name=&quot;user.agent&quot; value=&quot;ie7&quot; /&gt;</p>
<p>            &lt;when-property-is name=&quot;user.agent&quot; value=&quot;ie8&quot; /&gt;</p>
<p>        &lt;/any&gt;</p>
<p>    &lt;/replace-with&gt;</p>
<p>From what I can tell this should work, but my code never runs.</p>
<p>Does anyone have any idea of what I am doing wrong?</p>
<p>Should I not do this via deferred binding and just use native</p>
<p>javascript when I catch the fail case instead?</p>
<p>Is there a different way of approaching this problem that I have not</p>
<p>mentioned?</p>
<p>All replies are welcome.</p>
<p>  [1]: http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/http/client/RequestBuilder.html</p>
<p>  [2]: http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/http/client/RequestBuilder.html#send%28%29</p>
<p>  [3]: http://en.wikipedia.org/wiki/Same_origin_policy</p>
<p>  [4]: http://code.google.com/p/google-web-toolkit/source/browse/releases/2.0/user/src/com/google/gwt/http/client/RequestBuilder.java</p>
<p>  [5]: http://code.google.com/p/google-web-toolkit/source/browse/releases/2.0/user/src/com/google/gwt/xhr/client/XMLHttpRequest.java</p>
<p>  [6]: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/3a3935fe1534a486</p>
<p>  [7]: http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsDeferred.html</p>
<p>&#8211; </p>
<p>You received this message because you are subscribed to the Google Groups &quot;Google Web Toolkit&quot; group.</p>
<p>To post to this group, send email to google-web-toolkit@googlegroups.com.</p>
<p>To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.</p>
<p>For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.</p>
]]></content:encoded>
			<wfw:commentRss>http://techmail.langtags.com/blog/?feed=rss2&amp;p=2164</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

