bugGNU Octave - Bugs: bug #55161, Cannot open multiple files from...


bug #55161: Cannot open multiple files from Google Drive File Stream in the editor

Submitted by:  Christos Sevastiadis <csevast>
Submitted on:  Tue 04 Dec 2018 10:50:17 AM UTC  
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Need Info Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  4.4.0 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)

Sun 03 Mar 2019 09:25:59 PM UTC, comment #10:

Unfortunately the problem raises in the new version 5.1.0 either.

Christos Sevastiadis <csevast>
Sat 02 Mar 2019 09:04:52 PM UTC, comment #9:

Version 4.4.1 is deprecated and no longer supported. Please try with the latest stable release which is 5.1.0. The problem is likely to have been fixed.

Rik <rik5>
Project Administrator
Sat 08 Dec 2018 11:21:02 PM UTC, comment #8:

The Google Drive File Stream is part of the G Suite, which is for Business and Education accounts. I'm using it through my educational account. Thus, I have to be precise to help you.


  • The selection dialog does appear but the selected file does not open.
  • After creating as many new tabs as I want, the second file still can not be opened.
  • Yes, it is possible.

After experimenting with the idea of the new empty tabs of the second bullet I found out that the files are opened but they are not showing. I opened some empty tabs. I saved one of them with a name, let say "test1.m". When I try to save another one with the same name, after the positive answer to the question dialog about replacing the existing one file, an error dialog opens informing that "File not saved! A file with the selected name <directory path>/test1.m is already open in the editor", where the <directory path> is let say "G:/My Drive/TestDirectory".

I hope that the last description will help you.

Christos Sevastiadis <csevast>
Sat 08 Dec 2018 07:46:20 AM UTC, comment #7:

I wanted to test it but unfortunately Google Drive Stream is only available for Google Business Accounts (or am I missing something?). In order to figure out what might be going on, I have a few questions:

  • What exactly happens when you try to open the second file via the "Open" menu entry? Does the file selection dialog appear but the selected file does not open or does nothing happen at all?
  • When having the first file opened, what happens when you create a new tab (menu "File" > "New Script" or "Ctrl-N") and then try to open a second file?
  • Related to above: What happens if you close the empty editor tab after octave's startup and then try to open the first file? Is it possible?
Torsten Lilge <ttl>
Project Member
Fri 07 Dec 2018 04:14:05 PM UTC, comment #6:

I don't think that the issue should be closed. I described a way to come over the problem but it is not its solution. Octave GUI has problem to open script files in its Text Editor when the files are stored in a Google File Stream virtual drive, which it has by default a base root "G:\My Drive". I am using a lot of IDEs, based on QScintilla or not, in Python or in Java, in different computers with Windows 10 and Windows 7. None of them has the same behaviour as Octave. I hope that now the problem can be reproduced and somebody from the development team will fix it.

Thank you very much for your interest.

Christos Sevastiadis <csevast>
Fri 07 Dec 2018 12:29:51 PM UTC, comment #5:

OK, thanks for reporting back.

Before closing this bug report, I think it is of interest to know WHY Google File Stream behaves that way with Octave. After all, working in the cloud is part the future for many an Octave user, so IMO this should work.
Could it be that Google File Stream allows a connection to just one file at a time, or something along that line?

Philip Nienhuis <philipnienhuis>
Project Member
Thu 06 Dec 2018 07:00:14 PM UTC, comment #4:

Alright, I found out when it happens. It has nothing to do with the Octave version because I upgraded it already and its behaviour is the same. I tried with a white space including path in a common drive (D:) for the Current Directory and the Octave behaviour was right, like yours. Thus the problem raises in the special case of Google File Stream virtual drive and maybe not because of its white space including base path "G:\My Drive". As I see, to come over the problem I have to copy my scripts to another drive to work with them in the Text Editor.

Christos Sevastiadis <csevast>
Thu 06 Dec 2018 06:22:34 PM UTC, comment #3:

Thanks, that explnation helps.

I tried with Octave-4.4.1 (current release) and 5.0.0 (dev version) and I cannot reproduce this bug with .m files in e.g.,
"C:\Users\philip\MyDocs\My eBooks"

Please upgrade to 4.4.1, try again and report back.

Philip Nienhuis <philipnienhuis>
Project Member
Wed 05 Dec 2018 08:45:24 PM UTC, comment #2:

I don't know if it is a bug or not but when the path of the Current Directory includes whites paces then the problem raises. I open one file in the Text Editor and then I try to open another one from the same Current Directory and it doesn't open. A solution to come over is to use only white space free paths, but the Google File Stream is using by default the "G:\My Drive" as base path.

Christos Sevastiadis <csevast>
Wed 05 Dec 2018 08:01:46 PM UTC, comment #1:

Just FTR, I can't reproduce this on my Win10 and Win7 boxes with
the development version of Octave.

But maybe I do not fully understand your case. Do you want to open the very same file twice in the editor

Philip Nienhuis <philipnienhuis>
Project Member
Tue 04 Dec 2018 10:50:17 AM UTC, original submission:

Since the version 4.4 (now updated to version 4.4.1) I can open only one file in the Text Editor. With one file already opened I cannot open any other one, either by double clicking on the filename in the File Browser, nor applying the "Open an existing file in editor" action button. I have to close the already opened file and open another one. The Text Editor doesn't accept more than one file to be opened.

My installation is by the book the octave-4.4.1-w64-installer.exe file, on Microsoft Windows 10 Pro Build 17134.

Christos Sevastiadis <csevast>


(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: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by csevast (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-12-18 mtmiller SummaryCannot open multiple files in the Text Editor => Cannot open multiple files from Google Drive File Stream in the editor
    2018-12-05 philipnienhuis StatusNone => Need Info

    Back to the top

    Powered by Savane 3.4