<?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>OFF TOPIC! &#187; Python</title>
	<atom:link href="http://www.luizxx.com/archives/tag/python/feed" rel="self" type="application/rss+xml" />
	<link>http://www.luizxx.com</link>
	<description>Luizxx Expansion Set</description>
	<lastBuildDate>Fri, 16 Jul 2010 04:13:27 +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>Python-MySQLdb Upgrade Problem</title>
		<link>http://www.luizxx.com/archives/512</link>
		<comments>http://www.luizxx.com/archives/512#comments</comments>
		<pubDate>Wed, 22 Jul 2009 20:05:49 +0000</pubDate>
		<dc:creator>Luiz</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.luizxx.com/?p=512</guid>
		<description><![CDATA[Recently I got an error while running some Python scripts on a Red Hat Enterprise Linux 3, specifically when importing the MySQLdb module, with the the following error: ImportError: cannot import name ImmutableSet After some research I found that when upgrading the module to version 1.2.1 (or newer) the file sets.py, that was used on [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I got an error while running some Python scripts on a Red Hat Enterprise Linux 3, specifically when importing the MySQLdb module, with the the following error:</p>
<p><code>ImportError: cannot import name ImmutableSet</code></p>
<p>After some research I found that when upgrading the module to version 1.2.1 (or newer) the file <em>sets.py</em>, that was used on 1.2.0 or prior versions, still on system and this doesn&#8217;t contain <em>ImmutableSet</em> that&#8217;s defined as a default bult-in set in the recent versions of MySQLdb.</p>
<p>To solve this problem (tested on Python 2.4 and 2.6) just remove the <em>sets.py</em> from your MySQLdb installation directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luizxx.com/archives/512/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Conector Python/PostgreSQL</title>
		<link>http://www.luizxx.com/archives/48</link>
		<comments>http://www.luizxx.com/archives/48#comments</comments>
		<pubDate>Sat, 15 Mar 2008 16:04:48 +0000</pubDate>
		<dc:creator>Luiz</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://luizxx.com/archives/48</guid>
		<description><![CDATA[Alguns dias atras resolvi instalar o Trac para gerenciar um projeto que desenvolvi, porem durante a instalacao resolvi armazenar meus dados em uma base PostgreSQL, e entao me deparei com a falta de um modulo para conexao Python com PostgreSQL presente na documentacao do Trac, o pyPgSQL. Minha plataforma utilizada foi um RedHat Enterprise 5 [...]]]></description>
			<content:encoded><![CDATA[<p>Alguns dias atras resolvi instalar o <a href="http://trac.edgewall.org/" target="_blank">Trac </a>para gerenciar um projeto que desenvolvi, porem durante a instalacao resolvi armazenar meus dados em uma base <a href="http://www.postgresql.org" target="_blank">PostgreSQL</a>, e entao me deparei com a falta de um modulo para conexao <a href="http://www.python.org/" target="_blank">Python </a>com <a href="http://www.postgresql.org" target="_blank">PostgreSQL</a> presente na <a href="http://trac.edgewall.org/wiki/TracGuide" target="_blank">documentacao do Trac</a>, o <a href="http://pypgsql.sourceforge.net/" target="_blank">pyPgSQL</a>.</p>
<p>Minha plataforma utilizada foi um <a href="http://www.redhat.com" target="_blank">RedHat Enterprise 5</a> rodando em 64bits, e acabei nao encontrando nenhum pacote pronto e atualizado para a instalacao. Para que nao fosse necessario compilar e instalar tudo manualmente resolvi criar o pacote com base em um spec ja existente e para aqueles que precisarem, vou disponibiliza-lo aqui para download:</p>
<p><strong>Source:</strong> <a href="http://www.luizxx.com/archive/redhat/pyPgSQL-2.4-0.src.rpm">pyPgSQL-2.4-0.src.rpm</a><br />
<strong>RedHat Advanced Server 5: </strong><a href="http://www.luizxx.com/public_html/archive/redhat/pyPgSQL-2.4-0.x86_64.rpm">pyPgSQL-2.4-0.x86_64.rpm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luizxx.com/archives/48/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
