<?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>Dave Page &#187; Software</title>
	<atom:link href="http://chwalisz.org/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://chwalisz.org</link>
	<description>Stuff</description>
	<lastBuildDate>Sun, 06 May 2012 23:35:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Canon MF5470dw</title>
		<link>http://chwalisz.org/2012/03/18/canon-mf5470dw/</link>
		<comments>http://chwalisz.org/2012/03/18/canon-mf5470dw/#comments</comments>
		<pubDate>Sun, 18 Mar 2012 15:34:36 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[canon]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[mistake]]></category>
		<category><![CDATA[noob]]></category>
		<category><![CDATA[printer]]></category>
		<category><![CDATA[support]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=868</guid>
		<description><![CDATA[<p>Just got a new Canon MF5470dw print/fax/scan laser. Printed, but no scan. Helps if you don&#8217;t set it at the same IP address as the HP DeskJet. Stupid noob mistake. Works great with Vuescan!</p>]]></description>
			<content:encoded><![CDATA[<div class='wb_fb_top'><div style="float:right;"></div></div><p>Just got a new Canon MF5470dw print/fax/scan laser. Printed, but no scan. Helps if you don&#8217;t set it at the same IP address as the HP DeskJet. Stupid noob mistake. Works great with <a href="http://hamrick.com/">Vuescan</a>!</p>
<div class='wb_fb_comment'><br/></div>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2012/03/18/canon-mf5470dw/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH public key and Bitbucket</title>
		<link>http://chwalisz.org/2011/11/26/ssh-public-key/</link>
		<comments>http://chwalisz.org/2011/11/26/ssh-public-key/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 16:16:56 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=833</guid>
		<description><![CDATA[<p>So I use Bitbucket to host several private Hg repos, all working great from Windows via Putty and Pageant.</p> <p>Today I tried to update the local repo.</p> C:\bin\app>hg pull sending hello command sending between command abort: no suitable response from remote hg! <p>WTF? Tried different machines, other accounts, same problem.</p> <p>Bit of Googling&#8230; some users [...]]]></description>
			<content:encoded><![CDATA[<div class='wb_fb_top'><div style="float:right;"></div></div><p>So I use <a href="https://bitbucket.org/">Bitbucket</a> to host several private Hg repos, all working great from Windows via Putty and Pageant.</p>
<p>Today I tried to update the local repo.</p>
<pre>C:\bin\app>hg pull
sending hello command
sending between command
abort: no suitable response from remote hg!</pre>
<p>WTF? Tried different machines, other accounts, same problem.</p>
<p>Bit of Googling&#8230; some users report Bitbucket messes up the public keys, at arbitrary times, as they all share the hg user.<br />
Updated the public key on Bitbucket with the SAME value. It even looked different, like it was missing a character. Now it works&#8230;</p>
<pre>C:\bin\app>hg pull
pulling from ssh://<span class="oe_textdirection">&#x6d;&#x6f;&#x63;&#x2e;&#x74;&#x66;&#x6f;&#x73;&#x63;&#x61;&#x64;&#x2e;&#x67;&#x68;<span class="oe_displaynone">null</span>&#x40;&#x67;&#x68;</span>/dacsoft/bin
searching for changes
no changes found</pre>
<p>Go figure.</p>
<div class='wb_fb_comment'><br/></div>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2011/11/26/ssh-public-key/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dumping a Java object ID to a string</title>
		<link>http://chwalisz.org/2011/10/04/dumping-a-java-object-id-to-a-string/</link>
		<comments>http://chwalisz.org/2011/10/04/dumping-a-java-object-id-to-a-string/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 18:17:17 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=811</guid>
		<description><![CDATA[<p>I have wanted to do this in the past, never found the code. I found this handy code here recently. Wanted to save it here. Thanks, dude.</p> <p> You can also handily convert an integer to a hex string using the Integer class, so you can get the value that would come after the @ [...]]]></description>
			<content:encoded><![CDATA[<div class='wb_fb_top'><div style="float:right;"></div></div><p>I have wanted to do this in the past, never found the code. I found this handy code <a href="http://www.nomachetejuggling.com/2008/06/04/getting-a-java-objects-reference-id/" target="_blank">here</a> recently. Wanted to save it here. Thanks, dude.</p>
<blockquote><p>
You can also handily convert an integer to a hex string using the Integer class, so you can get the value that would come after the @ in a default toString() implementation by calling this:</p>
<div id="highlighter_108191">
<div>
<div>
<table>
<tbody>
<tr>
<td><code>Integer.toHexString(System.identityHashCode(object))</code></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</blockquote>
<div class='wb_fb_comment'><br/></div>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2011/10/04/dumping-a-java-object-id-to-a-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centos Fun with a locked Boot. Thanks, Hudson 2.1.1.</title>
		<link>http://chwalisz.org/2011/09/02/centos-fun-with-a-locked-boot-thanks-hudson-2-1-1/</link>
		<comments>http://chwalisz.org/2011/09/02/centos-fun-with-a-locked-boot-thanks-hudson-2-1-1/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 21:55:29 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=787</guid>
		<description><![CDATA[<p>Say the Hudson script locks up during boot, for example, after you upgrade to 2.1.1 and it does not work and someone said removing the &#8211;daemon argument makes it work and something else fails so you roll back the hudson.war and restart and it now locks up on boot. No SSH &#8211; sshd is the [...]]]></description>
			<content:encoded><![CDATA[<div class='wb_fb_top'><div style="float:right;"></div></div><p>Say the Hudson script locks up during boot, for example, after you upgrade to 2.1.1 and it does not work and someone said removing the &#8211;daemon argument makes it work and something else fails so you roll back the hudson.war and restart and it now locks up on boot. No SSH &#8211; sshd is the next service to load. I had to &#8220;power down&#8221; the VM, and tried to &#8220;<a href="http://www.cyberciti.biz/tips/10-boot-time-parameters-you-should-know-about-the-linux-kernel.html">force the runlevel</a>&#8220;: several ways, say, using &#8220;init=/bin/sh 3&#8243;. Nothing worked. </p>
<p>The obvious thing is to do the Interactive Boot (type I). Someone said this didn&#8217;t work, so I didn&#8217;t try. Liars. Worked great. Said &#8220;Y&#8221; until I hit Hudson, typed &#8220;N&#8221;, and then &#8220;C&#8221;ontinue&#8230; voila!</p>
<p>2.1.1 has some problems. Wait until 2.1.2 at least.</p>
<div class='wb_fb_comment'><br/></div>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2011/09/02/centos-fun-with-a-locked-boot-thanks-hudson-2-1-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading Atahualpa</title>
		<link>http://chwalisz.org/2011/07/31/upgrading-atahualpa/</link>
		<comments>http://chwalisz.org/2011/07/31/upgrading-atahualpa/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 02:00:33 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Atahualpa]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=776</guid>
		<description><![CDATA[<p>Did you know that if you upgrade the Atahualpa theme from the Update page in the WordPress Admin, it deletes all the custom header images in your website? </p> <p>Me neither.</p>]]></description>
			<content:encoded><![CDATA[<div class='wb_fb_top'><div style="float:right;"></div></div><p>Did you know that if you upgrade the <a href="http://wordpress.bytesforall.com/">Atahualpa</a> theme from the Update page in the WordPress Admin, it deletes all the custom header images in your website? </p>
<p>Me neither.</p>
<div class='wb_fb_comment'><br/></div>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2011/07/31/upgrading-atahualpa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading WordPress in Bulk</title>
		<link>http://chwalisz.org/2011/04/17/upgrading-wordpress-in-bulk/</link>
		<comments>http://chwalisz.org/2011/04/17/upgrading-wordpress-in-bulk/#comments</comments>
		<pubDate>Sun, 17 Apr 2011 15:05:54 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[maintenance]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=749</guid>
		<description><![CDATA[<p>Of course there is the old faithful Updating_WordPress_with_Subversion and Upgrading_WordPress_Extended, but there is a lot of fluff there. Old blogs are &#8220;You are using WordPress 2.9.1&#8243;. Show me the command lines.</p> <p>Certainly.</p> &#8220;Backup your database. Read Backing Up Your Database for a detailed explanation.&#8221; Use Plugin WP-DB-Backup from http://austinmatzko.com/wordpress-plugins/wp-db-backup/ Download it &#8211; make sure the copy is here. [...]]]></description>
			<content:encoded><![CDATA[<div class='wb_fb_top'><div style="float:right;"></div></div><p>Of course there is the old faithful <a href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion">Updating_WordPress_with_Subversion</a> and <a href="http://codex.wordpress.org/Upgrading_WordPress_Extended">Upgrading_WordPress_Extended</a>, but there is a lot of fluff there. Old blogs are &#8220;You are using WordPress 2.9.1&#8243;. Show me the command lines.</p>
<p>Certainly.</p>
<ul>
<li>&#8220;Backup your database. Read <a href="http://codex.wordpress.org/Backing_Up_Your_Database#Using_WordPress_Database_Backup_Plugin">Backing Up Your Database</a> for a detailed explanation.&#8221;
<ul>
<li>Use Plugin WP-DB-Backup from http://austinmatzko.com/wordpress-plugins/wp-db-backup/</li>
<li>Download it &#8211; make sure the copy is here. Open it up.</li>
</ul>
</li>
<li>&#8220;Backup ALL your WordPress files in your WordPress directory. Don&#8217;t forget your .htaccess file.&#8221;
<ul>
<li>Make a local shadow directory
<ul>
<li><code>$ rsync -vur ./sarajane/ ./backups/sarajane-snapshot-20110416/</code></li>
</ul>
</li>
<li>Make a tar file for download for archive</li>
<li><code>$ tar cvf sarajane-snapshot-20110416.tar sarajane/</code></li>
<li><code>$ gzip sarajane-snapshot-20110416.tar</code></li>
<li>Verify the backups you created are there and usable. This is essential.</li>
</ul>
</li>
<li>&#8220;Deactivate ALL your Plugins.&#8221;</li>
<li>&#8220;Ensure first four steps are completed. Do not attempt the upgrade unless you have completed the first four steps.&#8221;</li>
<li>Gotta upgrade the MYSQL Database? I did&#8230; The nice thing is, use two different ones. Since you saved the original directory, you can switch back to old state and db by replacing the directory.
<ul>
<li>Per <a href="http://codex.wordpress.org/Backing_Up_Your_Database#Backing_Up_the_Database">Backing_Up_the_Database </a>
<ul>
<li><code>$ mysqldump --add-drop-table -h mysqlservername  -u mysqlusername -p dbname&gt; ms-db-backup-20110416.sql</code></li>
</ul>
</li>
</ul>
<ul>
<li>Per <a href="http://codex.wordpress.org/Restoring_Your_Database_From_Backup">Restoring_Your_Database_From_Backup</a>
<ul>
<li><code>$ mysql -h mysqlservername -u mysqlusername-p dbname&lt; ms-db-backup-20110416.sql</code></li>
</ul>
</li>
</ul>
</li>
<li>edit wp-config.php (save the old one)<a href="http://codex.wordpress.org/Restoring_Your_Database_From_Backup"></a></li>
<li><code>$ cp wp-config.php wp-config.php.save</code></li>
<li><code>$ vi wp-config.php ...</code></li>
<li>Use new SVN install into new folder</li>
<ul>
<li><code>$ mkdir sarajane2</code></li>
<li><code>$ cd sarajane2</code></li>
<li><code>$ svn co http://core.svn.wordpress.org/tags/3.1.1 .</code></li>
</ul>
</li>
<li>Copy these files from your old site to the new
<ul>
<li><code>$ export OLDBLOG=$HOME/sarajane</code></li>
<li><code>$ export NEWBLOG=$HOME/sarajane2</code></li>
<li><code>$ cp $OLDBLOG/wp-config.php $NEWBLOG/</code></li>
<li><code>$ ls $OLDBLOG/wp-content/cache</code></li>
<li><code>$ rm -rf $OLDBLOG/wp-content/cache</code></li>
<li><code>$ ls $OLDBLOG/wp-content/plugins/widgets</code></li>
<li><code> $ rm -rf $OLDBLOG/wp-content/plugins/widgets</code></li>
<li><code>$ rsync -vur --exclude=.svn/  $OLDBLOG/wp-content/ $NEWBLOG/wp-content</code></li>
</ul>
</li>
<li># this only is in older WP installs
<ul>
<li><code>$ rsync -vur --exclude=.svn/  $OLDBLOG/wp-images/ $NEWBLOG/wp-images</code></li>
<li><code>$ cp sarajane/.htaccess sarajane2</code></li>
</ul>
</li>
<li>Swap directories
<ul>
<li><code>$ mv sarajane sarajane0</code></li>
<li><code>$ mv sarajane2 sarajane</code></li>
</ul>
</li>
<li>Hit the upgrade link
<ul>
<li><a href="http://sarajane.info/wp-admin/upgrade.php">http://localhost/wp-admin/upgrade.php</a></li>
</ul>
</li>
</ul>
<p>Atualhalpa stores settings in the database, so you don&#8217;t have to copy anything.</p>
<div class='wb_fb_comment'><br/></div>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2011/04/17/upgrading-wordpress-in-bulk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Epsilon woes</title>
		<link>http://chwalisz.org/2011/04/05/epsilon-woes/</link>
		<comments>http://chwalisz.org/2011/04/05/epsilon-woes/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 02:18:36 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[epsilon]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=743</guid>
		<description><![CDATA[<p>Walgreens. Chase. 1800Flowers.com. Target.</p> <p>Dear 1800Flowers.com Customer:</p> <p>One of our email service providers, Epsilon, has informed us that we are among a group of companies affected by a data breach that may have exposed your email address to unauthorized third parties. It&#8217;s important to know that this incident did not involve other account or personally [...]]]></description>
			<content:encoded><![CDATA[<div class='wb_fb_top'><div style="float:right;"></div></div><p>Walgreens.<br />
Chase.<br />
1800Flowers.com.<br />
Target.</p>
<blockquote><p>Dear 1800Flowers.com Customer:</p>
<p>One of our email service providers, Epsilon, has informed us that we<br />
are among a group of companies affected by a data breach that may<br />
have exposed your email address to unauthorized third parties.<br />
It&#8217;s important to know that this incident did not<br />
involve other account or personally identifiable information.<br />
We use permission-based email service providers such as Epsilon<br />
to help us manage email communications to our customers.</p></blockquote>
<p>Jeez, doesn&#8217;t anyone do their own email anymore? </p>
<p>Seems to be a lot of new spam. <a href="http://getpopfile.org/">Popfile</a> is getting most of it, but some new stuff in the Inbox. Morons.</p>
<div class='wb_fb_comment'><br/></div>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2011/04/05/epsilon-woes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>osql -&gt; isql -&gt; aargh on Ubuntu</title>
		<link>http://chwalisz.org/2011/03/17/osql-isql-aargh-on-ubuntu/</link>
		<comments>http://chwalisz.org/2011/03/17/osql-isql-aargh-on-ubuntu/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 22:02:48 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=732</guid>
		<description><![CDATA[<p>Trying to set up ODBC on Ubuntu. osql is a great script to test it out, but running it on Ubuntu 10.10:</p> <p>root:~# osql -S fcstest -U sa -P ***** osql: error: no potential directory strings in "/usr/local/bin/isql" isql strings are: + /lib/ld-linux.so.2 </p> <p>So inspecting the code, I can extract the meaningful parts on [...]]]></description>
			<content:encoded><![CDATA[<div class='wb_fb_top'><div style="float:right;"></div></div><p>Trying to set up ODBC on Ubuntu. osql is a great script to test it out, but running it on Ubuntu 10.10:</p>
<p><code>root:~# osql  -S fcstest -U sa -P *****<br />
osql: error: no potential directory strings in "/usr/local/bin/isql"<br />
isql strings are:<br />
+ /lib/ld-linux.so.2<br />
</code></p>
<p>So inspecting the code, I can extract the meaningful parts on RHEL, where it works:</p>
<p><code>ISQL=$(command -v isql)<br />
strings ${ISQL} | grep ^/<br />
/lib64/ld-linux-x86-64.so.2<br />
/usr/local/lib<br />
</code></p>
<p>but on Ubuntu, the same sequence:</p>
<p><code>dchwalis:/usr/local/src$ strings ${ISQL} | grep ^/<br />
/lib/ld-linux.so.2<br />
</code></p>
<p>Note the missing /usr/local/lib &#8211; the grep filters following will NEVER find any strings&#8230;</p>
<p>Maybe we should do this: RHEL:</p>
<p><code>$ ldd /usr/local/bin/isql<br />
        libodbc.so.1 => /usr/local/lib/libodbc.so.1 (0x00002b5b76eb4000)<br />
        ...<br />
</code></p>
<p>and Ubuntu:</p>
<p><code>root:/usr/local/bin# ldd  isql<br />
	libodbc.so.1 => /usr/local/lib/libodbc.so.1 (0x001cd000)<br />
</code></p>
<p>We can pull a path from that!</p>
<div class='wb_fb_comment'><br/></div>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2011/03/17/osql-isql-aargh-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hudson, Git and the extra space</title>
		<link>http://chwalisz.org/2011/03/16/hudson-git-and-the-extra-space/</link>
		<comments>http://chwalisz.org/2011/03/16/hudson-git-and-the-extra-space/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 22:24:24 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=730</guid>
		<description><![CDATA[<p>At work I am installing a new Hudson slave for continuous integration. Everything works great, using the Tanuki Java Service Wrapper to fire up the slave.jar, but when it comes time to run the build, it fails: </p> <p>Started by user anonymous Building remotely on warehouse_build_slave Checkout:WarehousePortal_Rake / /var/hudson/workspace/WarehousePortal_Rake - hudson.remoting.Channel@26c81672:warehouse_build_slave Using strategy: Default Checkout:WarehousePortal_Rake [...]]]></description>
			<content:encoded><![CDATA[<div class='wb_fb_top'><div style="float:right;"></div></div><p>At work I am installing a new Hudson slave for continuous integration. Everything works great, using the Tanuki Java Service Wrapper to fire up the slave.jar, but when it comes time to run the build, it fails: </p>
<p><code>Started by user anonymous<br />
Building remotely on warehouse_build_slave<br />
Checkout:WarehousePortal_Rake / /var/hudson/workspace/WarehousePortal_Rake - hudson.remoting.Channel@26c81672:warehouse_build_slave<br />
Using strategy: Default<br />
Checkout:WarehousePortal_Rake / /var/hudson/workspace/WarehousePortal_Rake - hudson.remoting.LocalChannel@1e9b7b2<br />
Cloning the remote Git repository<br />
Cloning repository origin<br />
ERROR: Error cloning remote repo 'origin' : Could not clone ssh://XXXXXX.XXX/git/projectname<br />
ERROR: Cause: Error performing command: /usr/local/bin/git  clone -o origin ssh://XXXXXXX.XXX/git/projectname /var/hudson/workspace/projectname_rake<br />
Cannot run program "/usr/local/bin/git ": java.io.IOException: error=2, No such file or directory<br />
Trying next repository<br />
ERROR: Could not clone repository<br />
FATAL: Could not clone<br />
hudson.plugins.git.GitException: Could not clone<br />
	at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:880)<br />
	at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:812)<br />
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1899)<br />
	at hudson.remoting.UserRequest.perform(UserRequest.java:114)<br />
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)<br />
	at hudson.remoting.Request$2.run(Request.java:270)<br />
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)<br />
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)<br />
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)<br />
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br />
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br />
	at hudson.remoting.Engine$1$1.run(Engine.java:58)<br />
	at java.lang.Thread.run(Thread.java:662)<br />
</code></p>
<p>Lots of Googling. Pulled down the source for Hudson, opened in Eclipse. Pulled down the Git plugin source. Reviewed the setup with other Hudson slaves. Looks great. But it doesn&#8217;t work. </p>
<p>Run <code>/usr/local/bin/git  clone -o origin ssh://XXXXXXX.XXX/git/projectname /var/hudson/workspace/projectname_rake</code> from the shell. Works great.</p>
<p>Permissions good. Using /usr/local/bin/git to launch. Replaced with a shell script and could echo out some stuff. The dang thing is running!</p>
<p>Finally poking around in hudson.Util.ArgumentListBuilder.<br />
<code>if(arg.indexOf(' ')>=0 || arg.length()==0)<br />
                buf.append('"').append(arg).append('"');<br />
            else<br />
                buf.append(arg);<br />
        }<br />
</code></p>
<p>Oh no. If there is a space in the program name it will double quote it. </p>
<p>Open Manage Hudson, Configure System. Check the git &#8220;Path to Git executable&#8221;.  It is &#8220;/usr/local/bin/git &#8221; with a space at the end. Just like in the log:<br />
<code> Cannot run program "/usr/local/bin/git ": java.io.IOException: error=2, No such file or directory</code></p>
<p>Remove the space. Fixed. 3 hours I will never get back.</p>
<div class='wb_fb_comment'><br/></div>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2011/03/16/hudson-git-and-the-extra-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hero to Optimus S</title>
		<link>http://chwalisz.org/2010/11/17/hero-to-maximus/</link>
		<comments>http://chwalisz.org/2010/11/17/hero-to-maximus/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 03:47:58 +0000</pubDate>
		<dc:creator>dave</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Stuff]]></category>

		<guid isPermaLink="false">http://chwalisz.org/?p=673</guid>
		<description><![CDATA[<p>So why did I switch to an Android phone with the name like an old Radio Shack speaker brand? My brother likes to get new phones especially since we&#8217;re on a two-year family plan contract from other phones, so he grabbed one of the LG Optimus phones. He played with it for a few days, [...]]]></description>
			<content:encoded><![CDATA[<div class='wb_fb_top'><div style="float:right;"></div></div><p>So why did I switch to an Android phone with the name like an old Radio Shack speaker brand? My brother likes to get new phones especially since we&#8217;re on a two-year family plan contract from other phones, so he grabbed one of the LG Optimus phones. He played with it for a few days, then dumped it on me, and I kinda like it.</p>
<p>The LG Optimus S is about the same size as the Hero, same screen, slightly different buttons and no roller pad which I never really used any way except to activate the Hero camera. The HTC sense interface is much fancier and has much better eye candy, but I like lots of space for apps and a clean look, and with the new android 2.2 I can now install apps on to the SD card. the hero has a 5.0 megapixel camera, the LG only 3.2 megapixel. Better not forget my camera. The Optimus also seems much zippier, menus open and close faster, and the phone just seems more responsive. Not sure if that&#8217;s the 2.2, or better processor. It also has the Swype keyboard, with which I played with a little bit and am still trying to get used to. Battery life seems reasonable; I am not a power caller, but it will hold a charge with a few calls for a day or day and a half, and I just plug it into the computer.</p>
<p>So now I have to take inventory of the apps on the Hero. </p>
<p>Airhorn, Dan&#8217;s Blocks, SoundHound, Graffiti and 8pen keyboards, Dex Mobile, Barcode Scanner, KeePassDroid, Google Maps, Wi-fi Ruler, Dog Whistler, Skype, Instant Heart Rate (finger on the camera &#8211; neat trick), Dictionary.com, Twitter (unused), Compass, Dolphin Browser, Yelp, Pandora radio, Whoopie Cushion, My Tracks, Color Flashlight, GPS test, Bluetooth on/off, Advanced Task Killer (not needed, I guess, especially for android 2.2), Any Cut, ASTRO File Manager, Ringer Toggle Widget, WBEZ radio, and Curvefish GPS on/off. Holy cow, I guess one of those backup utilities would be a good idea. Yesterday when I  started replacing the apps I&#8217;ve found that a lot of them were not compatible with Android 2.2. This included the Graffiti keyboard by Access, which I enjoy, except now I&#8217;m starting to see advertisements on the finger pad. Just charge me already. Also, some of the apps that I bought are on a different e-mail address. One is the London Journey app, which was really nice, but is only useful in London, and then only with a wi-fi connection because my phones are CDMA, not GSM. And I just went with the stock power control widget, and left a few out, since I did not use them.</p>
<p>Google account sync went flawlessly, contacts are imported from two different Google accounts, manually entered from phone contacts on the Hero, and calendars are ready to go. they use the navigation app from Google, and I do like the way it works much better than Sprint one, except the Sprint may have voices are much clearer and easier to understand. So far, so good.</p>
<div class='wb_fb_comment'><br/></div>]]></content:encoded>
			<wfw:commentRss>http://chwalisz.org/2010/11/17/hero-to-maximus/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

