bugGNU Octave - Bugs: bug #44671, run fails in windows

 
 

bug #44671: run fails in windows

Submitter:  John Donoghue <lostbard>
Submitted:  Mon 30 Mar 2015 04:29:17 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  JohnD Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 30 Mar 2015 10:40:03 PM UTC, comment #2: 

We were thinking along the same lines.  I just changed the 'evalin' call to use single quotes around the script name so that '\' is not interpreted as an escape sequence.  This avoids having to call strrep.  See cset http://hg.savannah.gnu.org/hgweb/octave/rev/10392528396c.

Fixed, closing report.

Rik <rik5>
Group administrator
Mon 30 Mar 2015 05:03:39 PM UTC, comment #1: 

Patch attached to fix in the run.m script

(file #33494)

John Donoghue <lostbard>
Group Member
Mon 30 Mar 2015 04:29:17 PM UTC, original submission:  

Tested as non working in 3.8.2 and 4.0.0-rc2:

run does not appear to like the windows path '\' characters.


>> ls *.m
 Volume in drive C is OS
 Volume Serial Number is 7A83-65DD

 Directory of C:\Users\john
audiotest.m     hgload1.m       mytest.m
               3 File(s)         23,874 bytes
               0 Dir(s)   1,408,819,200 bytes free
>> run mytest
no such file, 'C:\Users\john\C:Usersjohnmytest.m'
error: called from 'run' in file C:\Octave\Octave-4.0.0-rc2\share\octave\4.0.0-rc2\m\miscellaneous\run.m near line 84, column 5
>>


John Donoghue <lostbard>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #33494:  runbug.patch added by lostbard (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by lostbard (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-03-30 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2015-03-30 lostbard Attached File- Added runbug.patch, #33494

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code