STD IO .isatty produces BUG SPLAT!s
-
The following simple boolean methods produce a Sketchup BUG SPLAT!, instead of returning true or false:
**$stdin.isatty STDIN.isatty STDOUT.isatty STDERR.isatty**
Platform: Win32
BUG SPLAT! reports sent -
@dan rathbun said:
The following simple boolean methods produce a Sketchup BUG SPLAT!, instead of returning true or false:
**$stdin.isatty STDIN.isatty STDOUT.isatty STDERR.isatty**
Platform: Win32
BUG SPLAT! reports sentDan,
Next time this happens, when you fill out the Bug Splat report, put in some sort of keyword that will be easily searchable and then leave a follow-up here telling me what the word is. That way I can go easily pull the bug report and write something up.
Andrew
-
@andrews said:
Next time this happens, when you fill out the Bug Splat report, put in some sort of keyword ...
I think I did, did I not do both?
My post here IS the followup.
In each of the 4 explaination(s) in the Bug Splat! reports, I wrote almost identical notes (but the receiver of the ".isatty" method changes per the list at the top of this thread.):
@unknownuser said:Ruby Console:
$stdin
.isatty
--> BUG SPLAT!
So take your pick, try searching on ".isatty"Not that important anyway.
Interesting that $stdout and $stderr raise "NoMethodError: undefined method `isatty'"
The
Sketchup::Console
class needs a major overhaul.
We need to be able to use STDIN, STDOUT and STDERR to implement our own Console Applets / Debuggers, or integrate with thrid-party Ruby IDEs.
There is a glaring 'perfect' space for controlling such a feature on the 'Applications' page of the 'Preferences' dialog.
Advertisement