bugGNU Octave - Bugs: bug #65572, [octave-forge] (video) demo URL...

 
 

bug #65572: [octave-forge] (video) demo URL encoding problem on Windows11

Submitter:  None
Submitted:  Tue 09 Apr 2024 06:54:26 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Andy Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 9.1.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 02 Sep 2024 04:14:03 PM UTC, comment #2: 
Andreas Weber <andy1978>
Group Member
Mon 02 Sep 2024 08:05:01 AM UTC, comment #1: 

Thre reason for this is VideoReader.m:103

[v.h] = __cap_open__ (fullfile (v.Path, v.Name));


where fullfile replaces "/" with "\" on windoze systems.

I'm also unsure if the "Path" property should only contain the path portion or the complete filename or if canonicalize_file_name should be called.

Anonymous
Tue 09 Apr 2024 06:54:26 AM UTC, original submission:  

Windows 11, GNU Octave 9.1.0 (CLI run, terminal set to "Windows-Konsolenhost", not the new windows 11 default "windows-terminal"), video 2.1.1


pkg load video
demo ("VideoReader", 2)
...
[tcp @ 0000026cc5edea80] Failed to resolve hostname \raw.githubusercontent.com\opencv\opencv\master\samples\data\vtest.avi: The name does not resolve for the supplied parameters
warning: Error opening file (cap_ffmpeg_impl_ov.hpp:972)
...


looks like the URL in the demo code needs some special escaping on Windows?

Demo runs fine on Debian bookworm and bullseye

Anonymous

 

(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 andy1978 (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-10-08 andy1978 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.14-708e.
    Corresponding source code