<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Noticies i articles</title>
	<atom:link href="http://www.pegueroles.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pegueroles.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 06 Mar 2010 22:55:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>Comment on Version 0.2 of loadcsv released by Tom Brander</title>
		<link>http://www.pegueroles.com/blog/2009/10/release-02-of-loadcsv/#comment-96</link>
		<dc:creator>Tom Brander</dc:creator>
		<pubDate>Sat, 06 Mar 2010 22:55:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.pegueroles.com/blog/?p=28#comment-96</guid>
		<description>Running Windows Vista and postgresql 8.4
Well, I&#039;m back! unfortunately have had a few issues,, for some reason pip install does not seem to like your repository so I dl&#039;d by copy and paste, pretty laborious,, then discovered that I needed psycopg2 as a DB driver on Windows (special windows version http://www.stickpeople.com/projects/python/win-psycopg/psycopg2-2.0.13.win32-py2.6-pg8.4.1-release.exe)... so I changed the source and at least got the DB signed on (no password fail and no complaints about the driver) but alas I keep getting errors. And the table does not load.. Been trying to run in debug (things appear to parse well) but alas I&#039;m still too much of a Python Newb to figure the code error out...
If you feel so inclined advice would be appreciated, if not I understand!

It is probability some dumb user error but thought the psycopg2 info might help someone.

File &quot;C:\Users\DadLaptop\Downloads\loadcsv\loadcsv.py&quot;, line 100, in load
    cursor.execute(insert_sql,prepare_values(row))
ProgrammingError: syntax error at or near &quot;)&quot;
LINE 1: ...xt_Q_Sales,Next_Q_inv,NextQ_Price,Next_Q_Credit) values (?);
                                                                     ^
The ^ is under the (?);

my header and 1st lines are:
Region,City_Rural,Res_Comm,Count,Nat_next_Q,Ala_Next_Q,Next_Q_Sales,Next_Q_inv,NextQ_Price,Next_Q_Credit
North_Central,Suburban_Urban,Residential,1,50,75,75,50,25,50
North_Central,Suburban_Urban,Commercial,1,25,25,50,25,25,50</description>
		<content:encoded><![CDATA[<p>Running Windows Vista and postgresql 8.4<br />
Well, I&#8217;m back! unfortunately have had a few issues,, for some reason pip install does not seem to like your repository so I dl&#8217;d by copy and paste, pretty laborious,, then discovered that I needed psycopg2 as a DB driver on Windows (special windows version <a href="http://www.stickpeople.com/projects/python/win-psycopg/psycopg2-2.0.13.win32-py2.6-pg8.4.1-release.exe)..">http://www.stickpeople.com/projects/python/win-psycopg/psycopg2-2.0.13.win32-py2.6-pg8.4.1-release.exe)..</a>. so I changed the source and at least got the DB signed on (no password fail and no complaints about the driver) but alas I keep getting errors. And the table does not load.. Been trying to run in debug (things appear to parse well) but alas I&#8217;m still too much of a Python Newb to figure the code error out&#8230;<br />
If you feel so inclined advice would be appreciated, if not I understand!</p>
<p>It is probability some dumb user error but thought the psycopg2 info might help someone.</p>
<p>File &#8220;C:\Users\DadLaptop\Downloads\loadcsv\loadcsv.py&#8221;, line 100, in load<br />
    cursor.execute(insert_sql,prepare_values(row))<br />
ProgrammingError: syntax error at or near &#8220;)&#8221;<br />
LINE 1: &#8230;xt_Q_Sales,Next_Q_inv,NextQ_Price,Next_Q_Credit) values (?);<br />
                                                                     ^<br />
The ^ is under the (?);</p>
<p>my header and 1st lines are:<br />
Region,City_Rural,Res_Comm,Count,Nat_next_Q,Ala_Next_Q,Next_Q_Sales,Next_Q_inv,NextQ_Price,Next_Q_Credit<br />
North_Central,Suburban_Urban,Residential,1,50,75,75,50,25,50<br />
North_Central,Suburban_Urban,Commercial,1,25,25,50,25,25,50</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Version 0.2 of loadcsv released by Tom Brander</title>
		<link>http://www.pegueroles.com/blog/2009/10/release-02-of-loadcsv/#comment-95</link>
		<dc:creator>Tom Brander</dc:creator>
		<pubDate>Sat, 06 Mar 2010 18:20:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.pegueroles.com/blog/?p=28#comment-95</guid>
		<description>Found yo and loadcsv on Pipy About to give it a go, I&#039;m new to postgres so looking for shortcuts.. BTW It would help to have the current version on Pi py right now only the .1 version is there.
Thanks for providing it.</description>
		<content:encoded><![CDATA[<p>Found yo and loadcsv on Pipy About to give it a go, I&#8217;m new to postgres so looking for shortcuts.. BTW It would help to have the current version on Pi py right now only the .1 version is there.<br />
Thanks for providing it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sincrontizació i seguretat by Wotlyentery-online</title>
		<link>http://www.pegueroles.com/blog/2009/07/sincrontizacio-i-seguretat/#comment-88</link>
		<dc:creator>Wotlyentery-online</dc:creator>
		<pubDate>Wed, 24 Feb 2010 22:48:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.pegueroles.com/blog/?p=4#comment-88</guid>
		<description>llegir tot el bloc, bastant bo</description>
		<content:encoded><![CDATA[<p>llegir tot el bloc, bastant bo</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Servidor de fax by Luffie</title>
		<link>http://www.pegueroles.com/blog/2009/07/servidor-de-fax/#comment-87</link>
		<dc:creator>Luffie</dc:creator>
		<pubDate>Mon, 22 Feb 2010 16:05:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.pegueroles.com/blog/?p=6#comment-87</guid>
		<description>I have had a virus on my comp and it wouldn&#039;t let me us system restore. I took it to easy tech but they did norhing and maDe it worse. No it won&#039;t even boot up into the user interface. It comes up with techinal problem in blue. I was told I could use the original operating disk to help but I don&#039;t know how to load it up. Any ideas?  &lt;a href=&quot;http://gordoarsnaui.com&quot; rel=&quot;nofollow&quot;&gt;santoramaa&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I have had a virus on my comp and it wouldn&#8217;t let me us system restore. I took it to easy tech but they did norhing and maDe it worse. No it won&#8217;t even boot up into the user interface. It comes up with techinal problem in blue. I was told I could use the original operating disk to help but I don&#8217;t know how to load it up. Any ideas?  <a href="http://gordoarsnaui.com">santoramaa</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

