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>'YES'</td></tr><tr align="left" valign="top"><th>tilevel</th><td>2</td></tr><tr align="left" valign="top"><th>title</th><td>'Z Psycopg 2 Database Connection'</td>
</tr><tr align="left" valign="top"><th>encoding</th><td>'utf-8'</td></tr><tr align="left" valign="top"><th>submit</th><td>' Add '</td></tr><tr align="left" valign="top"><th>id</th><td>'Psycopg2_database_connection'</td>
</tr><tr align="left" valign="top"><th>connection_string</th><td>'zopedb@localhost:5432 postgres 1'</td></tr><tr align="left" valign="top"><th>check</th><td>'YES'</td></tr></tbody></table><h3>cookies</h3><table>
<tbody><tr align="left" valign="top"><th>dtpref_rows</th><td>'20'</td></tr><tr align="left" valign="top"><th>dtpref_cols</th><td>'90%'</td></tr><tr align="left" valign="top"><th>tree-s</th><td>'eJzT0MgpMOQKVneEA1dbda4CI67EkgJjLj0AeGcHew'</td>
</tr></tbody></table><h3>lazy items</h3><table><tbody><tr align="left" valign="top"><th>SESSION</th><td><bound method SessionDataManager.getSessionData of <SessionDataManager at /session_data_manager>></td></tr>
</tbody></table><h3>other</h3><table><tbody><tr align="left" valign="top"><th>zdatetime</th><td>'YES'</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><User 'admin'></td></tr><tr align="left" valign="top"><th>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 align="left" valign="top"><th>title</th><td>'Z Psycopg 2 Database Connection'</td></tr><tr align="left" valign="top"><th>check</th><td>'YES'</td></tr><tr align="left" valign="top"><th>SERVER_URL</th>
<td>'<a href="http://localhost:9673">http://localhost:9673</a>'</td></tr><tr align="left" valign="top"><th>AUTHENTICATION_PATH</th><td>''</td></tr><tr align="left" valign="top"><th>encoding</th><td>'utf-8'</td>
</tr><tr align="left" valign="top"><th>PUBLISHED</th><td><bound
method __FactoryDispatcher__.manage_addZPsycopgConnection of
<App.ProductContext.__FactoryDispatcher__ object at 0x9325d8c>></td></tr><tr align="left" valign="top"><th>id</th><td>'Psycopg2_database_connection'</td></tr><tr align="left" valign="top"><th>connection_string</th>
<td>'zopedb@localhost:5432 postgres 1'</td></tr><tr align="left" valign="top"><th>ACTUAL_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 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>'dtpref_rows="20"; dtpref_cols="90%"; tree-s="eJzT0MgpMOQKVneEA1dbda4CI67EkgJjLj0AeGcHew"'</td>
</tr><tr align="left" valign="top"><th>SERVER_SOFTWARE</th><td>'Zope/(Zope 2.10.5-final, python 2.4.5, linux2) ZServer/1.1'</td></tr><tr align="left" valign="top"><th>SCRIPT_NAME</th><td>''</td></tr><tr align="left" valign="top">
<th>REQUEST_METHOD</th><td>'POST'</td></tr><tr align="left" valign="top"><th>HTTP_KEEP_ALIVE</th><td>'300'</td></tr><tr align="left" valign="top"><th>SERVER_PROTOCOL</th><td>'HTTP/1.1'</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>'keep-alive'</td></tr><tr align="left" valign="top"><th>HTTP_ACCEPT_CHARSET</th><td>'ISO-8859-1,utf-8;q=0.7,*;q=0.7'</td>
</tr><tr align="left" valign="top"><th>HTTP_USER_AGENT</th><td>'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020911 Ubuntu/8.04 (hardy) Firefox/3.0.6'</td></tr><tr align="left" valign="top"><th>HTTP_REFERER</th>
<td>'<a href="http://localhost:9673/manage_addProduct/ZPsycopgDA/add">http://localhost:9673/manage_addProduct/ZPsycopgDA/add</a>'</td></tr><tr align="left" valign="top"><th>SERVER_NAME</th><td>'0.0.0.0'</td>
</tr><tr align="left" valign="top"><th>REMOTE_ADDR</th><td>'127.0.0.1'</td></tr><tr align="left" valign="top"><th>PATH_TRANSLATED</th><td>'/manage_addProduct/ZPsycopgDA/manage_addZPsycopgConnection'</td></tr>
<tr align="left" valign="top"><th>SERVER_PORT</th><td>'9673'</td></tr><tr align="left" valign="top"><th>CONTENT_LENGTH</th><td>'192'</td></tr><tr align="left" valign="top"><th>HTTP_HOST</th><td>'localhost:9673'</td>
</tr><tr align="left" valign="top"><th>HTTP_ACCEPT</th><td>'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'</td></tr><tr align="left" valign="top"><th>GATEWAY_INTERFACE</th><td>'CGI/1.1'</td>
</tr><tr align="left" valign="top"><th>HTTP_ACCEPT_LANGUAGE</th><td>'en-us,en;q=0.5'</td></tr><tr align="left" valign="top"><th>CONTENT_TYPE</th><td>'application/x-www-form-urlencoded'</td></tr><tr align="left" valign="top">
<th>HTTP_ACCEPT_ENCODING</th><td>'gzip,deflate'</td></tr><tr align="left" valign="top"><th>PATH_INFO</th><td>'/manage_addProduct/ZPsycopgDA/manage_addZPsycopgConnection'</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"><<a href="mailto:akm@theinternet.com.au">akm@theinternet.com.au</a>></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'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>