bugGNU Octave - Bugs: bug #58401, Script and function files not...

 
 

bug #58401: Script and function files not found in cached network drive

Submitter:  Roberto Fernandez Bautista <qbort>
Submitted:  Tue 19 May 2020 10:18:52 AM UTC
   
 
Category:  Interpreter Severity:  1 - Wish
Priority:  3 - Low Item Group:  Other
Status:  Confirmed Assigned to:  None
Originator Name:  Qbort Open/Closed:  * Open
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 26 Oct 2020 05:43:42 PM UTC, comment #6: 

I confirm this is still an issue in 6.0.92


>> my_new_file

error: 'my_new_file' undefined near line 1, column 1


P.S. sorry for double post and general noise

Roberto Fernandez Bautista <qbort>
Mon 26 Oct 2020 05:31:02 PM UTC, comment #5: 

Yeah "other" is probably better. I guess you are right and it doesn't matter so much - just semantics.

I

Roberto Fernandez Bautista <qbort>
Mon 26 Oct 2020 02:50:54 PM UTC, comment #4: 

Sorry, the link is

https://alpha.gnu.org/gnu/octave/

There you can download "octave-6.0.92-w64-installer.exe" for example.

I am not keen on a certain category. My idea is, that some new feature has the be added to Octave, which no developer considered or tested before, a feature request.

Is "other" better?

Kai Torben Ohlhus <siko1056>
Group Member
Mon 26 Oct 2020 10:20:46 AM UTC, comment #3: 

I'm happy to re-test but in the Octave website I only see downloads for releases of the 5.x version. Would you be able to point me to the page where I can download the installer for the release candidate?

Also, I am not sure I understand the argument that this bug can be classed as a feature request?

I agree it would be a very low priority bug that maybe doesn't need to be resolved any time soon since there are workarounds and it affects very few users in limited scenarios.

Nonetheless, I'd suggest it is a a bug since the behavior is unexpected rather than a new feature. No other software I use on windows behaves this way.

Roberto Fernandez Bautista <qbort>
Mon 26 Oct 2020 08:03:09 AM UTC, comment #2: 

@OP or @Torsten: Can you confirm this issue with the current Octave release candidate?

Significant changes to the interpreter should not happen right before a major Octave 6 release.

Workarounds exist (local copy) and I consider this as convenience feature request.

Mark as "dev".

Kai Torben Ohlhus <siko1056>
Group Member
Sun 31 May 2020 06:11:09 PM UTC, comment #1: 

I can conform this on Windows 7 and there are some interesting observations:

  1. As in the original post, saving and running a file, e.g. as "ccc.m" leads to "error: 'ccc' undefined near line 1, column 1" although the file exists
  2. Following comands "ccc" in the console lead to the same error
  3. "run('ccc') does not work
  4. "source('ccc.m')" works
  5. "edit ccc" works
  6. Adding the path of the offline network share explicitly to Octave's task solves the problem
  7. The problem does not occurr when the file is already existing when octave starts
  8. All this is not GUI-related and also happens in the CLI


It seems that Octave is not able to handle the current directory as a member of the search path if it is on offline network share. Changing category from GUI to Interpreter.

Torsten Lilge <ttl>
Group Member
Tue 19 May 2020 10:18:52 AM UTC, original submission:  

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:

  1. Open Octave GUI
  2. 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).
  3. Open one of those files in the editor and "Save File and Run" icon. (This should run fine)
  4. Go to editor tab
  5. Click "New File" icon
  6. Write any Octave code in the blank file (e.g. my_var=20;)
  7. 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)

Roberto Fernandez Bautista <qbort>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by qbort (Posted a comment)
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 14 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-10-27 siko1056 StatusNeed Info Confirmed
    2020-10-26 qbort Carbon-CopyRemoved -email is unavailable- -
    2020-10-26 qbort Carbon-Copy- Added -email is unavailable-
    2020-10-26 qbort Carbon-CopyRemoved 195146 -
    2020-10-26 siko1056 Item GroupFeature Request Other
    2020-10-26 siko1056 Severity3 - Normal 1 - Wish
        Priority5 - Normal 3 - Low
        Item GroupOther Feature Request
        StatusConfirmed Need Info
        Release6.0.90 dev
    2020-05-31 ttl CategoryGUI Interpreter
        StatusNone Confirmed
        Release5.1.0 6.0.90
        SummaryError 'undefined near line 1 column 1' when running a new file created through the GUI editor in a cached network drive Script and function files not found in cached network drive

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code