Skip to content

[bug] FeatureExtraction fails if the path to images contains a non-ASCII character #2509

Open
@xDEADC0DE

Description

@xDEADC0DE

Describe the bug
FeatureExtraction fails with the message [14:14:50.784266][info] Job max memory consumption for one image: 825 MB if the path to images contains a non-ASCII character

To Reproduce
Steps to reproduce the behavior:

  1. Open Meshroom
  2. Drag and drop photos from a folder with a non-ASCII character. I used E:\tést\photos
  3. Save the project in the same folder as the photos, I used E:\tést\tmp.mg
  4. Run the node FeatureExtraction
  5. Get the error message

Expected behavior
No error message. Doing the same steps as above with test instead of `tést´ works perfectly.

Log

Hardware : 
	Detected core count : 24
	OpenMP will use 24 cores
	Detected available memory : 20655 Mo

[14:14:50.613481][info] CUDA-Enabled GPU.
Device information:
	- id:                      0
	- name:                    NVIDIA GeForce GTX 1060 6GB
	- compute capability:      6.1
	- clock frequency (kHz):   1784500
	- total device memory:     6143 MB 
	- device memory available: 5207 MB 
	- per-block shared memory: 49152
	- warp size:               32
	- max threads per block:   1024
	- max threads per SM(X):   2048
	- max block sizes:         {1024,1024,64}
	- max grid sizes:          {2147483647,65535,65535}
	- max 2D array texture:    {131072,65536}
	- max 3D array texture:    {16384,16384,16384}
	- max 2D linear texture:   {131072,65000,2097120}
	- max 2D layered texture:  {32768,32768,2048}
	- number of SM(x)s:        10
	- registers per SM(x):     65536
	- registers per block:     65536
	- concurrent kernels:      yes
	- mapping host memory:     yes
	- unified addressing:      yes
	- texture alignment:       512 byte
	- pitch alignment:         32 byte
CUDA build version: 11.6
0
[14:14:50.784266][info] Job max memory consumption for one image: 825 MB
[14:14:50.784266][info] Memory information: 
	- Total RAM:     31.9437 GB
	- Free RAM:      20.0647 GB
	- Available RAM: 20.0647 GB
	- Total swap:    131072 GB
	- Free swap:     131019 GB
[14:14:50.784266][info] Max number of threads regarding memory usage: 22
[14:14:50.784266][info] # threads for extraction: 22
``̀ 

**Desktop (please complete the following and other pertinent information):**
 - OS: Windows 10
 - Meshroom version: 2023.3.0, release version

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfor actual bugs (unsure? use type:question)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions