Some news :
I change the port in Jabber Account, for use SSL with 5223 or 443 port and 5223
(old port of Jabber...)
Now I have the following log :
openerp server :
IDS ::::::: [3]
ooooooooooo: browse_record(crm_livechat.livechat.partner, 3)
In get config
Ids 1
In loop browse_record(crm_livechat.livechat, 1)
Making user
This is result {'user': {'1': {'name': u'Nyx', 'server': u'jabber.synerpgy.fr',
'ssl': u'2', 'state': u'active', 'login': u'[email protected]', 'password':
u'**dontdream:p**', 'port': u'5223'}}}
toppicid::: 1
Partner is this ::::::::::::: [email protected]
In main ................. <xmpp>
2009-12-26 21:03:18,543 cherrypy.msg INFO HTTP: Page handler: <bound method
ChatFunc.start_chat of <livechat>>
Traceback (most recent call last):
File
"/usr/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg/cherrypy/_cphttptools.py",
line 121, in _run
self.main()
File
"/usr/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg/cherrypy/_cphttptools.py",
line 264, in main
body = page_handler(*virtual_path, **self.params)
File "<string>", line 3, in start_chat
File
"/usr/lib/python2.5/site-packages/TurboGears-1.0.8-py2.5.egg/turbogears/controllers.py",
line 360, in expose
*args, **kw)
File "<string>", line 5, in run_with_transaction
File
"/usr/lib/python2.5/site-packages/TurboGears-1.0.8-py2.5.egg/turbogears/database.py",
line 359, in so_rwt
retval = func(*args, **kw)
File "<string>", line 5, in _expose
File
"/usr/lib/python2.5/site-packages/TurboGears-1.0.8-py2.5.egg/turbogears/controllers.py",
line 373, in <lambda>
mapping, fragment, args, kw)))
File
"/usr/lib/python2.5/site-packages/TurboGears-1.0.8-py2.5.egg/turbogears/controllers.py",
line 410, in _execute_func
output = errorhandling.try_call(func, *args, **kw)
File
"/usr/lib/python2.5/site-packages/TurboGears-1.0.8-py2.5.egg/turbogears/errorhandling.py",
line 77, in try_call
return func(self, *args, **kw)
File
"/opt/5.0.6.2_openerp/server/bin/addons/crm_livechat/crm-lc/livechat/subcontrollers/livechat/chatfunc.py",
line 74, in start_chat
message = self.mainhandler(cl,topicid)
File
"/opt/5.0.6.2_openerp/server/bin/addons/crm_livechat/crm-lc/livechat/subcontrollers/livechat/chatfunc.py",
line 89, in mainhandler
c = cl.getRoster()
File "/usr/lib/python2.5/site-packages/xmpp/client.py", line 232, in getRoster
return self.Roster.getRoster()
File "/usr/lib/python2.5/site-packages/xmpp/roster.py", line 61, in getRoster
while not self.set: self._owner.Process(10)
File "/usr/lib/python2.5/site-packages/xmpp/dispatcher.py", line 120, in
Process
try: data=self._owner.Connection.receive()
File "/usr/lib/python2.5/site-packages/xmpp/transports.py", line 151, in
receive
self._owner.disconnected()
File "/usr/lib/python2.5/site-packages/xmpp/client.py", line 129, in
disconnected
if self.__dict__.has_key('TLS'): self.TLS.PlugOut()
File "/usr/lib/python2.5/site-packages/xmpp/client.py", line 82, in PlugOut
if self.__class__.__dict__.has_key('plugout'): return self.plugout()
File "/usr/lib/python2.5/site-packages/xmpp/transports.py", line 281, in
plugout
self._owner.UnregisterHandler('features',self.FeaturesHandler,xmlns=NS_STREAMS)
File "/usr/lib/python2.5/site-packages/xmpp/dispatcher.py", line 186, in
UnregisterHandler
for pack in self.handlers[xmlns][name][typ+ns]:
KeyError: 'features'
Request Headers:
REFERER: http://172.16.149.128:8080/chatfunc/select_topic
Content-Length: 9
ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
USER-AGENT: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.1.5) Gecko/20091109
Ubuntu/9.10 (karmic) Firefox/3.5.5 (.NET CLR 3.5.30729)
CONNECTION: keep-alive
COOKIE: terp_db=test; terp_user=admin;
session_id=ad605032f3dc326d7373cbeece720ecff904b35c
PRAGMA: no-cache
CONTENT-LENGTH: 9
HOST: 172.16.149.128:8080
CACHE-CONTROL: no-cache
CONTENT-TYPE: application/x-www-form-urlencoded; charset=UTF-8
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Remote-Addr: ::ffff:172.16.149.1
ACCEPT-LANGUAGE: fr-fr,en-us;q=0.7,en;q=0.3
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
ACCEPT-ENCODING: gzip,deflate
KEEP-ALIVE: 300
- - "POST /chatfunc/start_chat/ HTTP/1.1" 500 3624
"http://172.16.149.128:8080/chatfunc/select_topic" "Mozilla/5.0 (X11; U; Linux
i686; fr; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5 (.NET
CLR 3.5.30729)"
2009-12-26 21:03:18,594 cherrypy.msg INFO HTTP: HTTP Server shut down
2009-12-26 21:03:18,603 cherrypy.msg INFO ENGINE: CherryPy shut down
Unhandled exception in thread started by <bound method ChatFunc.presencing of
<livechat>>
Traceback (most recent call last):
File
"/opt/5.0.6.2_openerp/server/bin/addons/crm_livechat/crm-lc/livechat/subcontrollers/livechat/chatfunc.py",
line 159, in presencing
v = cl.Process(1)
File "/usr/lib/python2.5/site-packages/xmpp/dispatcher.py", line 120, in
Process
try: data=self._owner.Connection.receive()
File "/usr/lib/python2.5/site-packages/xmpp/transports.py", line 147, in
receive
except socket.sslerror,e:
AttributeError: 'NoneType' object has no attribute 'sslerror'
-------------------- m2f --------------------
--
http://www.openobject.com/forum/viewtopic.php?p=50188#50188
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users