Page 1 of 1

Path too long

Posted: 06 Jun 2021, 18:08
by Saxtus
Hello,

I get a "Path too long" error in the Diag_console.log for path names over 260 characters long, even if I am using Windows 10 Pro with "LongPathsEnabled" in registry set to "1" and already have paths with more than 260 characters long in the drive that thumbnails are created (just checked it using Path Length Checker).

I've performed one more test, by creating the failed filenames using Windows Notepad as test text files and they were created and edited just right with it.
Both VTM and Videonizer are 64-bit.

Why is this happening?
Thank you.

Re: Path too long

Posted: 06 Jun 2021, 18:43
by admin
Hello,

Could you please provide the exact example to check?
And I need to know the circumstances of the issue.

Re: Path too long

Posted: 06 Jun 2021, 19:19
by Saxtus
I can provide the Diag_console.log output.

Code: Select all

 [INFO] [7:17:08 μμ] Program is started
 [INFO] [7:17:09 μμ] Video card detected: NVIDIA GeForce RTX 2070 SUPER

 [INFO] [7:17:10 μμ] Job is Started
 [INFO] [7:17:10 μμ] [ULTIMATE] File 1: [C:\vt\This is a 244 character filename to demonstrate what will happen in Videonizer - This is a 244 character filename to demonstrate what will happen in Videonizer - This is a 244 character filename to demonstrate what will happen in Videonizer.mp4]
[DEBUG] [7:17:15 μμ] [ULTIMATE] .... Path too long, [C:\Users\Saxtus\AppData\Local\Video Thumbnails Maker\Videonizer\vt\This is a 244 character filename to demonstrate what will happen in Videonizer - This is a 244 character filename to demonstrate what will happen in Videonizer - This is a 244 character filename to demonstrate what will happen in Videonizer.mp4.vtx]
 [SWAP] [7:17:15 μμ] [CRYSTAL] .... Ultimate engine failed , making an attempt to use Secondary engine
[DEBUG] [7:17:22 μμ] [CRYSTAL] .... Path too long, [C:\Users\Saxtus\AppData\Local\Video Thumbnails Maker\Videonizer\vt\This is a 244 character filename to demonstrate what will happen in Videonizer - This is a 244 character filename to demonstrate what will happen in Videonizer - This is a 244 character filename to demonstrate what will happen in Videonizer.mp4.vtx]
 [SWAP] [7:17:22 μμ] [CRYSTAL] .... Crystal engine failed 
 [INFO] [7:17:22 μμ] Job is Finished
Please let me know if you need more specific information or you're unable to confirm the problem on your own end.

Re: Path too long

Posted: 06 Jun 2021, 19:34
by admin
Thank you, the issue is confirmed :)

Need to find a solution.

Re: Path too long

Posted: 16 Jun 2021, 14:10
by Saxtus
Just reporting that the problem continues with version v11.3.0.0.

Re: Path too long

Posted: 16 Jun 2021, 15:59
by admin
Not an easy task.
It looks like I need to use native Windows API in all cases, because .NET built-in tools have such a limitation.