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

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

[Octave-bug-tracker] [bug #31080] User scripts or functions created duri


From: Dennis Cote
Subject: [Octave-bug-tracker] [bug #31080] User scripts or functions created during a session on Windows are not found
Date: Mon, 20 Jan 2025 15:19:09 -0500 (EST)

Follow-up Comment #79, bug #31080 (group octave):

I repeated my previous tests using my local build of Octave 10.0.0. The
undefined error did not occur in a the same subdirectory.


GNU Octave, version 10.0.0
Copyright (C) 1993-2024 The Octave Project Developers.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-w64-mingw32".

Home page:            https://octave.org
Support resources:    https://octave.org/support
Improve Octave:       https://octave.org/get-involved

For changes from previous versions, type 'news'.

>> pwd
ans = C:\Users\DennisC
>> stat('.')
ans =

  scalar structure containing the fields:

    dev = 2
    ino = 0
    mode = 16895
    modestr = drwxrwxrwx
    nlink = 1
    uid = 0
    gid = 0
    rdev = 2
    size = 0
    atime = 1.7374e+09
    mtime = 1.7374e+09
    ctime = 1.7268e+09
    blksize = NaN
    blocks = NaN

>> dir bug2.m
warning: dir: nonexistent directory 'bug2.m'
warning: called from
    dir at line 192 column 5

>> edit bug2.m
>> stat('.')
ans =

  scalar structure containing the fields:

    dev = 2
    ino = 0
    mode = 16895
    modestr = drwxrwxrwx
    nlink = 1
    uid = 0
    gid = 0
    rdev = 2
    size = 0
    atime = 1.7374e+09
    mtime = 1.7374e+09
    ctime = 1.7268e+09
    blksize = NaN
    blocks = NaN

>> dir bug2.m
bug2.m
>> bug2
bug testing v10
ans = 0
>> ver
----------------------------------------------------------------------
GNU Octave Version: 10.0.0 (hg id: 00671f5dbc55+)
GNU Octave License: GNU General Public License
Operating System: MINGW32_NT-10.0 Windows 10.0  x86_64
----------------------------------------------------------------------
Package Name  | Version | Installation directory
--------------+---------+-----------------------
     control  |   4.1.0 |
C:\Users\DennisC\AppData\Roaming\octave\api-v59\packages\control-4.1.0
      signal  |   1.4.6 |
C:\Users\DennisC\AppData\Roaming\octave\api-v59\packages\signal-1.4.6
>> 


I found the warnings from the first dir command a little disturbing, since I
was looking for a file not a directory, but I see the argument is described as
a directory in the documentation. 




    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature


reply via email to

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