<?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>about:benjie &#187; error handling</title>
	<atom:link href="http://www.benjiegillam.com/tag/error-handling/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.benjiegillam.com</link>
	<description>Benjie Gillam&#039;s blog, and home of MythPyWii - probably the best Wii remote (Wiimote) interface to MythTV - see sidebar.</description>
	<lastBuildDate>Tue, 06 Apr 2010 14:14:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>New (Minor) MythPyWii Release (r15)</title>
		<link>http://www.benjiegillam.com/2008/09/new-minor-mythpywii-release-r15/</link>
		<comments>http://www.benjiegillam.com/2008/09/new-minor-mythpywii-release-r15/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 08:08:45 +0000</pubDate>
		<dc:creator>Benjie</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MythPyWii]]></category>
		<category><![CDATA[MythTV]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[error handling]]></category>
		<category><![CDATA[feedback]]></category>

		<guid isPermaLink="false">http://www.benjiegillam.com/?p=150</guid>
		<description><![CDATA[Image via Wikipedia Thanks to a heads up from Sam, I have updated the MythPyWii script with better error handling and more informative feedback messages. Hopefully now when you run the script you will know what to do! I&#8217;ve also fixed a few minor bugs in the documentation. As always, you can download the latest [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; float: right; display: block;"><a href="http://commons.wikipedia.org/wiki/Image:Bash_screenshot.png"><img style="border: medium none; display: block;" src="http://upload.wikimedia.org/wikipedia/commons/thumb/e/e7/Bash_screenshot.png/202px-Bash_screenshot.png" alt="Screenshot of a sample Bash session, taken on ..." /></a><span class="zemanta-img-attribution">Image via <a href="http://commons.wikipedia.org/wiki/Image:Bash_screenshot.png">Wikipedia</a> </span></div>
<p>Thanks to a heads up from Sam, I have updated the MythPyWii script with better error handling and more informative feedback messages. Hopefully now when you run the script you will know what to do! I&#8217;ve also fixed a few minor bugs in the documentation.</p>
<p>As always, you can download the latest version of MythPyWii <a title="MythPyWii latest version download and instructions" href="http://www.benjiegillam.com/mythpywii-installation/">here</a>.</p>
<p>I should probably make a GUI for MythPyWii at some point&#8230; though it seems a little pointless at the moment. I could allow you to change the controls to your liking, I spose&#8230;</p>
<p><strong>UPDATE</strong>: If you&#8217;re getting errors like:</p>
<blockquote><p>$ myth_py_wii.py<br />
Please open Mythfrontend and then press 1&amp;2 on the wiimote&#8230;<br />
Connected to a wiimote <img src='http://www.benjiegillam.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Logged in to MythFrontend<br />
TypeError: wmcb() takes exactly 2 arguments (3 given)<br />
TypeError: wmcb() takes exactly 2 arguments (3 given)<br />
TypeError: wmcb() takes exactly 2 arguments (3 given)<br />
TypeError: wmcb() takes exactly 2 arguments (3 given)</p></blockquote>
<p>Then you have a more up to date version of cwiid than me. The fix is simple &#8211; change line 141:<br />
def wmcb(self, messages):<br />
to:<br />
def wmcb(self, messages<strong>, timeIgnore</strong>):</p>
<p>Thanks to Mike H for pointing out this issue.</p>
<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://www.linux.com/feature/145949">Dress up your Python scripts with EasyGui</a></li>
</ul>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/cee41f52-af92-4108-aa88-c7472551c21d/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_c.png?x-id=cee41f52-af92-4108-aa88-c7472551c21d" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.benjiegillam.com/2008/09/new-minor-mythpywii-release-r15/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
