bugGNU Octave - Bugs: bug #56762, [octave forge] (io): Running...

 
 

bug #56762: [octave forge] (io): Running xlsread erases all opened mfiles in the Editor window

Submitter:  Omid <omidc>
Submitted:  Fri 16 Aug 2019 12:13:32 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  xlsread Open/Closed:  * Closed
Release:  * 5.1.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 18 Aug 2019 05:06:43 AM UTC, comment #5: 

Summary: Bug will be resolved with the next Octave release. Closing report.

@Omid: If you don't mind installing an inoffical release, you can try one of my latest installers where this bug is already fixed:

https://drive.google.com/open?id=1s34q6_Ov1F94mBhvhWN59ehVFfh82iG5

But please keep in mind, that it is not an official version and I recommend to switch to the official one, as soon as it is out.

Kai Torben Ohlhus <siko1056>
Group Member
Sat 17 Aug 2019 03:34:08 PM UTC, comment #4: 

Looking at the description in the original report (comment #0) this is very clearly a duplicate of bug #55823.
No Octave release has been made yet where this bug has been fixed so we may expect more reports like this until 5.2.0 (or 6.1.0) is out.

When this report is closed it may be better to leave the title as-is to facilitate other affected users to more easily find it. Apparently xlsread, where this concealed bug manifests itself, is used a lot more than other functions that invoke rmdir().

Philip Nienhuis <philipnienhuis>
Group Member
Fri 16 Aug 2019 01:42:08 AM UTC, comment #3: 


comment #1:

> Thank you for your bug report.  This sounds pretty weird.  Can you give a few more details?
>
> 1. How did you install Octave?
> 2. How did you install the IO package?
> 3. Did you do any additional preparations to run xlsread?
> 4. How many files do you have opened in the Octave editor?  Was the Excel file to read among them?
> 5. What was the exact code you ran?
> 6. Can you upload a small but meaningful example of your Excel File you read here?
>
> This would really help to reproduce your error.


1. I've installed Octave from the following link: https://www.octave.org.
2. I used pkg install -forge io
3, 4, 5 & 6. Lets' imagine that I have one opened m file in the Editor, and the follwoing part of the code is run:

>> ProcessedExcelFile = 'Test.xlsx';
>> fileDataParams = xlsread(ProcessedExcelFile,'MatlabData','C6:H213');

After running the last command, the file opened in the Editor window is closed.

Please find my excel file in the attachment. Run the above two commands while you have an m file in the Editor.

 

 



(file #47348)

Omid <omidc>
Fri 16 Aug 2019 01:38:51 AM UTC, comment #2: 

I think this is a duplicate of bug #55823, which has been fixed on the stable branch of Octave, so it will be part of Octave 5.2.0 or 6.1.0, whichever is released first.

Omid, if you have the time and interest, you can build Octave's stable branch using the mxe-octave project to create a Windows binary that you can use. Or you can wait for a future official release to fix this.

Mike Miller <mtmiller>
Group Member
Fri 16 Aug 2019 12:23:05 AM UTC, comment #1: 

Thank you for your bug report.  This sounds pretty weird.  Can you give a few more details?

1. How did you install Octave?
2. How did you install the IO package?
3. Did you do any additional preparations to run xlsread?
4. How many files do you have opened in the Octave editor?  Was the Excel file to read among them?
5. What was the exact code you ran?
6. Can you upload a small but meaningful example of your Excel File you read here?

This would really help to reproduce your error.

Kai Torben Ohlhus <siko1056>
Group Member
Fri 16 Aug 2019 12:13:32 AM UTC, original submission:  

During running a code, I read an Excel file by calling xlsread function but all opened m files including the run code in the Editor window are gone. By the way, xlsread reads the Excel file properly. The only issue is erasing the Editor window, which is annoying.

Omid <omidc>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #47348:  Test.xlsx added by omidc (55KiB - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by omidc (Submitted the item)
  •  

    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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-08-18 siko1056 StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2019-08-16 omidc Attached File- Added Test.xlsx, #47348
    2019-08-16 siko1056 Item GroupPerformance Unexpected Error or Warning
        StatusNone Need Info
        SummaryRunning xlsread erases all opened mfiles in the Editor window [octave forge] (io): Running xlsread erases all opened mfiles in the Editor window

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code