octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43237] line plot fails if a file "x.oct" exis


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #43237] line plot fails if a file "x.oct" exists in the current directory
Date: Thu, 25 Sep 2014 12:36:15 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36

Follow-up Comment #5, bug #43237 (project octave):

This does look to be a very subtle and broken name resolution problem. The
existence of a global name "x" should not break the plot routine in question.
I've reported a bug about the underlying issue, once that is fixed this
particular error will be resolved.

Other than the particular name "x" causing a problem in this particular plot
function, I don't think there are any other general problems here. As a rule,
the .oct file extension should be avoided because it does hold special meaning
to Octave. However, in most other cases the error should be obvious:


>> system ("echo > x.oct");
>> x
error: /home/mike/x.oct: failed to load: /home/mike/x.oct: file too short


Do you think the manual could somehow better express that .oct files should be
avoided except for compiled extension functions? Right now it is only
mentioned in the sections about how to create oct-files. If you are not
looking for that functionality, it doesn't look like there is anything
generally describing that .oct files are any different from any other name.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43237>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]