[OpenSIPS-Users] OpenXCAP Install Problem

ASHWINI NAIDU ashwini.naidu at gmail.com
Tue Nov 3 05:18:12 CET 2009


Hi Ross,

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.

On Mon, Nov 2, 2009 at 11:32 PM, Ross Beer <beer.ross at googlemail.com> wrote:

> Ok, I managed to get the module dependencies resolved however when running
> OpenXCAP I get the following error:
>
>
>  openxcap --no-fork
> Starting OpenXCAP 1.1.2
> /usr/local/lib/python2.6/dist-packages/xcap/tweaks.py:1:
> DeprecationWarning: the md5 module is deprecated; use hashlib instead
>   import md5
> xcap.server.HTTPFactory starting on 443
> error: Traceback (most recent call last):
> error:   File "/usr/lib/python2.6/threading.py", line 497, in __bootstrap
> error:     self.__bootstrap_inner()
> error:   File "/usr/lib/python2.6/threading.py", line 525, in
> __bootstrap_inner
> error:     self.run()
> error:   File "/usr/lib/python2.6/threading.py", line 477, in run
> error:     self.__target(*self.__args, **self.__kwargs)
> error: --- <exception caught here> ---
> error:   File
> "/usr/lib/python2.6/dist-packages/twisted/python/threadpool.py", line 210,
> in _worker
> error:     result = context.call(ctx, function, *args, **kwargs)
> error:   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py",
> line 59, in callWithContext
> error:     return self.currentContext().callWithContext(ctx, func, *args,
> **kw)
> error:   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py",
> line 37, in callWithContext
> error:     return func(*args,**kw)
> error:   File
> "/usr/lib/python2.6/dist-packages/twisted/enterprise/adbapi.py", line 426,
> in _runInteraction
> error:     conn = self.connectionFactory(self)
> error:   File
> "/usr/lib/python2.6/dist-packages/twisted/enterprise/adbapi.py", line 38, in
> __init__
> error:     self.reconnect()
> error:   File
> "/usr/lib/python2.6/dist-packages/twisted/enterprise/adbapi.py", line 75, in
> reconnect
> error:     self._connection = self._pool.connect()
> error:   File
> "/usr/lib/python2.6/dist-packages/twisted/enterprise/adbapi.py", line 395,
> in connect
> error:     conn = self.dbapi.connect(*self.connargs, **self.connkw)
> error:   File "build/bdist.linux-x86_64/egg/MySQLdb/__init__.py", line 81,
> in Connect
> error:   File "build/bdist.linux-x86_64/egg/MySQLdb/connections.py", line
> 188, in __init__
> error: exceptions.TypeError: 'reconnect' is an invalid keyword argument for
> this function
>
> Am I missing a package?
>
> Ross
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
Thanking You,
Ashwini BR Naidu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091103/f8d36dc0/attachment-0001.htm 


More information about the Users mailing list