(
Jump to the original submission)
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
|
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.
|
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.
|
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.
|
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.
|
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?
|
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?
|
The 64bit MS Windows installer will not accept an install path that includes spaces, e.g. Program Files/Octave.
|
(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
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.