sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    STD IO .isatty produces BUG SPLAT!s

    Scheduled Pinned Locked Moved SketchUp Bug Reporting
    sketchup
    3 Posts 2 Posters 873 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dan RathbunD Offline
      Dan Rathbun
      last edited by

      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

      I'm not here much anymore.

      1 Reply Last reply Reply Quote 0
      • AndrewSA Offline
        AndrewS
        last edited by

        @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 sent

        Dan,

        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

        Andrew S.
        SketchUp Release Engineer

        1 Reply Last reply Reply Quote 0
        • Dan RathbunD Offline
          Dan Rathbun
          last edited by

          @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.

          I'm not here much anymore.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement