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

ncurses textfield issue #74

Closed
stbose opened this issue May 27, 2013 · 4 comments
Closed

ncurses textfield issue #74

stbose opened this issue May 27, 2013 · 4 comments
Labels

Comments

@stbose
Copy link

stbose commented May 27, 2013

Refiled this issue from previous issue #69. Still having ncurses issue when entering anything into the textfield in sup. For instance, when trying global search

--- NoMethodError from thread: main
undefined method `unpost_form' for nil:NilClass
~/tmp/sup/lib/sup/textfield.rb:57:in `deactivate'
~/tmp/sup/lib/sup/buffer.rb:622:in `block in ask'
<internal:prelude>:10:in `synchronize'
~/tmp/sup/lib/sup/buffer.rb:27:in `sync'
~/tmp/sup/lib/sup/buffer.rb:621:in `ask'
~/tmp/sup/lib/sup/util.rb:573:in `method_missing'
~/tmp/sup/lib/sup/modes/scroll_mode.rb:82:in `search_in_buffer'
~/tmp/sup/lib/sup/mode.rb:59:in `handle_input'
~/sup/lib/sup/buffer.rb:274:in `handle_input'
bin/sup:266:in `<module:Redwood>'
bin/sup:74:in `<main>'

brew doctor shows that the ncurses package has been linked and running ncursesw5-config shows the homebrew installed ncurses.

ncursesw5-config --prefix
/usr/local/Cellar/ncurses/5.9

Reinstalling ncursesw-sup gem also did not help. Thanks for the help.

@gauteh
Copy link
Member

gauteh commented May 27, 2013

Do you have any hooks defined? it seems like activate has not been called..

@stbose
Copy link
Author

stbose commented May 27, 2013

It appears that I have default hooks..

bin/sup --list-hooks
[2013-05-27 14:10:55 -0700] No 'gpgme' gem detected. Install it for email encryption, decryption and signatures.
Have 35 registered hooks:

These are all located in ~/.sup/hooks/, but I haven't added any of my own. Is there something that I didn't configure?

@gauteh
Copy link
Member

gauteh commented May 27, 2013

Weird, cant really reproduce the output. But I guess libraries are getting
mixed up... Could you go to the ncursesw gem dir that is being used and do
an otool -L ncursesw_bin.bundle to check which libraries have been linked?

By the way; what exact mode does this error happen in? All of them?

@gauteh
Copy link
Member

gauteh commented Nov 11, 2013

Closed, need more information.

@gauteh gauteh closed this as completed Nov 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants