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

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

[Octave-bug-tracker] [bug #60406] copyfile() fails with "Cannot perform


From: anonymous
Subject: [Octave-bug-tracker] [bug #60406] copyfile() fails with "Cannot perform a cyclic copy" with octave-cli.exe under Windows
Date: Sat, 17 Apr 2021 11:25:26 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0

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

                 Summary: copyfile() fails with "Cannot perform a cyclic copy"
with octave-cli.exe under Windows
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sat 17 Apr 2021 03:25:24 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: Horshack
        Originator Email: horshack@live.com
             Open/Closed: Open
                 Release: 6.2.0
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Every copyfile() fails under Windows 10 when executed using octave-cli.exe.
The error reported is "Cannot perform a cyclic copy". The same function call
succeeds when performed in a command window in the Octave GUI.

Here are the various methods tried:

octave-cli.exe --eval "copyfile('t1.txt', 't2.txt')"

octave-cli.exe testcopy.m, where testcopy.m contains:
copyfile('t1.txt', 't2.txt');

Running octave-cli.exe in interactive mode and typing:
copyfile('t1.txt', 't2.txt')

An original issue was discovered in a larger script where the copyfile() call
actually hangs the script but only when executed via octave-cli.exe - it runs
fine in the GUI. That script is too large and involved to reference for
recreation in this bug report but hopefully the underlying issue is the same
as what causes the error message.

Configuration:
Windows 10 Version 1909
Octave 6.2.0 64-bit
Executable: "c:\Program Files\GNU
Octave\Octave-6.2.0\mingw64\bin\octave-cli.exe"




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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