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

Nicotine+ crashes on startup - BufferError #2850

Closed
Dominiquini opened this issue Feb 1, 2024 · 5 comments
Closed

Nicotine+ crashes on startup - BufferError #2850

Dominiquini opened this issue Feb 1, 2024 · 5 comments
Labels
Milestone

Comments

@Dominiquini
Copy link

Nicotine+ version: 3.3.0
Operating System/Distribution: Windows 10 x64

Describe the bug

Crash on startup

Expected behavior

App should open normally

Steps to reproduce the bug

Just open the app with the start menu shortcut

Additional context

Nicotine+ Version: 3.3.0
GTK Version: 4.12.5
Python Version: 3.11.7 (win32)

Type: <class 'BufferError'>
Value: Existing exports of data: object cannot be re-sized
Traceback:   File "D:/a/nicotine-plus/nicotine-plus/pynicotine/gtkgui/application.py", line 848, in _raise_exception
  File "C:/msys64/mingw64/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
  File "D:/a/nicotine-plus/nicotine-plus/pynicotine/slskproto.py", line 2685, in run
  File "D:/a/nicotine-plus/nicotine-plus/pynicotine/slskproto.py", line 2456, in _process_ready_sockets
  File "D:/a/nicotine-plus/nicotine-plus/pynicotine/slskproto.py", line 2411, in _process_ready_input_socket
  File "D:/a/nicotine-plus/nicotine-plus/pynicotine/slskproto.py", line 2467, in _process_conn_incoming_messages
  File "D:/a/nicotine-plus/nicotine-plus/pynicotine/slskproto.py", line 1307, in _process_server_input
  File "D:/a/nicotine-plus/nicotine-plus/pynicotine/slskproto.py", line 1518, in _send_message_to_server
  File "D:/a/nicotine-plus/nicotine-plus/pynicotine/slskproto.py", line 2539, in _process_outgoing_message
  File "D:/a/nicotine-plus/nicotine-plus/pynicotine/slskproto.py", line 2301, in _process_internal_messages
  File "D:/a/nicotine-plus/nicotine-plus/pynicotine/slskproto.py", line 1479, in _server_disconnect
  File "D:/a/nicotine-plus/nicotine-plus/pynicotine/slskproto.py", line 937, in _close_connection

Thanks

@Dominiquini Dominiquini added the bug label Feb 1, 2024
@slook
Copy link
Member

slook commented Feb 1, 2024

conn_obj.ibuf.clear()

@mathiascode mathiascode added this to the 3.3.1 milestone Feb 1, 2024
@Dominiquini
Copy link
Author

I deleted my personal file (C:\Users${USERNAME}\AppData\Roaming\nicotine) and now it's working!

@slook
Copy link
Member

slook commented Feb 1, 2024

Cool, but that shouldn't have happened. It would be nice to know how to reproduce the crash.

What version of Nicotine+ was installed previously?

Do you have a backup of your personal profile folder that you deleted?

Thank you for promptly reporting the issue.

@mathiascode
Copy link
Member

It happens when the server rejects the login attempt, due to an invalid username and password combination. I'll have a fix ready soon.

@mathiascode mathiascode changed the title Nicotine+ crashs on startup Nicotine+ crashes on startup Feb 2, 2024
This was referenced Feb 3, 2024
@mathiascode mathiascode changed the title Nicotine+ crashes on startup Nicotine+ crashes on startup - BufferError Feb 3, 2024
@mathiascode mathiascode pinned this issue Feb 3, 2024
@mathiascode
Copy link
Member

Reopening for visibility. For anyone affected, please use 3.3.1.dev1 until 3.3.1 is released (hopefully in a few days): https://nicotine-plus.org/doc/TESTING.html

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

No branches or pull requests

3 participants