<?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>Christoffer Kjølbæk &#187; Hardy</title>
	<atom:link href="http://ostehamster.dk/blog/index.php/category/hardy/feed/" rel="self" type="application/rss+xml" />
	<link>http://ostehamster.dk/blog</link>
	<description>I have a blog, therefore I am…</description>
	<lastBuildDate>Tue, 03 Jan 2012 22:37:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Pytrainer in Ubuntu 8.04 Hardy Heron</title>
		<link>http://ostehamster.dk/blog/index.php/2008/05/03/pytrainer-in-ubuntu-804-hardy-heron/</link>
		<comments>http://ostehamster.dk/blog/index.php/2008/05/03/pytrainer-in-ubuntu-804-hardy-heron/#comments</comments>
		<pubDate>Sat, 03 May 2008 14:02:56 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Hardy]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Running]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/index.php/2008/05/03/pytrainer-in-ubuntu-804-hardy-heron/</guid>
		<description><![CDATA[Pytrainer didn’t work for me under Ubuntu 8.04, because my Garmin Forerunner wasn’t attached to /dev/ttyUSBx something which Pytrainer assumes. To use gpsbabel and Garmin Forerunner, a command like the one below is used gpsbabel -t -i garmin -f usb: -o gtrnctr -F /tmp/file.gtrnctr “usb:” is the input device. The problem is that Pytrainer checks [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://pytrainer.e-oss.net/index.php">Pytrainer</a> didn’t work for me under Ubuntu 8.04, because my Garmin Forerunner wasn’t attached to /dev/ttyUSBx something which Pytrainer assumes.</p>
<p>To use gpsbabel and Garmin Forerunner, a command like the one below is used</p>
<blockquote><p>gpsbabel -t -i garmin -f usb: -o gtrnctr -F /tmp/file.gtrnctr</p></blockquote>
<p>“usb:” is the input device. The problem is that Pytrainer checks if the device exists as a file/directory, which it doesn’t. The workaround is to open <code>/usr/share/pytrainer/plugins/garmin-hr/main.py</code> and change</p>
<blockquote><p>if not os.path.exists(options.device):</p></blockquote>
<p>into</p>
<blockquote><p>if (not os.path.exists(options.device) and not options.device == "usb:"):</p></blockquote>
<p><strong>Updated 04-05-08 12:41:</strong><br />
<a href="http://sourceforge.net/mailarchive/message.php?msg_name=ddc176860805040155k303152d2wda9ab73cd0a33481%40mail.gmail.com">Philippe Piquer</a> just pointed out that the reason it don't work in Ubuntu 8.04, is that the garmin_gps module has been blacklisted. According to /etc/modprobe.d/blacklist because<br />
<blockquote># most apps now use garmin usb driver directly (<a href="https://bugs.launchpad.net/ubuntu/+source/module-init-tools/+bug/114565">Ubuntu: #114565</a>)</p></blockquote>
<p><strong>Updated 04-05-08 21:21:</strong><br />
There must be a file <code>/etc/udev/rules.d/51-garmin.rules</code> containing</p>
<blockquote><p>SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", GROUP="plugdev", MODE="660"</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2008/05/03/pytrainer-in-ubuntu-804-hardy-heron/feed/</wfw:commentRss>
		<slash:comments>50</slash:comments>
		</item>
		<item>
		<title>Trac from SVN on Ubuntu 8.04 Hardy</title>
		<link>http://ostehamster.dk/blog/index.php/2008/04/23/trac-from-svn-on-ubuntu-804-hardy/</link>
		<comments>http://ostehamster.dk/blog/index.php/2008/04/23/trac-from-svn-on-ubuntu-804-hardy/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 07:23:40 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Hardy]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Trac]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/blog/index.php/2008/04/23/trac-from-svn-on-ubuntu-804-hardy/</guid>
		<description><![CDATA[svn co https://svn.edgewall.org/repos/trac/trunk trac sudo apt-get install python-setuptools sudo apt-get install python-subversion subversion python-pysqlite2 python-clearsilver sudo python2.5 ./setup.py install sudo mkdir /var/lib/svn/NAME sudo trac-admin /var/lib/trac/NAME initenv sudo trac-admin /var/lib/trac/NAME permission add USERNAME TRAC_ADMIN sudo chown -R www-data /var/lib/trac/ sudo chown -R www-data /var/lib/svn/ Use the admin tool on the webpage to setup rights. Apache2 setup: [...]]]></description>
			<content:encoded><![CDATA[<p><code><br />
svn co https://svn.edgewall.org/repos/trac/trunk trac<br />
sudo apt-get install python-setuptools<br />
sudo apt-get install python-subversion subversion python-pysqlite2 python-clearsilver<br />
sudo python2.5 ./setup.py install<br />
</code></p>
<p><code><br />
sudo mkdir /var/lib/svn/NAME<br />
sudo trac-admin /var/lib/trac/NAME initenv<br />
sudo trac-admin /var/lib/trac/NAME permission add USERNAME TRAC_ADMIN<br />
sudo chown -R www-data /var/lib/trac/<br />
sudo chown -R www-data /var/lib/svn/<br />
</code></p>
<p>Use the admin tool on the webpage to setup rights.</p>
<p>Apache2 setup:<br />
<code><br />
 # Trac support<br />
&lt;location /trac&gt;<br />
   AuthType Basic<br />
   AuthName "Trac"<br />
   AuthUserFile /etc/apache2/dav_svn.passwd<br />
   Require valid-user</p>
<p>   SetHandler mod_python<br />
   PythonHandler trac.web.modpython_frontend<br />
   PythonOption TracEnvParentDir /var/lib/trac<br />
   PythonOption TracUriRoot "/trac"<br />
&lt;/location&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2008/04/23/trac-from-svn-on-ubuntu-804-hardy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

