This is my full error Log<br><br>        <strong>
              Site Error Log
              at <a href="http://localhost:9673/manage_workspace"> /</a><a class="strong-link" href="http://localhost:9673/error_log/manage_workspace">error_log</a>
    </strong>
            
    
                
  





<h3>Exception traceback</h3>

<p>
</p><form action="manage_main" method="get">
<input name="submit" value=" Return to log " type="submit">
</form>








<table>
 <tbody><tr>
  <th align="left" valign="top">Time</th>
  <td>2009/03/05 23:09:14.170 GMT+0530</td>
 </tr>
 <tr>
  <th align="left" valign="top">User Name (User Id)</th>
  <td> admin (admin)</td>
 </tr>
 <tr>
  <th align="left" valign="top">Request URL</th>
  <td><a href="http://localhost:9673/manage_addProduct/ZPsycopgDA/manage_addZPsycopgConnection">http://localhost:9673/manage_addProduct/ZPsycopgDA/manage_addZPsycopgConnection</a></td>
 </tr>
 <tr>
  <th align="left" valign="top">Exception Type</th>
  <td>ImportError</td>
 </tr>
 <tr>
  <th align="left" valign="top">Exception Value</th>
  <td>psycopg version mismatch (imported 2.0.6 (dec mx dt ext pq3))</td>
 </tr>
</tbody></table>

<div><p>Traceback (innermost last):
</p><ul><li>  Module ZPublisher.Publish, line 119, in publish</li><li>  Module ZPublisher.mapply, line 88, in mapply</li><li>  Module ZPublisher.Publish, line 42, in call_object</li><li>  Module Products.ZPsycopgDA.DA, line 63, in manage_addZPsycopgConnection</li>
<li>  Module Products.ZPsycopgDA.DA, line 83, in __init__</li><li>  Module Products.ZPsycopgDA.DA, line 98, in edit</li><li>  Module Products.ZPsycopgDA.DA, line 120, in connect</li></ul>ImportError: psycopg version mismatch (imported 2.0.6 (dec mx dt ext pq3))
</div>


<p><a href="http://localhost:9673/error_log/getLogEntryAsText?id=1236274754.170.538033616757">Display
   traceback as text</a></p>


    
<p>
</p><form action="manage_main" method="get">
<input name="submit" value=" Return to log " type="submit">
</form>

    
<h3>REQUEST</h3>
<h3>form</h3><table><tbody><tr align="left" valign="top"><th>zdatetime</th><td>&#39;YES&#39;</td></tr><tr align="left" valign="top"><th>tilevel</th><td>2</td></tr><tr align="left" valign="top"><th>title</th><td>&#39;Z Psycopg 2 Database Connection&#39;</td>
</tr><tr align="left" valign="top"><th>encoding</th><td>&#39;utf-8&#39;</td></tr><tr align="left" valign="top"><th>submit</th><td>&#39; Add &#39;</td></tr><tr align="left" valign="top"><th>id</th><td>&#39;Psycopg2_database_connection&#39;</td>
</tr><tr align="left" valign="top"><th>connection_string</th><td>&#39;zopedb@localhost:5432 postgres 1&#39;</td></tr><tr align="left" valign="top"><th>check</th><td>&#39;YES&#39;</td></tr></tbody></table><h3>cookies</h3><table>
<tbody><tr align="left" valign="top"><th>dtpref_rows</th><td>&#39;20&#39;</td></tr><tr align="left" valign="top"><th>dtpref_cols</th><td>&#39;90%&#39;</td></tr><tr align="left" valign="top"><th>tree-s</th><td>&#39;eJzT0MgpMOQKVneEA1dbda4CI67EkgJjLj0AeGcHew&#39;</td>
</tr></tbody></table><h3>lazy items</h3><table><tbody><tr align="left" valign="top"><th>SESSION</th><td>&lt;bound method SessionDataManager.getSessionData of &lt;SessionDataManager at /session_data_manager&gt;&gt;</td></tr>
</tbody></table><h3>other</h3><table><tbody><tr align="left" valign="top"><th>zdatetime</th><td>&#39;YES&#39;</td></tr><tr align="left" valign="top"><th>tilevel</th><td>2</td></tr><tr align="left" valign="top"><th>TraversalRequestNameStack</th>
<td>[]</td></tr><tr align="left" valign="top"><th>AUTHENTICATED_USER</th><td>&lt;User &#39;admin&#39;&gt;</td></tr><tr align="left" valign="top"><th>URL</th><td>&#39;<a href="http://localhost:9673/manage_addProduct/ZPsycopgDA/manage_addZPsycopgConnection">http://localhost:9673/manage_addProduct/ZPsycopgDA/manage_addZPsycopgConnection</a>&#39;</td>
</tr><tr align="left" valign="top"><th>title</th><td>&#39;Z Psycopg 2 Database Connection&#39;</td></tr><tr align="left" valign="top"><th>check</th><td>&#39;YES&#39;</td></tr><tr align="left" valign="top"><th>SERVER_URL</th>
<td>&#39;<a href="http://localhost:9673">http://localhost:9673</a>&#39;</td></tr><tr align="left" valign="top"><th>AUTHENTICATION_PATH</th><td>&#39;&#39;</td></tr><tr align="left" valign="top"><th>encoding</th><td>&#39;utf-8&#39;</td>
</tr><tr align="left" valign="top"><th>PUBLISHED</th><td>&lt;bound
method __FactoryDispatcher__.manage_addZPsycopgConnection of
&lt;App.ProductContext.__FactoryDispatcher__ object at 0x9325d8c&gt;&gt;</td></tr><tr align="left" valign="top"><th>id</th><td>&#39;Psycopg2_database_connection&#39;</td></tr><tr align="left" valign="top"><th>connection_string</th>
<td>&#39;zopedb@localhost:5432 postgres 1&#39;</td></tr><tr align="left" valign="top"><th>ACTUAL_URL</th><td>&#39;<a href="http://localhost:9673/manage_addProduct/ZPsycopgDA/manage_addZPsycopgConnection">http://localhost:9673/manage_addProduct/ZPsycopgDA/manage_addZPsycopgConnection</a>&#39;</td>
</tr><tr align="left" valign="top"><th>URL0</th><td><a href="http://localhost:9673/manage_addProduct/ZPsycopgDA/manage_addZPsycopgConnection">http://localhost:9673/manage_addProduct/ZPsycopgDA/manage_addZPsycopgConnection</a></td>
</tr><tr align="left" valign="top"><th>URL1</th><td><a href="http://localhost:9673/manage_addProduct/ZPsycopgDA">http://localhost:9673/manage_addProduct/ZPsycopgDA</a></td></tr><tr align="left" valign="top"><th>URL2</th><td>
<a href="http://localhost:9673/manage_addProduct">http://localhost:9673/manage_addProduct</a></td></tr><tr align="left" valign="top"><th>URL3</th><td><a href="http://localhost:9673">http://localhost:9673</a></td></tr><tr align="left" valign="top">
<th>BASE0</th><td><a href="http://localhost:9673">http://localhost:9673</a></td></tr><tr align="left" valign="top"><th>BASE1</th><td><a href="http://localhost:9673">http://localhost:9673</a></td></tr><tr align="left" valign="top">
<th>BASE2</th><td><a href="http://localhost:9673/manage_addProduct">http://localhost:9673/manage_addProduct</a></td></tr><tr align="left" valign="top"><th>BASE3</th><td><a href="http://localhost:9673/manage_addProduct/ZPsycopgDA">http://localhost:9673/manage_addProduct/ZPsycopgDA</a></td>
</tr><tr align="left" valign="top"><th>BASE4</th><td><a href="http://localhost:9673/manage_addProduct/ZPsycopgDA/manage_addZPsycopgConnection">http://localhost:9673/manage_addProduct/ZPsycopgDA/manage_addZPsycopgConnection</a></td>
</tr></tbody></table><h3>environ</h3><table><tbody><tr align="left" valign="top"><th>HTTP_COOKIE</th><td>&#39;dtpref_rows=&quot;20&quot;; dtpref_cols=&quot;90%&quot;; tree-s=&quot;eJzT0MgpMOQKVneEA1dbda4CI67EkgJjLj0AeGcHew&quot;&#39;</td>
</tr><tr align="left" valign="top"><th>SERVER_SOFTWARE</th><td>&#39;Zope/(Zope 2.10.5-final, python 2.4.5, linux2) ZServer/1.1&#39;</td></tr><tr align="left" valign="top"><th>SCRIPT_NAME</th><td>&#39;&#39;</td></tr><tr align="left" valign="top">
<th>REQUEST_METHOD</th><td>&#39;POST&#39;</td></tr><tr align="left" valign="top"><th>HTTP_KEEP_ALIVE</th><td>&#39;300&#39;</td></tr><tr align="left" valign="top"><th>SERVER_PROTOCOL</th><td>&#39;HTTP/1.1&#39;</td></tr><tr align="left" valign="top">
<th>channel.creation_time</th><td>1236274737</td></tr><tr align="left" valign="top"><th>CONNECTION_TYPE</th><td>&#39;keep-alive&#39;</td></tr><tr align="left" valign="top"><th>HTTP_ACCEPT_CHARSET</th><td>&#39;ISO-8859-1,utf-8;q=0.7,*;q=0.7&#39;</td>
</tr><tr align="left" valign="top"><th>HTTP_USER_AGENT</th><td>&#39;Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020911 Ubuntu/8.04 (hardy) Firefox/3.0.6&#39;</td></tr><tr align="left" valign="top"><th>HTTP_REFERER</th>
<td>&#39;<a href="http://localhost:9673/manage_addProduct/ZPsycopgDA/add">http://localhost:9673/manage_addProduct/ZPsycopgDA/add</a>&#39;</td></tr><tr align="left" valign="top"><th>SERVER_NAME</th><td>&#39;0.0.0.0&#39;</td>
</tr><tr align="left" valign="top"><th>REMOTE_ADDR</th><td>&#39;127.0.0.1&#39;</td></tr><tr align="left" valign="top"><th>PATH_TRANSLATED</th><td>&#39;/manage_addProduct/ZPsycopgDA/manage_addZPsycopgConnection&#39;</td></tr>
<tr align="left" valign="top"><th>SERVER_PORT</th><td>&#39;9673&#39;</td></tr><tr align="left" valign="top"><th>CONTENT_LENGTH</th><td>&#39;192&#39;</td></tr><tr align="left" valign="top"><th>HTTP_HOST</th><td>&#39;localhost:9673&#39;</td>
</tr><tr align="left" valign="top"><th>HTTP_ACCEPT</th><td>&#39;text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8&#39;</td></tr><tr align="left" valign="top"><th>GATEWAY_INTERFACE</th><td>&#39;CGI/1.1&#39;</td>
</tr><tr align="left" valign="top"><th>HTTP_ACCEPT_LANGUAGE</th><td>&#39;en-us,en;q=0.5&#39;</td></tr><tr align="left" valign="top"><th>CONTENT_TYPE</th><td>&#39;application/x-www-form-urlencoded&#39;</td></tr><tr align="left" valign="top">
<th>HTTP_ACCEPT_ENCODING</th><td>&#39;gzip,deflate&#39;</td></tr><tr align="left" valign="top"><th>PATH_INFO</th><td>&#39;/manage_addProduct/ZPsycopgDA/manage_addZPsycopgConnection&#39;</td></tr></tbody></table><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><div class="gmail_quote">On Fri, Mar 6, 2009 at 11:15 AM, Andrew Milton <span dir="ltr">&lt;<a href="mailto:akm@theinternet.com.au">akm@theinternet.com.au</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">+-------[ amol kumbhar ]----------------------<br>
<div><div></div><div class="h5">|<br>
| Hi<br>
|<br>
| I am using zope 2.10 , python2.4 and psycopg2-2.0.9 . I had created entry in<br>
| ZIM successfully but while connecting to db it is giving me following error.<br>
| Please pull me out from this ASAP.<br>
|<br>
| An error was encountered while publishing this resource.<br>
|<br>
| Error Type: ImportError<br>
| Error Value: psycopg version mismatch (imported 2.0.6 (dec mx dt ext pq3))<br>
<br>
</div></div>Your ZPsycopg and your psycopg don&#39;t match up version-wise.<br>
<br>
You say you have psycopg 2.0.9 but 2.0.6 was imported...<br>
<font color="#888888"><br>
--<br>
Andrew Milton<br>
<a href="mailto:akm@theinternet.com.au">akm@theinternet.com.au</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Amol Kumbhar<br>Software Developer<br>SVBP informatics<br>Cell : 9881720442<br>e-mail : <a href="mailto:amol.kumbhar39@gmail.com">amol.kumbhar39@gmail.com</a><br>