[AsteriskBrasil] Monast Erro Asterisk 1.6.0.26

Neulo Alves neulo em uol.com.br
Terça Abril 13 16:34:07 BRT 2010


 

Boa Tarde

 

Tentei instalar o Monast no asterisk 1.6.0.26, mas quando inicio da o erro.

 

Segue log:

 

IpPhoneSap2:/var/www/pymon# ./monast.py

[Tue Apr 13 16:13:13 2010] NOTICE   :: MonAst :: Initializing...

[Tue Apr 13 16:13:13 2010] NOTICE   :: MonAst.parseConfig :: Parsing config

[Tue Apr 13 16:13:13 2010] NOTICE   :: AsteriskManager :: Initializing...

[Tue Apr 13 16:13:14 2010] NOTICE   :: AsteriskManager.connect :: Trying to
connect to localhost:5038

[Tue Apr 13 16:13:14 2010] NOTICE   :: AsteriskManager.login :: Logging
in...

[Tue Apr 13 16:13:14 2010] NOTICE   :: AsteriskManager.threadRecvQueue ::
Authentication accepted

[Tue Apr 13 16:13:18 2010] WARNING  :: MonAst.handlerUnlink :: Call
1271185876.567-1271185876.568 not found on self.calls

[Tue Apr 13 16:13:18 2010] WARNING  :: MonAst.handlerHangup :: Channel
1271185876.568 not found on self.channels

[Tue Apr 13 16:13:18 2010] WARNING  :: MonAst.handlerHangup :: Channel
1271185876.567 not found on self.channels

[Tue Apr 13 16:13:19 2010] NOTICE   :: MonAst.threadClient
(threadClient-0.969236312111) :: New client session:
31f8af84a5a03f31e898dc248b1e230e

[Tue Apr 13 16:13:19 2010] ERROR    :: MonAst.clientGetStatus
(threadClient-0.969236312111) :: Unhandled Exception

>> Traceback (most recent call last):

>>   File "./monast.py", line 1784, in clientGetStatus

>>     output.append(self.parseJson(Action = 'PeerStatus', Peer = user[0],
Status = mu['Status'], Calls = mu['Calls'], CallerID = user[2]))

>>   File "./monast.py", line 551, in parseJson

>>     return json.dumps(args)

>>   File "/var/www/pymon/simplejson/__init__.py", line 230, in dumps

>>     return _default_encoder.encode(obj)

>>   File "/var/www/pymon/simplejson/encoder.py", line 202, in encode

>>     chunks = list(chunks)

>>   File "/var/www/pymon/simplejson/encoder.py", line 426, in _iterencode

>>     for chunk in _iterencode_dict(o, _current_indent_level):

>>   File "/var/www/pymon/simplejson/encoder.py", line 382, in
_iterencode_dict

>>     yield _encoder(value)

>>   File "/var/www/pymon/simplejson/encoder.py", line 48, in
py_encode_basestring_ascii

>>     s = s.decode('utf-8')

>>   File "/usr/lib/python2.5/encodings/utf_8.py", line 16, in decode

>>     return codecs.utf_8_decode(input, errors, True)

>> UnicodeDecodeError: 'utf8' codec can't decode byte 0xaa in position 2:
unexpected code byte

[Tue Apr 13 16:13:22 2010] NOTICE   :: MonAst.threadClient
(threadClient-0.24647219444) :: New client session:
2b32b3b7e747b0168084a25e56841405

[Tue Apr 13 16:13:22 2010] ERROR    :: MonAst.clientGetStatus
(threadClient-0.24647219444) :: Unhandled Exception

>> Traceback (most recent call last):

>>   File "./monast.py", line 1784, in clientGetStatus

>>     output.append(self.parseJson(Action = 'PeerStatus', Peer = user[0],
Status = mu['Status'], Calls = mu['Calls'], CallerID = user[2]))

>>   File "./monast.py", line 551, in parseJson

>>     return json.dumps(args)

>>   File "/var/www/pymon/simplejson/__init__.py", line 230, in dumps

>>     return _default_encoder.encode(obj)

>>   File "/var/www/pymon/simplejson/encoder.py", line 202, in encode

>>     chunks = list(chunks)

>>   File "/var/www/pymon/simplejson/encoder.py", line 426, in _iterencode

>>     for chunk in _iterencode_dict(o, _current_indent_level):

>>   File "/var/www/pymon/simplejson/encoder.py", line 382, in
_iterencode_dict

>>     yield _encoder(value)

>>   File "/var/www/pymon/simplejson/encoder.py", line 48, in
py_encode_basestring_ascii

>>     s = s.decode('utf-8')

>>   File "/usr/lib/python2.5/encodings/utf_8.py", line 16, in decode

>>     return codecs.utf_8_decode(input, errors, True)

>> UnicodeDecodeError: 'utf8' codec can't decode byte 0xaa in position 2:
unexpected code byte

^C[Tue Apr 13 16:13:47 2010] NOTICE   :: AsteriskManager.close ::
Finishing...

[Tue Apr 13 16:13:47 2010] NOTICE   :: AsteriskManager.logoff :: Logging
off...

[Tue Apr 13 16:13:49 2010] NOTICE   :: AsteriskManager.disconnect :: Closing
connection to localhost:5038

[Tue Apr 13 16:13:50 2010] NOTICE   :: Monast :: Finished...

 

Diego sabe se é problema de versão?

 

Obrigado

 

Neulo

 

-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20100413/dc3236ee/attachment.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil