<?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>Tim's Weblog &#187; duplicity</title>
	<atom:link href="http://blog.hokkertjes.nl/tag/duplicity/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hokkertjes.nl</link>
	<description>Random Thoughts and Rants</description>
	<lastBuildDate>Fri, 23 Jul 2010 11:41:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>duplicity in MacPorts, backup to S3</title>
		<link>http://blog.hokkertjes.nl/2008/06/20/duplicity-in-macports-backup-to-s3/</link>
		<comments>http://blog.hokkertjes.nl/2008/06/20/duplicity-in-macports-backup-to-s3/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 12:03:22 +0000</pubDate>
		<dc:creator>Tim</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[duplicity]]></category>
		<category><![CDATA[macports]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[s3]]></category>

		<guid isPermaLink="false">http://blog.hokkertjes.nl/?p=490</guid>
		<description><![CDATA[Duplicity from MacPorts is currently broken. The problem is in the portfile, which wants to use Python 2.5. However, there is no OpenSSL package for Python 2.5 in MacPorts, which gives you this error if you try to backup to S3 through SSL: File "/opt/local/lib/python2.5/httplib.py", line 1135, in connect ssl = socket.ssl(sock, self.key_file, self.cert_file) AttributeError: [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://duplicity.nongnu.org/">Duplicity</a> from <a href="http://www.macports.org/">MacPorts</a> is currently broken. The problem is in the portfile, which wants to use <a href="http://www.python.org/">Python</a> 2.5. However, there is no <a href="http://www.openssl.org/">OpenSSL</a> package for Python 2.5 in MacPorts, which gives you this error if you try to backup to S3 through SSL:</p>
<p><code>  File "/opt/local/lib/python2.5/httplib.py", line 1135, in connect<br />
    ssl = socket.ssl(sock, self.key_file, self.cert_file)<br />
AttributeError: 'module' object has no attribute 'ssl'</code></p>
<p>The solution is to edit the Portfile (which lives in /opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/duplicity/Portfile on my machine) and change &#8220;python25&#8243; in &#8220;python24&#8243; and halfway through the file change the py25-* packages in py-* packages. Then install the port. That fixes it.</p>
<p>Don&#8217;t forget to *not* upgrade the port without changing the Portfile&#8230;</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Tags: <a class='technorati-link' href='http://technorati.com/tag/duplicity' rel='tag' target='_self'>duplicity</a>, <a class='technorati-link' href='http://technorati.com/tag/macports' rel='tag' target='_self'>macports</a>, <a class='technorati-link' href='http://technorati.com/tag/python' rel='tag' target='_self'>python</a>, <a class='technorati-link' href='http://technorati.com/tag/s3' rel='tag' target='_self'>s3</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://blog.hokkertjes.nl/2008/06/20/duplicity-in-macports-backup-to-s3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
