bugGNU Octave - Bugs: bug #53124, Octave will not accept an install...

 
 

bug #53124: Octave will not accept an install path that includes any spaces

Submitted by:  None
Submitted on:  Mon 12 Feb 2018 01:34:50 AM UTC  
 
Category:  Configuration and Build System Severity:  2 - Minor
Priority:  3 - Low Item Group:  Other
Status:  Need Info Assigned to:  None
Originator Name:  Paul Doerr Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  4.2.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)

Wed 14 Feb 2018 08:01:20 AM UTC, comment #7:

Also: The 8.3 file names are used optionally only by NTFS file system. [1]
If I remember correctly, I encountered a laptop with pre-installed Windows 10 Home where that option was turned of by default on the second hard drive partition (D:). If we rely on that feature, we could see errors on systems where it is turned off on the partition where Octave is installed.

[1] https://support.microsoft.com/de-de/help/121007/how-to-disable-8-3-file-name-creation-on-ntfs-partitions

Markus Mützel <mmuetzel>
Project Member
Wed 14 Feb 2018 07:49:10 AM UTC, comment #6:

Good news that Octave can be installed to paths with spaces now. I didn't know that yet.
However, it still stumbles upon folders with non-ASCII characters. The %ProgramFiles% variable is localized on some Windows version (e.g. the default is C:\Programme on a German Windows XP). I don't know for sure. But that path might contain non-ASCII characters on other locales.
Maybe we should still wait before we install Octave to that location by default.

Markus Mützel <mmuetzel>
Project Member
Wed 14 Feb 2018 02:11:45 AM UTC, comment #5:

Installing to paths with spaces sounds good to me.

Previous issues I believe has been with the printing/ghostscript:
https://savannah.gnu.org/bugs/?func=detailitem&item_id=41140

However, I believe that was before the change where it uses the 8.1 format path name, which may make it never see spaces anyway.

John Donoghue <lostbard>
Project Member
Tue 13 Feb 2018 10:59:51 PM UTC, comment #4:

Can we also change the default install suggestion to be C:\Program Files\Octave\Octave-${OCTAVE_VERSION}? I think that should be the default, assuming everything works.

Mike Miller <mtmiller>
Project Administrator
Tue 13 Feb 2018 10:59:44 PM UTC, comment #3:

Oh, the tmpdir problem happened because the test suite does

and doesn't restore the previous value (if any) when the test is done.

So that is a bug in the test suite, not a problem with ghostscript or Octave's code for printing plots.

John W. Eaton <jwe>
Project Administrator
Tue 13 Feb 2018 10:55:12 PM UTC, comment #2:

I just took an installed copy of Octave and moved it from "C:\Octave" to "C:\Program Files\Octave" and ran the test suite with _run_test_suite_. The results look fine. OTOH, I would expect most everything to be OK since most tests don't touch the filesystem except for finding .m files, and that appears to work fine. The things I might expect to have problems are any system commands. But the pager and gnuplot appear to work OK, at least as much as I tested them. I did see a message from ghostscript about not being able to open a temporary file when I tried to print a plot to a PDF file.

I'd like to remove the restriction in the installer and just fix any problems that show up. Any objections?

John W. Eaton <jwe>
Project Administrator
Mon 12 Feb 2018 06:53:46 AM UTC, comment #1:

Yes, the installer intentionally checks and reports "Octave should not be installed to a destination folder containing spaces. Please select another destination."

I think it should allow installation to any path, but I don't have access to Windows to test. Are you able to run through the test suite and evaluate functionality and packages and make sure they all work?

Mike Miller <mtmiller>
Project Administrator
Mon 12 Feb 2018 01:34:50 AM UTC, original submission:

The 64bit MS Windows installer will not accept an install path that includes spaces, e.g. Program Files/Octave.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

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

    Only project members can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-02-12 mtmiller CategoryNone => Configuration and Build System
        Severity3 - Normal => 2 - Minor
        Priority5 - Normal => 3 - Low
        StatusNone => Need Info

    Back to the top


    Powered by Savane 3.3