bugGNU Octave - Bugs: bug #47724, GUI just...forgets....the...

 
 

bug #47724: GUI just...forgets....the documentation...

Submitted by:  None
Submitted on:  Sun 17 Apr 2016 04:37:25 PM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Inaccurate Result
Status: Works For MeAssigned to: None
Originator Name: Aaron V.Originator Email: -unavailable-
Open/Closed: ClosedRelease: 4.0.1
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Thu 28 Apr 2016 09:02:56 PM UTC, comment #6:

My guess for the OP's report is that OCTAVE_HOME is getting removed from the environment somehow. Can you test on Windows what happens if you "unsetenv OCTAVE_HOME" inside a running working Octave session?

That's about all I can think of that would cause this. Or somehow Octave is actually being re-executed by a hibernate or reboot or whatever really happened, but without the OCTAVE_HOME in the environment (IOW it's not using the right launcher or batch file or whatever).

If you can't figure out how to get Octave to run without OCTAVE_HOME set correctly in the environment, then without any further information from the reporter this is unreproducible and should be closed.

Mike Miller <mtmiller>
Project Administrator
Wed 20 Apr 2016 09:20:44 AM UTC, comment #5:

@Mike:
Did you address the OP or me?

What get for Tatsuro's 64-bit 4.0.1 cross-build is:

In mxe-octave builds, octave_config_info echoes a lot of paths that may have been important during build stage but no more during runtime (at least, for Windows cross-builds); for example (again running Tatsuro's 64-bit 4.0.1 cross-build):

... and many more.

Philip Nienhuis <philipnienhuis>
Project Member
Tue 19 Apr 2016 10:15:06 PM UTC, comment #4:

The following Octave functions tell where files are installed, if this problem is recurring please report what these functions return, both when it is working correctly and when it is not:

When Octave starts it should automatically set OCTAVE_HOME to be the directory that it is running from and adjust the locations of all other files it owns to be relative to that directory. If there's a bug here please help us find it.

Can you say for sure that Octave remained running when the laptop was shut down and restarted? Or did restarting the operating system automatically start a new instance of Octave because it was remembered in the session?

Mike Miller <mtmiller>
Project Administrator
Tue 19 Apr 2016 04:10:03 PM UTC, comment #3:

Could be.
When compiling modules with mkoctfile on Windows I see loads of include file locations from the Linux side, so I didn't bother when I saw that path. But for docs it may indeed be an issue.

Remarkable is that it happens apparently during some re-initialization after ...? hibernate? sleep? cold reboot?

I never saw this message yet I regularly hibernate / sleep my laptop in the middle of Octave calculations.

Philip Nienhuis <philipnienhuis>
Project Member
Tue 19 Apr 2016 12:09:04 PM UTC, comment #2:

It looks like the path is an absolute path valid when jwe compiled this, which should have been a path relative to the installation directory.

As a workaround for the documentation, you can set the environment variable "OCTAVE_INFO_FILE" to point to wherever "octave.info" lives on a Windows installation.

I'm not sure why it isn't finding the functions, though. Perhaps it is again that the first session was relying on environment variables that changed.

Lachlan Andrew <lachlan>
Project Member
Sun 17 Apr 2016 06:17:33 PM UTC, comment #1:

Did your laptop hibernate, or was it a cold restart?

If the former, did you also try the latter to see if the problem was solved?

Philip Nienhuis <philipnienhuis>
Project Member
Sun 17 Apr 2016 04:37:25 PM UTC, original submission:

I was using the GUI last night to run some simple integration examples using Gaussian Quadrature. I turned off my laptop and turned it back on this morning. When I turned it on, the GUI could not load the documentation giving an error

"The info file
\scratch\jwe\mxe-octave\usr\i686-w64-mingw32\share\info\octave.info
or compressed versions do not exist"

...which is weird because I wasn't messing with the GUI or Windows in any way.

Also, when I try to use any Octave function, such as help or trapz, it doesn't work. It says that those inputs are undefined.

Anonymous

 

(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 lachlan (Posted a comment)
  • -unavailable- added by None (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 16 May 2016 07:29:51 PM UTCmtmillerStatusNeed Info=>Works For Me
      Open/ClosedOpen=>Closed
    Sun 17 Apr 2016 06:17:33 PM UTCphilipnienhuisStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1