Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to any server #12

Open
cafehaine opened this issue Jul 28, 2019 · 1 comment
Open

Cannot connect to any server #12

cafehaine opened this issue Jul 28, 2019 · 1 comment
Assignees
Labels
bug Unexpected problem or unintended behavior

Comments

@cafehaine
Copy link

cafehaine commented Jul 28, 2019

Something changed on the QT side, and now the client cannot connect to any relay:

$[130] 19:42      ~     > qweechat
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/qweechat/qweechat.py", line 276, in connect_weechat
    int(self.connection_dialog.fields['lines'].text()))
  File "/usr/lib/python2.7/site-packages/qweechat/network.py", line 143, in connect_weechat
    self.statusChanged.emit(self.status_connecting, None)
TypeError: Network.statusChanged[str, str].emit(): argument 2 has unexpected type 'NoneType'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/qweechat/network.py", line 72, in _socket_connected
    self.statusChanged.emit(self.status_connected, None)
TypeError: Network.statusChanged[str, str].emit(): argument 2 has unexpected type 'NoneType'

Looks like QT now forces the use of a string

@cafehaine cafehaine changed the title Cannot connect to a server any server Cannot connect to any server Jul 29, 2019
@cafehaine
Copy link
Author

cafehaine commented Jul 29, 2019

The issue is also present at line 112 and 143 of network.py
Replacing None by "" seems to fix the issue

@flashcode flashcode added the bug Unexpected problem or unintended behavior label Aug 4, 2019
@flashcode flashcode self-assigned this Aug 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants