Comments (6)
Did you install the ncursesw-sup gem before installing ncurses with brew?
What version of ncurses do you have?
from sup.
I wasn't sure about the order so I gem uninstall ncursesw-sup
, cloned the git, and ran bundle install
. during the dependency check, it re-installed the ncursesw-sup gem and successfully built. but, i got the same error at runtime.
The homebrew install of ncurses is 5.9.
from sup.
Hm, could you try to build the ncursesw-sup gem from source: https://github.com/sup-heliotrope/ncursesw-ruby
after clone:
ruby extconf.rb
make
gem build ncursesw.gemspec
gem install ncursesw-sup-1.3.1.1.gem
please post the output of everything. The missing type is part of form.h which hopefully shows up in extconf.rb output.
Also: please verify that the homebrew version of ncurses is being used, try ncursesw5-config --version or similar and check the path of the binary.
from sup.
I got it to work. I built the gem as you suggested, but still no luck. It turns out I had a ncursesw (1.2.4) gem installed on my system-- once I uninstalled that, then sup ran fine.
Thanks for the help.
from sup.
Sorry to ask again-- I got sup built and installed on Mac OS X, and it loads okay, but some of the features have a bit of difficulty. For instance, if you press /
it shows the prompt to search. When you type any characters, they do not appear and when is pressed, sup crashes with the following dump
--- 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>'
Please let me know fi this is insufficient information to debug. I will provide more.
from sup.
No problem, this is a different error. So thanks for posting it. It should however be in a separate bug report. It seems to be a ncurses problem. Are you sure you got the latest ncursesw-sup gem installed, and if you run rvm or similar, could you please try and run brew doctor
before running sup and try again (to make sure the brew ncurses version is being used)?
from sup.
Related Issues (20)
- Error from psych after sup-config HOT 9
- "wrong id called on nil" (RuntimeError)
- Exception while importing mail HOT 1
- unknown encoding causes crash HOT 4
- ERROR: oh crap, an exception HOT 1
- undefined method `encode' for URI:Module HOT 5
- Send mail? HOT 1
- Cant get sup properly installed or running, what am i missing? HOT 3
- sup-mail_1.0.orig.tar.gz HOT 1
- ERROR: oh crap, an exception HOT 2
- Emails without Date: header are always on top
- Wiki link to home page HOT 1
- RFC6532 support ("international email"): UTF-8 in headers, message/global MIME type
- sup-sync-back-maildir crashes: tried to create Proc object without a block (ArgumentError) HOT 1
- Login with Outlook / Office 365 Mail HOT 2
- Missing `mime/types` dependency in Debian Bullseye HOT 2
- just hitting 'j' to move through 40k messages and the whole program crashed HOT 3
- Sup on M1, M2 Mac / Apple Silicon HOT 15
- XDG_CONFIG_HOME
- Config Issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sup.