OpenXCAP Install Problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

OpenXCAP Install Problem

Ross Beer-2
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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: OpenXCAP Install Problem

ASHWINI NAIDU
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 <[hidden email]> 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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Thanking You,
Ashwini BR Naidu

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users