bugGNU Octave - Bugs: bug #43352, xlswrite in io-2.2.4 excepts no...

 
 

bug #43352: xlswrite in io-2.2.4 excepts no relative path

Submitter:  Malte Hinrichs <maldje>
Submitted:  Fri 03 Oct 2014 11:55:30 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  philipnienhuis
Originator Name:  Malte Hinrichs Open/Closed:  * Closed
Release:  * other Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 04 Oct 2014 03:35:28 PM UTC, comment #3: 

Fix is in mercurial.

If you want to try, grab

 __OCT_spsh_close__.m

from the repo in

http://sourceforge.net/p/octave/io/ci/default/tree/inst/private/

Thanks for reporting.

Philip Nienhuis <philipnienhuis>
Group Member
Sat 04 Oct 2014 03:15:29 PM UTC, comment #2: 

Bug only exists in OCT interface, probably related to zip.

Philip Nienhuis <philipnienhuis>
Group Member
Sat 04 Oct 2014 09:20:54 AM UTC, comment #1: 

Confirmed.
At first I figured it was a duplicate of another bug (can't find it now) that was invalid as Octave (io package/xlsopen) cannot create (an intermediate tree of) subdirectories.

But you're right, even with existing subdirs in the name it won't work and it'll create the file in the current directory (folder).

Should be easy to fix.

Philip Nienhuis <philipnienhuis>
Group Member
Fri 03 Oct 2014 11:55:30 PM UTC, original submission:  

The following does not work, even though octave affirms the file-creation

xlswrite("relative/path/xlsfile.xlsx", ones(3), "sheet_1")


possible workaround:


xlswrite([pwd filesep "relative/path/xlsfile.xlsx"], ones(3), "sheet_1")


Malte Hinrichs <maldje>

 

(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 maldje (Submitted the item)
  • -email is unavailable- added by maldje
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2014-10-04 philipnienhuis StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2014-10-04 philipnienhuis StatusConfirmed In Progress
    2014-10-04 philipnienhuis StatusNone Confirmed
        Assigned toNone philipnienhuis
        Release3.8.0 other
        Operating SystemMac OS Any
    2014-10-03 maldje Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code