[AsteriskBrasil] ajudar monast python twisted

Vinícius Bossle Fagundes viniciusbossle em gmail.com
Segunda Novembro 14 14:07:33 BRST 2011


Faltou a http_client do pead no php

pear install HTTP_Client

Outra coisa, desabilita o display errors.

Vinicius Bossle Fagundes
viniciusbossle em gmail.com (e-mail, msn, gtalk, skype)
+55 (48) 9161-1609 (celular)

Em 14 de novembro de 2011 14:00, Vanessa Sather
<vanessasather em bol.com.br>escreveu:

> Aqui deu a mesma coisa, porem reinstalei o apache e php para versao mais
> nova e deu certo! Quer dizer, mais ou menos.
> Agora o problema que ocorre é que fica com esses avisos.. embora funciona:
>
> Alguem tem ideia do que pode ser?
>
> *Deprecated*: Assigning the return value of new by reference is
> deprecated in */usr/local/lib/php/HTTP/Client.php* on line *179*
>
> *Deprecated*: Assigning the return value of new by reference is
> deprecated in */usr/local/lib/php/HTTP/Client.php* on line *228*
>
> *Deprecated*: Assigning the return value of new by reference is
> deprecated in */usr/local/lib/php/HTTP/Request.php* on line *412*
>
> *Deprecated*: Assigning the return value of new by reference is
> deprecated in */usr/local/lib/php/HTTP/Request.p hp* on line *736*
>
> *Deprecated*: Assigning the return value of new by reference is
> deprecated in */usr/local/lib/php/HTTP/Request.php* on line *749*
>
> *Deprecated*: Assigning the return value of new by reference is
> deprecated in */usr/local/lib/php/HTTP/Request.php* on line *794*
>
> *Strict Standards*: Redefining already defined constructor for class
> Net_URL in */usr/local/lib/php/Net/URL.php* on line *124*
>
> *Strict Standards*: Non-static method PEAR::isError() should not be
> called statically, assuming $this from incompatible context in *
> /usr/local/lib/php/HTTP/Client.php* on line *401*
>
> *Strict Standards*: Non-static method PEAR::getStaticProperty() should
> not be called statically, assuming $this fr om incompatible context in *
> /usr/local/lib/php/HTTP/Request.php* on line *724*
>
> *Strict Standards*: Non-static method PEAR::isError() should not be
> called statically, assuming $this from incompatible context in *
> /usr/local/lib/php/HTTP/Request.php* on line *739*
>
> *Strict Standards*: Non-static method PEAR::isError() should not be
> called statically, assuming $this from incompatible context in *
> /usr/local/lib/php/HTTP/Request.php* on line *741*
>
> *Strict Standards*: Non-static method PEAR::isError() should not be
> called statically, assuming $this from incompatible context in *
> /usr/local/lib/php/HTTP/Request.php* on line *771*
>
> *Strict Standards*: Non-static method PEAR::isError() should not be
> called statically in */var/www/monsat/lib/util.php * on line *73*
>
> Se eu excluir o Client e Request dai fica somente essa mensagem e nao
> funciona:
> *Warning*: require_once(HTTP/Client.php): failed to open stream: No such
> file or directory in */var/www/painel/lib/util.php* on line *31*
>
> *Fatal error*: require_once(): Failed opening required 'HTTP/Client.php'
> (include_path='.:/usr/local/lib/php:/usr/lib/lib/php') in *
> /var/www/painel/lib/util.php* on line *31
>
> Grata
> Vanessa Sather
> *
> ------------------------------
> Em 13/11/2011 23:35, *Ulisses Feres - Abratel Telecom <
> uferes em abratel.com.br >* escreveu:
>
> Estou enfrentando uma dúvida no monast e fico agradecido pela ajuda.
>
> Monast funciona corretamente mas nao consigo interagir na interface do
> browser usando o mouse por exemplo para transferencia, etc..
> Quando tento fazer recebo essa mensagem:
>
> [root em debian2:/usr/src/monast-3.0b3/pymon]$./monast.py
> [Sat Nov 12 15:56:48 2011] NOTICE   :: Initializing Monast AMI Interface...
> [Sat Nov 12 15:56:48 2011] NOTICE   :: Parsing config file /etc/monast.conf
> [Sat Nov 12 15:56:48 2011] NOTICE   :: Server LOCAL2 :: AMI Connected...
>
>
> Quando tento trocar ou arrastar algo na interface recebo isso:
> [root em debian2:/usr/src/monast-3.0b3/pymon]$./monast.py
> [Sat Nov 12 15:56:48 2011] NOTICE   :: Initializing Monast AMI Interface...
> [Sat Nov 12 15:56:48 2011] NOTICE   :: Parsing config file /etc/monas
> t.conf
> [Sat Nov 12 15:56:48 2011] NOTICE   :: Server LOCAL2 :: AMI Connected...
> [Sat Nov 12 15:56:58 2011] ERROR    :: HTTP Request from 127.0.0.1:40123(40213098e7a48b06416ccf78ca0063a1) to /doAction?server=LOCAL2 failed:
> 'action'
> [Sat Nov 12 15:56:58 2011] ERROR    :: Unhandled Exception on HTTP Request
> to /doAction?server=LOCAL2
> >> Traceback (most recent call last):
> >>   File
> "/usr/lib/python2.5/site-packages/Twisted-11.0.0-py2.5-linux-i686.egg/twisted/internet/defer.py",
> line 542, in _runCallbacks
> >>     current.result = callback(current.result, *args, **kw)
> >>   File "./monast.py", line 426, in doAction
> >>     reactor.callWhenRunning(self.monast._processClientActions)
> >>   File
> "/usr/lib/python2.5/site-packages/Twisted-11.0.0-py2.5-linux-i686.egg/twisted/internet/base.py",
> line 654, in callWhenRunning
>  >&g t;     _callable(*args, **kw)
>
> >>   File "./monast.py", line 1764, in _processClientActions
> >>     role, handler   = self.actionHandlers.get(action['action'][0],
> (None, None))
> >> KeyError: 'action'
>
>
> *VERSOES QUE ESTOU USANDO:
> *zope.interface-3.7.0
> Twisted-11.0.0 (ja tentei com a 10.1 e 10.2)
> starpy-1.0.0a13
> python2.5
> monast3.0b3
>
>
>
>
>
> _______________________________________________
> KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk.
> - Hardware com alta disponibilidade de recursos e qualidade KHOMP
> - Suporte técnico local qualificado e gratuito
> Conheça a linha completa de produtos KHOMP em www.khomp.com.br
> _______________________________________________
> DIGIVOICE: Lider no mercado de placas para Asterisk
> Único fabricante com Centro de Treinamento especializado.
> LANÇAMENTO: Channel Bank TDMoE, até 64 canais FXS / FXO.
> www.digivoice.com.br ou (11)3016-5200.
> ________
> GATEWAY GSM-SIP, gateway Lyric VoIP com 2,4 e 6 canais GSM vía tronco SIP
> Escalável até 240 canáis, Portabilidade Numérica,  Balanceamento de Carga,
> Bilhetagem
> Confira em http://www.yx.cl/landing/brasil/lyric_voip_asterisk.org
> Shop Voip, representante exclusivo: www.shopvoip.com.br ou 0800-6021244
> ______________________________________________
> Para remover seu email desta lista, basta enviar um email em branco para
> asteriskbrasil-unsubscribe em listas.asteriskbrasil.org
>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20111114/db09b2a1/attachment-0001.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil