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: Horshack
Subject: [Octave-bug-tracker] [bug #60406] copyfile() fails with "Cannot perform a cyclic copy" with octave-cli.exe under Windows
Date: Sun, 18 Apr 2021 08:21:56 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0

Follow-up Comment #2, bug #60406 (project octave):

[comment #1 comment #1:]
> IIUC, `octave-cli.exe` shouldn't be run directly unless you make sure that
the necessary environment variables are set globally.
> 
> Instead you should start the CLI either with the `octave.vbs` in OCTAVE_HOME
or with `octave.bat` in the bin directory. Either of those will set the
necessary environment variables.
> 
> Does the error still occur in that case?
> 
Thanks for the quick reply. I was completely unaware octave.bat was required
to launch the cli (or alternately, that it required environmental variables to
be set). Completely user error on my part - I apologize. When using octave.bat
the copyfile() error disappears. It also fixes the hang I was experiencing
when running copyfile() inside a larger script. Thanks again for your help.

    _______________________________________________________

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]