[irc] Disconnecting from still-connecting connection

Bug #396634 reported by Stefano Rivera
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ibid
Fix Released
Low
Stefano Rivera

Bug Description

Excuse the kak title.

We shouldn't get exceptions like this:

2009-07-07 16:10:08,717 ERROR core.dispatcher: Exception occured in Admin processor of sources plugin
Traceback (most recent call last):
  File "/home/stefanor/projects/ibid/tibid/ibid/core.py", line 25, in _process
    processor.process(event)
  File "/home/stefanor/projects/ibid/tibid/ibid/plugins/__init__.py", line 55, in process
    method(event, *match.groups())
  File "/home/stefanor/projects/ibid/tibid/ibid/plugins/sources.py", line 28, in disconnect
    elif ibid.sources[source].disconnect():
  File "/home/stefanor/projects/ibid/tibid/ibid/source/irc.py", line 229, in disconnect
    self.proto.transport.loseConnection()
AttributeError: 'SourceFactory' object has no attribute 'proto'

Changed in ibid:
assignee: nobody → Stefano Rivera (stefanor)
status: New → In Progress
Changed in ibid:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.