Skip to content

exception: 'NoneType' object has no attribute 'username' #388

Description

@abma

2021-12-05 14:51:49 ERROR twistedserver.dataReceived:71 Error in handling data from client: [AG]abma
exception: 'NoneType' object has no attribute 'username'
command: b'#5 JOIN sy \n'
Traceback (most recent call last):
File "/home/lobby/uberserver/twistedserver.py", line 64, in dataReceived
self.Handle(data.decode("utf-8"))
File "/home/lobby/uberserver/Client.py", line 166, in Handle
self.HandleProtocolCommands(self.data.split("\n"), flood_limits)
File "/home/lobby/uberserver/Client.py", line 202, in HandleProtocolCommands
self.HandleProtocolCommand(command)
File "/home/lobby/uberserver/Client.py", line 172, in HandleProtocolCommand
self._root.protocol._handle(self, cmd)
File "protocol/Protocol.py", line 397, in _handle
function(*([client] + fun_args))
File "protocol/Protocol.py", line 1667, in in_JOIN
channel.addUser(client)
File "protocol/Channel.py", line 91, in addUser
if not bridge.username in bridgedClients:
AttributeError: 'NoneType' object has no attribute 'username'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions