bugGNU Octave - Bugs: bug #43825, Ocatave 3.8.2 GUI won't run script...

 
 

bug #43825: Ocatave 3.8.2 GUI won't run script from root folder

Submitter:  Armin Müller <arm_in>
Submitted:  Mon 15 Dec 2014 12:02:58 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.8.2 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 08 Jan 2015 05:12:18 PM UTC, comment #4: 

This is strange. I cannot reproduce, neither on a different machine running Windows XP nor on the original machine where I experienced the bug. So please, close the ticket :-/

Armin Müller <arm_in>
Wed 24 Dec 2014 12:30:34 PM UTC, comment #3: 

Interesting. I'll investigate on that to find more detailed circumstances when the bug will appear.

Just speculating, but it could be the file system (hard disk = NTFS, thumbdrive = FAT32 (probably?)), some Windows 7 security speciality, access rights, etc.

Also strange that it works for the command line version, but not the GUI version.

Armin Müller <arm_in>
Wed 24 Dec 2014 11:55:00 AM UTC, comment #2: 

Doesn't do it for me - E: is a thumbdrive containing the same structure as in your test:


>> cd 'E:'
>> cd_bug
Hello world
>> cd 'E:\\usr'
>> cd_bug
Hello world
>>



John Donoghue <lostbard>
Group Member
Mon 15 Dec 2014 12:07:48 PM UTC, comment #1: 

Pardon, all passages containing D:\ should read as D:\\ or D:\ (backslash has been eaten up by wiki format)

Armin Müller <arm_in>
Mon 15 Dec 2014 12:02:58 PM UTC, original submission:  

It is not possible in Ocatave 3.8.2 GUI to run a script on a root folder. Example:

Place file "cd_bug.m" both in "D:" and "D:usr"

cd_bug.m script


disp 'hello world'


Octave shell script


cd 'D:'
cd_bug        % present, but not working
not_present   % not present at all

cd 'D:usr'
cd_bug        % present, working


command window output


>> cd 'D:'
>> cd_bug        % present, but not working
error: 'cd_bug' undefined near line 1 column 1
>> not_present   % not present at all
error: 'not_present' undefined near line 1 column 1
>> cd 'D:usr'
>> cd_bug        % present, working
hello world
>>


Most notably, everything runs fine in classic Octave (Command Line) mode (not GUI)

Seen on MXE Octave 3.8.2-4 using Windows 7 64 bit

Armin Müller <arm_in>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #32672:  cd_bug.m added by arm_in (20B - text/x-objcsrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by arm_in (Submitted the item)
  •  

    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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-01-08 lostbard StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2014-12-15 arm_in Attached File- Added cd_bug.m, #32672

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code