Ticket #9 (closed defect: invalid)
when dalay in connection happen
| Reported by: | junix | Owned by: | asterix |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | Core | Version: | |
| Severity: | blocker | Keywords: | |
| Cc: | OS: |
Description
When the connection delay very.. happen this:
Traceback (most recent call last):
File "./targetAgent", line 56, in ?
Core.core.start(mode)
File "/home/junix/sources/targetagent/Core/core.py", line 977, in
start
gc.mainLoop()
File "/home/junix/sources/targetagent/Core/core.py", line 967, in
mainLoop
end = self.read_queue()
File "/home/junix/sources/targetagent/Core/core.py", line 689, in
read_queue
con = self.connect(ev[1])
File "/home/junix/sources/targetagent/Core/core.py", line 551, in
connect
if con.auth(name, password, ressource):
File "/home/junix/sources/targetagent/common/jabber.py", line 524, in
auth
auth_response = self.waitForResponse("auth-get")
File "/home/junix/sources/targetagent/common/jabber.py", line 383, in
waitForResponse
if not self.process(0.2): return None
File "/home/junix/sources/targetagent/common/jabber.py", line 421, in
process
return xmlstream.Client.process(self, timeout)
File "/home/junix/sources/targetagent/common/xmlstream.py", line 381,
in process
self._parser.Parse(data)
File "/home/junix/sources/targetagent/common/xmlstream.py", line 283,
in handle_data
self._ptr.data.append(data)
AttributeError?: Client instance has no attribute '_ptr'
Look this problem..
a question: existe a timeout connection variable?
regards,
Junix
