bugGNU Octave - Bugs: bug #61307, Octave for Windows fails to read...

 
 

bug #61307: Octave for Windows fails to read files when path contains non-ASCII character

Submitter:  None
Submitted:  Thu 07 Oct 2021 08:09:26 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Duplicate Assigned to:  None
Originator Name:  Matías Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 08 Oct 2021 07:58:07 AM UTC, comment #1: 

Thank you for your report.

This sounds like a duplicate of bug #58493.

The issue has already been fixed for Octave 7 which will probably be released around the end of this year.

In the meantime, you could use the work-around outlined in that report:

subst x: C:\Users\Matías


And access the file using that path.

Closing as duplicate.

Markus Mützel <mmuetzel>
Group administrator
Thu 07 Oct 2021 08:09:26 PM UTC, original submission:  

I tried using the Windows version of Octave and noticed I was getting a Magick++ exception


error: Magick++ exception: Magick: Unable to open file (C:\Users\Matías\Downloads\0.jpeg) reported by magick/blob.c:3081 (OpenBlob)
error: called from
    __imfinfo__ at line 39 column 8
    imageIO at line 125 column 28
    imfinfo at line 166 column 8


I suspected this was the case so I moved the file to a root directory and it worked, and it also works on the Linux (Ubuntu 20.04) version of Octave, so I pretty sure the problem lies on Windows (or the Windows implementation of Magick++) abbility to handle that caracter.

I'm currently using Windows 11 21H2 build 22000.194 and Octave 6.3.0 (octave-6.3.0-w64-64-installer.exe)

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #52070:  Captura@de@pantalla@2021-10-07@165814.png added by None (1MiB - image/png - Screenshot of the 3 setups)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by None (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-10-08 mmuetzel StatusNone Duplicate
        Open/ClosedOpen Closed
        Release6.3.0 dev
        Dependencies- Depends on bugs #58493
    2021-10-07 None Attached File- Added Captura@de@pantalla@2021-10-07@165814.png, #52070

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code