bugGNU Octave - Bugs: bug #44340, conv function will work from...

 
 

bug #44340: conv function will work from command line, not in script

Submitted by:  Clyde Shappee <clyde73>
Submitted on:  Sun 22 Feb 2015 03:51:47 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: Works For MeAssigned to: None
Originator Name: Clyde73Open/Closed: Closed
Release: 3.8.2Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 22 Feb 2015 05:59:43 PM UTC, comment #5:

Ok, silly me. I exited octave and navigated to my script folder. Restarted and all is well now. f.m runs to my hearts content.

Thanks to all for patience.

Clyde

Clyde Shappee <clyde73>
Sun 22 Feb 2015 05:40:55 PM UTC, comment #4:

Is the octavescripts directory still in your load path? What does

show? If it's still finding your filter.m script instead of the filter.m function file, then you will still get the same error.

Mike Miller <mtmiller>
Project Administrator
Sun 22 Feb 2015 05:39:20 PM UTC, comment #3:

Ok, so I movedd my script to another folder (octavescritps) where I normally work out of and still see the problem. I am sorry to be bothering the community with such a newb problem as I am no stranger to Octave... I have to be overlooking something so obvious.

Clyde Shappee <clyde73>
Sun 22 Feb 2015 04:22:32 PM UTC, comment #2:

The error message clearly shows that you have a script file in your Octave load path /home/clyde/octave/filter.m. This is overriding the function file filter.m provided by Octave. Please remove or rename your script file to not conflict with Octave names and try again.

Mike Miller <mtmiller>
Project Administrator
Sun 22 Feb 2015 04:14:32 PM UTC, comment #1:

I can't reproduce this.

I created a file f.m and put 5 lines of code in it.

Rik <rik5>
Project Administrator
Sun 22 Feb 2015 03:51:47 PM UTC, original submission:

Results in this message

error: invalid use of script /home/clyde/octave/filter.m in index expression
error: called from:
error: /usr/local/share/octave/3.6.3/m/polynomial/conv.m at line 80, column 5
error: /home/clyde/octave/f.m at line 5, column 2

But if I type the commands from the prompt after a clean start it will work one time. A second try fails as well.

Clyde Shappee <clyde73>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by clyde73 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 22 Feb 2015 06:01:48 PM UTCmtmillerOpen/ClosedOpen=>Closed
    Sun 22 Feb 2015 04:14:32 PM UTCrik5StatusNone=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup1