bugGNU Octave - Bugs: bug #35771, Interpreter does not rehash...


bug #35771: Interpreter does not rehash functions on Windows

Submitter:  None
Submitted:  Fri 09 Mar 2012 01:19:10 PM UTC
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Need Info Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.6.1
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Jump to the original submission

Sun 28 Dec 2014 01:58:02 AM UTC, comment #11: 

Not enough information to debug, and report has been waiting on further info since March.  Closing report.

Rik <rik5>
Group administrator
Thu 27 Mar 2014 05:52:23 AM UTC, comment #10: 

This sounds a lot like bug #31080. Are the m-files you are creating at the root directory of a Windows drive, for example E:\afunc.m?

Mike Miller <mtmiller>
Group Member
Tue 13 Mar 2012 03:06:42 PM UTC, comment #9: 

None of an m-file that are in oct2mat, e.g. is_matrix.m, or arg.m are not in my Octave-3.6.1 directory so I think it's not installed.

Rehash had no effect. Still, if I want to run an actual m-file, I have to delete him, run the m-file, interpreter says ... undefined under line ..., save it back and then it works.

I think it's a problem with windows cause I didn't have this problem like a week ago.

Michal Talik <ewerex>
Tue 13 Mar 2012 02:30:06 PM UTC, comment #8: 

Are you sure oct2mat is not installed? It's a package that breaks a lot of things and is frequently inadvertently installed.

Type "rehash" in the interpreter. Does that produce any effect? Any output? Does it re-read the files?

Jordi Gutiérrez Hermoso <jordigh>
Group Member
Tue 13 Mar 2012 02:26:25 PM UTC, comment #7: 


I tried to install oct2mat without any efect.

MinGW binary and Octave for MS Visual Studio 2008 as well with the same result. What do you mean by "try running rehash"?

Michal Talik <ewerex>
Tue 13 Mar 2012 11:52:07 AM UTC, comment #6: 

You tried what? Installing oct2mat? Uninstalling it? How did you install Octave? Are you running Nitzan Arazi's MinGW binary or Michael Goffioul's MSVC binary?

Octave doesn't use the Windows registry, so I don't think touching registry keys should have any effect.

Try running rehash after changing an m-file. Does this still not read the new contents of the file? Do you see any errors running rehash?

Jordi Gutiérrez Hermoso <jordigh>
Group Member
Tue 13 Mar 2012 10:11:13 AM UTC, comment #5: 

I tried and nothing changed. I also tried to delete all octave related keys from the registry, and Document and Settings file and still the same. The strange think is that I didn't have such problem a week ago. And yes, "a code" means m-file.

Michal Talik <ewerex>
Mon 12 Mar 2012 01:37:13 PM UTC, comment #4: 

I think behaviour like this has been reported before. Did you install oct2mat?

Jordi Gutiérrez Hermoso <jordigh>
Group Member
Mon 12 Mar 2012 12:47:19 PM UTC, comment #3: 

What is "a code"? A file?

So you're saying that Octave isn't reading files as you change them?

Jordi Gutiérrez Hermoso <jordigh>
Group Member
Mon 12 Mar 2012 10:02:14 AM UTC, comment #2: 

You mean while programing? Nothing. I'm just learning with the Octave so as I changed a code then it executed the original one. I tried also to delete the code , save it again (under the same name) and the Octave executed the original code, as the compiled version of the already executed program would be stored somewhere in virtual memory of the Octave.

Michal Talik <ewerex>
Fri 09 Mar 2012 01:57:16 PM UTC, comment #1: 

What did you execute before and what did you execute after?

Jordi Gutiérrez Hermoso <jordigh>
Group Member
Fri 09 Mar 2012 01:19:10 PM UTC, original submission:  


I've just downloaded Octave 3.6.1 and if I change a code then the Octave don't execute current one, but the previous. After restarting Octave it execute the actual code



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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one

   bug dependencies.


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by ewerex (Posted a comment)
  • -email is unavailable- added by jordigh (Posted a comment)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.


    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-05-02 mtmiller Dependencies- bugs #47818 is dependent
    2014-12-28 rik5 Open/ClosedOpen Closed
    2012-03-13 jordigh SummaryA problem with an interpreter Interpreter does not rehash functions on Windows
    2012-03-12 jordigh Item GroupBuild Failure Incorrect Result
    2012-03-09 jordigh StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code