octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #64366] [Octave Packages] (io) xlswrite can on


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #64366] [Octave Packages] (io) xlswrite can only save file to a specific directory
Date: Fri, 30 Jun 2023 15:18:42 -0400 (EDT)

Follow-up Comment #7, bug #64366 (project octave):

I think C:\ is not writable by normal user. If I try to write in write
protected directory (in linux) I get:


octave:9>  a = 10; xlswrite ("/foo2.xlsx", a)
mv: cannot move './foo2.zip' to '/foo2.xlsx': Permission denied
mv: cannot move 'foo2.zip' to '/foo2.xlsx': Permission denied
xlsclose: could not zip files in /tmp/oct-YWAjnl to /foo2.xlsx
warning: xlsclose: Moving file "/tmp/oct-YWAjnl/foo2.zip" to "/foo2.xlsx"
failed with message: ""
warning: called from
    __OCT_spsh_close__ at line 76 column 9
    xlsclose at line 139 column 13
    xlswrite at line 242 column 11

warning: xlsclose: file /foo2.xlsx could not be saved.
Read-only? unsupported file format? in use elsewhere?
(File pointer preserved.
 Try saving again later, or with different file name, or as different file
type.)
error: warning: STATE structure must have fields 'identifier' and 'state'
error: called from
    __OCT_spsh_close__ at line 77 column 9
    xlsclose at line 139 column 13
    xlswrite at line 242 column 11
octave:10> ls
'[Content_Types].xml'   docProps   foo2.zip   _rels   xl
octave:11> pwd
ans = /tmp/oct-YWAjnl



The fact that my PWD now is different is also some kind of bug
in IO package.

Dmitri.
-- 



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64366>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]