[OpenSIPS-Users] MediaProxy cannot read the RADIUS configuration file

osiris123d duane.larson at gmail.com
Wed Mar 24 00:26:28 CET 2010


I am not sure why this isn't working.  The client.conf file is there and the
exact same format is working on another box.

Twisted is using epollreactor
fatal error: cannot read the RADIUS configuration file
fatal error: failed to create MediaProxy Dispatcher: object of type
'generator' has no len()
Traceback (most recent call last):
File "/usr/bin/media-dispatcher", line 62, in <module>
dispatcher = Dispatcher()
File "/usr/lib/pymodules/python2.5/mediaproxy/dispatcher.py", line 526, in
__init__
self.accounting = [__import__("mediaproxy.interfaces.accounting.%s" %
mod.lower(), globals(), locals(), [""]).Accounting() for mod in
set(Config.accounting)]
File
"/usr/lib/pymodules/python2.5/mediaproxy/interfaces/accounting/radius.py",
line 54, in __init__
self.handler = RadiusAccounting()
File
"/usr/lib/pymodules/python2.5/mediaproxy/interfaces/accounting/radius.py",
line 90, in __init__
raddict = pyrad.dictionary.Dictionary(*dicts)
File "/usr/lib/pymodules/python2.5/pyrad/dictionary.py", line 145, in
__init__
self.ReadDictionary(dict)
File "/usr/lib/pymodules/python2.5/pyrad/dictionary.py", line 316, in
ReadDictionary
fil = dictfile.DictFile(file)
File "/usr/lib/pymodules/python2.5/pyrad/dictfile.py", line 48, in __init__
self.__ReadNode(fil)
File "/usr/lib/pymodules/python2.5/pyrad/dictfile.py", line 63, in
__ReadNode
node = _Node(fil, '', parentdir)
File "/usr/lib/pymodules/python2.5/pyrad/dictfile.py", line 22, in __init__
self.length = len(self.lines)
TypeError: object of type 'generator' has no len()
-- 
View this message in context: http://n2.nabble.com/MediaProxy-cannot-read-the-RADIUS-configuration-file-tp4787907p4787907.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list