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

regression on open files on OpenBSD #536

Closed
hboetes opened this issue Aug 13, 2020 · 5 comments
Closed

regression on open files on OpenBSD #536

hboetes opened this issue Aug 13, 2020 · 5 comments
Labels

Comments

@hboetes
Copy link
Member

hboetes commented Aug 13, 2020

Whilst downloading multiple albums (5) I ran into:

Major Socket Error: Networking terminated! [Errno 24] Too many open files

And all my downloads stopped. Might this be a regression from #346

@hboetes hboetes added the bug label Aug 13, 2020
@hboetes
Copy link
Member Author

hboetes commented Aug 13, 2020

Ah, there's even a trace with that:

Thu 14:11 Major Socket Error: Networking terminated! [Errno 24] Too many open
          files
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/pynicotine/gtkgui/frame.py", line 1332, in updateLog
    AppendLine(self.LogWindow, msg, self.tag_log, scroll=shouldscroll)
  File "/usr/local/lib/python3.7/site-packages/pynicotine/gtkgui/utils.py", line 428, in AppendLine
    va = scrolledwindow.get_vadjustment()
AttributeError: 'NoneType' object has no attribute 'get_vadjustment'
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/pynicotine/gtkgui/frame.py", line 1332, in updateLog
    AppendLine(self.LogWindow, msg, self.tag_log, scroll=shouldscroll)
  File "/usr/local/lib/python3.7/site-packages/pynicotine/gtkgui/utils.py", line 428, in AppendLine
    va = scrolledwindow.get_vadjustment()
AttributeError: 'NoneType' object has no attribute 'get_vadjustment'
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/pynicotine/gtkgui/frame.py", line 1332, in updateLog
    AppendLine(self.LogWindow, msg, self.tag_log, scroll=shouldscroll)
  File "/usr/local/lib/python3.7/site-packages/pynicotine/gtkgui/utils.py", line 428, in AppendLine
    va = scrolledwindow.get_vadjustment()
AttributeError: 'NoneType' object has no attribute 'get_vadjustment'

@mathiascode
Copy link
Member

Thanks for the trace! It's unrelated, but sometimes occurs when the program is shutting down.

@hboetes
Copy link
Member Author

hboetes commented Aug 13, 2020

Ah, OK. I should check the terminal before shutting down.
Can I remove the trace?

@mathiascode
Copy link
Member

Keep it, it's also an issue I want to fix.

@hboetes
Copy link
Member Author

hboetes commented Aug 13, 2020

will reopen when it happens again, but since it doesn't happen that often anyway, it's hard to reproduce.

@hboetes hboetes closed this as completed Aug 13, 2020
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

2 participants