[OpenSIPS-Users] Error running mediaproxy

Antonio Reale ant.reale at gmail.com
Tue Apr 28 18:08:39 CEST 2009


Thanks Dan,
already solved upgrading ctypes.

Regards.

-- 
Antonio

2009/4/27 Dan Pascu <dan at ag-projects.com>:
>
> The trace suggests a broken ctypes module.
>
> On Saturday 25 April 2009, Antonio Reale wrote:
>> 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:
>>
>> -----------------------------------------------------------------------
>>---------------------------------- [root at 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
>
> --
> Dan
>



More information about the Users mailing list