<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
<br><br><div>&gt; From: Nagai.Junichi@imslab.co.jp<br>&gt; To: pycsw-devel@lists.sourceforge.net<br>&gt; Date: Thu, 21 Jul 2011 15:59:31 +0900<br>&gt; Subject: [pycsw-devel] AttributeError: 'module' object has no attribute        'get_config'<br>&gt; <br>&gt; Dear Tom Kralidis,<br>&gt; <br>&gt; I'm Junichi Nagai from Japan.<br>&gt; (I'm sorry I can't speak English very well.)<br>&gt; <br>&gt; This time, I've been tried to change the database(from SQLite3 to <br>&gt; postgres8.3).<br>&gt; <br>&gt; I altered the Configuration(default.cfg:[repository]-database).<br>&gt; <br>&gt; I tried to create the necessary tables and values for the repository by <br>&gt; using<br>&gt; "./sbin/setup_db.py".<br>&gt; <br>&gt; I got below error.<br>&gt; <br>&gt; -----------------------------------------------------------------------<br>&gt;  C:\Program Files\Apache Software <br>&gt; Foundation\Apache2.2\cgi-bin\pycsw&gt;C:\Python27\<br>&gt; python ./sbin/setup_db.py "postgres://postgres:postgres@localhost/pycsw"<br>&gt; Traceback (most recent call last):<br>&gt;   File "./sbin/setup_db.py", line 88, in &lt;module&gt;<br>&gt;     CFG = config.get_config('default.cfg')<br>&gt; AttributeError: 'module' object has no attribute 'get_config'<br>&gt; -----------------------------------------------------------------------<br>&gt; <br>&gt; Could you tell me what's wrong?<br>&gt; <br>&gt; I use below.<br>&gt;   pycsw:version1.0.0(http://sourceforge.net/projects/pycsw/files/1.0.0/)<br>&gt;   OS:Windows XP<br>&gt;   Python:Version 2.7<br>&gt;   Database:postgres8.3 <br><br>Thanks for the info.&nbsp; I've updated configuration parsing in trunk (http://sourceforge.net/apps/trac/pycsw/changeset/306).&nbsp; Let me know if this works for you.<br><br>..Tom<br><br></div>                                               </div></body>
</html>