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

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

[Octave-bug-tracker] [bug #58401] Error 'undefined near line 1 column 1'


From: Roberto Fernandez
Subject: [Octave-bug-tracker] [bug #58401] Error 'undefined near line 1 column 1' when running a new file created through the GUI editor in a cached network drive
Date: Tue, 19 May 2020 06:18:54 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36

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

                 Summary: Error 'undefined near line 1 column 1' when running
a new file created through the GUI editor in a cached network drive
                 Project: GNU Octave
            Submitted by: qbort
            Submitted on: Tue 19 May 2020 10:18:52 AM UTC
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: Qbort
        Originator Email: 
             Open/Closed: Open
                 Release: 5.1.0
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

My configuration:
OS: Windows 10
Octave version: 5.1.0
Network drive mounted on "Z:"
A folder in "Z:" has been marked in Windows as "Always available offline"
Network disconnected (i.e. working on the "offline" copy)

Steps to reproduce:
0 Open Octave GUI
0 Use the 'File Browser' to navigate to a folder on the cached network drive
("Z:" for me). This folder should already have ".m" files to run (that were
created before opening Octave).
0 Open one of those files in the editor and "Save File and Run" icon. (This
should run fine)
0 Go to editor tab
0 Click "New File" icon
0 Write any Octave code in the blank file (e.g. my_var=20;)
0 Click "Save File and Run" icon and save as 'my_new_file.m' in the current
directory (network drive)


After above steps, in the command window, the following error is displayed: 


error: 'my_new_file' undefined near line 1 column 1


The file is correctly displayed in the Octave File browser.

When I close and re-open Octave GUI and navigate to the folder again, I am
able to run the file.

This seems to only be a problem with cached network mounted drives (I cannot
reproduce the same problem when I follow above steps in any folder in my C:
drive or when I do it in an "online" network mounted drive)





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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