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

curses.error: addwstr() returned ERR in macOS Monterey #6

Open
mjfos2r opened this issue Apr 2, 2022 · 1 comment
Open

curses.error: addwstr() returned ERR in macOS Monterey #6

mjfos2r opened this issue Apr 2, 2022 · 1 comment

Comments

@mjfos2r
Copy link

mjfos2r commented Apr 2, 2022

System: Macbook Pro
CPU:M1 pro
OS: macOS Monterey 12.3.1
Problem: When viewing .cif models, attempting to launch mmterm in a window smaller than 53x29 causes the following error.
Description: when terminal window width <53 || height <29:
Error:
Traceback (most recent call last): File "/usr/local/bin/mmterm", line 21, in <module> view(args.in_file, args.format, args.model, args.chains, args.boxsize) File "/Users/michael/bioinformatics/mmterm/mmterm/view.py", line 251, in view window_structure.addstr(0, 0, canvas.frame()) _curses.error: addwstr() returned ERR
Workaround: manually resize terminal window to larger than 52x28
Possible Solution: include check during init & resize to minimum if smaller than req.

@mjfos2r mjfos2r changed the title issue with minimum terminal window size, macOS Monterey, Apple Silicon M1pro curses.error: addwstr() returned ERR in macOS Monterey Apr 2, 2022
@jgreener64
Copy link
Owner

Thanks for reporting this. I don't have time to fix it currently though.

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

No branches or pull requests

2 participants