<div class="gmail_quote">On 23 March 2010 23:26, osiris123d <span dir="ltr"><<a href="mailto:duane.larson@gmail.com">duane.larson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
I am not sure why this isn't working. The client.conf file is there and the<br>
exact same format is working on another box.<br>
<br>
Twisted is using epollreactor<br>
fatal error: cannot read the RADIUS configuration file<br>
fatal error: failed to create MediaProxy Dispatcher: object of type<br>
'generator' has no len()<br>
Traceback (most recent call last):<br>
File "/usr/bin/media-dispatcher", line 62, in <module><br>
dispatcher = Dispatcher()<br>
File "/usr/lib/pymodules/python2.5/mediaproxy/dispatcher.py", line 526, in<br>
__init__<br>
self.accounting = [__import__("mediaproxy.interfaces.accounting.%s" %<br>
mod.lower(), globals(), locals(), [""]).Accounting() for mod in<br>
set(Config.accounting)]<br>
File<br>
"/usr/lib/pymodules/python2.5/mediaproxy/interfaces/accounting/radius.py",<br>
line 54, in __init__<br>
self.handler = RadiusAccounting()<br>
File<br>
"/usr/lib/pymodules/python2.5/mediaproxy/interfaces/accounting/radius.py",<br>
line 90, in __init__<br>
raddict = pyrad.dictionary.Dictionary(*dicts)<br>
File "/usr/lib/pymodules/python2.5/pyrad/dictionary.py", line 145, in<br>
__init__<br>
self.ReadDictionary(dict)<br>
File "/usr/lib/pymodules/python2.5/pyrad/dictionary.py", line 316, in<br>
ReadDictionary<br>
fil = dictfile.DictFile(file)<br>
File "/usr/lib/pymodules/python2.5/pyrad/dictfile.py", line 48, in __init__<br>
self.__ReadNode(fil)<br>
File "/usr/lib/pymodules/python2.5/pyrad/dictfile.py", line 63, in<br>
__ReadNode<br>
node = _Node(fil, '', parentdir)<br>
File "/usr/lib/pymodules/python2.5/pyrad/dictfile.py", line 22, in __init__<br>
self.length = len(self.lines)<br>
TypeError: object of type 'generator' has no len()<br><br></blockquote><div>Whats in your client.conf? </div></div><br>