Solved installing the latest version of ctypes. Antonio.
2009/4/25 Antonio Reale <[email protected]>: > Hi all, > I installed mediaproxy 2.3.4, all python packages with easy_install and gnutls > 2.4.3 from sources. > The system is Centos 5.3 x86. > Running media-relay or media-dispatcher I receive the same error: > > --------------------------------------------------------------------------------------------------------- > [r...@sipsvr1 mediaproxy-2.3.4]# ./media-dispatcher --no-fork > Starting MediaProxy Dispatcher 2.3.4 > Twisted is using selectreactor > fatal error: failed to create MediaProxy Dispatcher: Objects/dictobject.c:533: > bad argument to internal function > Traceback (most recent call last): > --- <exception caught here> --- > File "./media-dispatcher", line 56, in ? > dispatcher = Dispatcher() > File "/usr/local/mediaproxy-2.3.4/mediaproxy/dispatcher.py", line 524, in > __init__ > self.cred = X509Credentials(cert_name='dispatcher') > File "/usr/local/mediaproxy-2.3.4/mediaproxy/tls.py", line 132, in __init__ > twisted.X509Credentials.__init__(self, self.X509cert, self.X509key, > [self.X509ca], [self.X509crl]) > File "/usr/local/mediaproxy-2.3.4/mediaproxy/tls.py", line 99, in __get__ > return descriptor.get() > File "/usr/local/mediaproxy-2.3.4/mediaproxy/tls.py", line 82, in get > self.object = self.klass(f.read()) > File "<string>", line 1, in __init__ > > File "build/bdist.linux-i686/egg/gnutls/validators.py", line 273, in > check_args > > File "build/bdist.linux-i686/egg/gnutls/crypto.py", line 83, in __init__ > > File "/usr/lib/python2.4/site-packages/ctypes/__init__.py", line 453, in > cast > return _cast(obj, obj, typ) > exceptions.SystemError: Objects/dictobject.c:533: bad argument to internal > function > ----------------------------------------------------------------------------------------------------------------- > > Can someone help me to solve this problem? > Thanks. > > Regards, > Antonio > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
