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

Error executing 'stty icrnl ixon echo icanon iexten' on OSX with homebrew coreutils installed #97

Closed
michelemostarda opened this issue Feb 26, 2017 · 1 comment

Comments

@michelemostarda
Copy link

I've this error at first command submission with jline3 on OSX 10.12.13 with gnubin/stty (coreutils installed by homebrew in response of some dependency).

$stty --version
stty (GNU coreutils) 8.26

The problem is bypassed if I prioritize the original stty in PATH

PATH="/bin:$PATH"

I found some hint here:

alexch/rerun#62 (comment)

Issue stack trace:

rdfcoder-github$ bin/rdfcoder
Initializing JRE data ...
 INFO [main] (JavaProfile.java:278) - Objects Table loaded.
JRE data loaded.
RDFCoder interactive console [version 0.5]
.~default> help 
Exception in thread "main" java.io.IOError: java.io.IOException: Error executing 'stty icrnl ixon echo icanon iexten': stty: 'standard input': unable to perform all requested operations
	at org.jline.terminal.impl.AbstractPosixTerminal.setAttributes(AbstractPosixTerminal.java:52)
	at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:573)
	at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:388)
	at com.asemantics.rdfcoder.AbstractCommandLine.readInput(AbstractCommandLine.java:1544)
	at com.asemantics.rdfcoder.AbstractCommandLine.mainCycle(AbstractCommandLine.java:1185)
	at com.asemantics.rdfcoder.AbstractCommandLine.main(AbstractCommandLine.java:307)
Caused by: java.io.IOException: Error executing 'stty icrnl ixon echo icanon iexten': stty: 'standard input': unable to perform all requested operations
	at org.jline.utils.ExecHelper.exec(ExecHelper.java:42)
	at org.jline.terminal.impl.ExecPty.setAttr(ExecPty.java:146)
	at org.jline.terminal.impl.AbstractPosixTerminal.setAttributes(AbstractPosixTerminal.java:50)
	... 5 more
@gnodet gnodet closed this as completed in 12219fa Feb 27, 2017
@michelemostarda
Copy link
Author

<3

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

1 participant