Doesn't append _ to nick if it is already in use
Bug #215858 reported by
Chris Ortner
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
P1tr |
Fix Committed
|
Low
|
Michael Otteneder |
Bug Description
When connecting to a server P1tr usually tried a nickname. If it was already in use by someone else he appended an underscore to it, if necessary two and so on. This functions doesn't seem to work any longer. When connecting to a server where the nick specified in P1tr's config file is in use nothing happens. The bot appears frozen on the command line. There is no message of any failure.
So far I only tested revision 96 with no changes using Python 2.5.2 on Linux 2.6.
Changed in p1tr: | |
assignee: | nobody → m-otteneder |
importance: | Undecided → Low |
milestone: | none → beta |
status: | New → Confirmed |
Changed in p1tr: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
Well I get this exception when the nick is already in use: Library/ Frameworks/ Python. framework/ Versions/ 2.5/Extras/ lib/python/ twisted/ internet/ selectreactor. py", line 139, in _doReadOrWrite Library/ Frameworks/ Python. framework/ Versions/ 2.5/Extras/ lib/python/ twisted/ internet/ tcp.py" , line 531, in doConnect failIfNotConnec ted(error. getConnectError ((connectResult , os.strerror( connectResult) ))) Library/ Frameworks/ Python. framework/ Versions/ 2.5/Extras/ lib/python/ twisted/ internet/ tcp.py" , line 467, in failIfNotConnected connector. connectionFaile d(failure. Failure( err)) Library/ Frameworks/ Python. framework/ Versions/ 2.5/Extras/ lib/python/ twisted/ internet/ base.py" , line 690, in connectionFailed factory. clientConnectio nFailed( self, reason) mc/dev/ p1tr/lib/ core.py" , line 128, in clientConnectio nFailed TypeError' >: cannot concatenate 'str' and 'instance' objects
ile "/System/
why = getattr(selectable, method)()
File "/System/
self.
File "/System/
self.
File "/System/
self.
File "/Users/
log('f', 'Connection failed: ' + reason)
<type 'exceptions.