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

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

[Octave-bug-tracker] [bug #64363] [IO] xlswrite to existing file failes


From: Georg Wiora
Subject: [Octave-bug-tracker] [bug #64363] [IO] xlswrite to existing file failes if temp dir is on different drive
Date: Wed, 28 Jun 2023 10:11:51 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64363>

                 Summary: [IO] xlswrite to existing file failes if temp dir is
on different drive
                   Group: GNU Octave
               Submitter: gwiora
               Submitted: Wed 28 Jun 2023 04:11:50 PM CEST
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: georgw
        Originator Email: 
             Open/Closed: Open
                 Release: 8.2.0 8.X Series Bug Fix Release 
         Discussion Lock: Any
        Operating System: Microsoft Windows
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 28 Jun 2023 04:11:50 PM CEST By: Georg Wiora <gwiora>
When I use XSLWRITE to insert data in an existing excel file the operation
fails if the temp folder is on a different windows drive as the target file.
In my case %TEMP% points to a directory on drive C while drive Z is linked to
a network drive mapping a folder on my drive C. That means it looks like a
network connection to windows, but it isn't.


Saving data to file "z:/testdir/myexcelfile.xlsx" ...
mv: inter-device move failed: './myexcelfile.zip' to
'z:/testdir/myexcelfile.xlsx'; unable to remove target: Invalid argument
mv: inter-device move failed: 'myexcelfile.zip' to
'z:/testdir/myexcelfile.xlsx'; unable to remove target: Invalid argument
xlsclose: could not zip files in z:/Users/georg/AppData/Local/Temp/oct-azWA6N
to z:/testdir/myexcelfile.xlsx
warning: xlsclose: Moving file
"z:/Users/georg/AppData/Local/Temp/oct-azWA6N/myexcelfile.zip" to
"z:/testdir/myexcelfile.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









    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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