Hi Ross,<br><br>Which version of python-mysqldb are you using. The version of mysqldb you are using doesn't have the reconnect function or else you can say the reconnect has been removed in that version.<br><br><div class="gmail_quote">
On Mon, Nov 2, 2009 at 11:32 PM, Ross Beer <span dir="ltr"><<a href="mailto:beer.ross@googlemail.com">beer.ross@googlemail.com</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;">
<div>Ok, I managed to get the module dependencies resolved however when running OpenXCAP I get the following error:</div>
<div> </div>
<div> </div>
<div> openxcap --no-fork<br>Starting OpenXCAP 1.1.2<br>/usr/local/lib/python2.6/dist-packages/xcap/tweaks.py:1: DeprecationWarning: the md5 module is deprecated; use hashlib instead<br> import md5<br>xcap.server.HTTPFactory starting on 443<br>
error: Traceback (most recent call last):<br>error: File "/usr/lib/python2.6/threading.py", line 497, in __bootstrap<br>error: self.__bootstrap_inner()<br>error: File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner<br>
error: self.run()<br>error: File "/usr/lib/python2.6/threading.py", line 477, in run<br>error: self.__target(*self.__args, **self.__kwargs)<br>error: --- <exception caught here> ---<br>error: File "/usr/lib/python2.6/dist-packages/twisted/python/threadpool.py", line 210, in _worker<br>
error: result = context.call(ctx, function, *args, **kwargs)<br>error: File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext<br>error: return self.currentContext().callWithContext(ctx, func, *args, **kw)<br>
error: File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext<br>error: return func(*args,**kw)<br>error: File "/usr/lib/python2.6/dist-packages/twisted/enterprise/adbapi.py", line 426, in _runInteraction<br>
error: conn = self.connectionFactory(self)<br>error: File "/usr/lib/python2.6/dist-packages/twisted/enterprise/adbapi.py", line 38, in __init__<br>error: self.reconnect()<br>error: File "/usr/lib/python2.6/dist-packages/twisted/enterprise/adbapi.py", line 75, in reconnect<br>
error: self._connection = self._pool.connect()<br>error: File "/usr/lib/python2.6/dist-packages/twisted/enterprise/adbapi.py", line 395, in connect<br>error: conn = self.dbapi.connect(*self.connargs, **self.connkw)<br>
error: File "build/bdist.linux-x86_64/egg/MySQLdb/__init__.py", line 81, in Connect</div>
<div>error: File "build/bdist.linux-x86_64/egg/MySQLdb/connections.py", line 188, in __init__</div>
<div>error: exceptions.TypeError: 'reconnect' is an invalid keyword argument for this function</div>
<div> </div>
<div>Am I missing a package?</div>
<div> </div><font color="#888888">
<div>Ross</div>
</font><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Thanking You,<br>Ashwini BR Naidu<br>