s-news
[Top] [All Lists]

Re: strange behavior

To: "Leeds, Mark" <mleeds@mlp.com>
Subject: Re: strange behavior
From: Tony Plate <tplate@blackmesacapital.com>
Date: Fri, 22 Apr 2005 16:46:47 -0600
Cc: s-news@lists.biostat.wustl.edu
In-reply-to: <54668D97C0199943A454516A5FF6481E58AACA@EXCHUS001.AD.MLP.COM>
References: <54668D97C0199943A454516A5FF6481E58AACA@EXCHUS001.AD.MLP.COM>
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
I've seen this message when there are problems like mismatching quotes in a file.

Debug by creating a new version of your file, and then deleting & replacing chunks of it (& testing each time). If you do it in binary search fashion (start by working with large chunks), you can find the error quickly.

-- Tony Plate

Leeds, Mark wrote:
I have a file called temp.S that has Splus code in it.

If I do /apps/splus6.2mleeds/Splus < temp.S,

I get the error

“Problem: Input error on terminal connection “/dev/tty”: no such file or directory”

But, if I type Splus and then source the same file, it runs fine with no problems.

Does anyone have an idea on how I can debug the problem given that

I can’t make it bomb inside Splus so I can’t use traceback() ?

                                                            Thanks



<Prev in Thread] Current Thread [Next in Thread>