libyal / libvmdk

Library and tools to access the VMware Virtual Disk (VMDK) format
GNU Lesser General Public License v3.0
168 stars 66 forks source link

libcfile_file_open_wide_with_error_code: unable to open file #33

Open lipeizechuan opened 4 months ago

lipeizechuan commented 4 months ago

OSError: pyvmdk_handle_open: unable to open handle. libcfile_file_open_wide_with_error_code: unable to open file: \?\C:\/Users/26584/Documents/Virtual Machines/Ubuntu 64 bit/Ubuntu 64 bit.vmdk with error: \ufffd\u013c\ufffd\ufffd\ufffd\ufffd\ufffd\u013f\xbc\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufde8\ufffd\ufffd\ufffd\ufffd\u0237\ufffd\ufffd

mypath:C:/Users/26584/Documents/Virtual Machines/Ubuntu 64 bit/Ubuntu 64 bit.vmdk

it added some characters incorrectly like \?\ and the \ after C:

joachimmetz commented 4 months ago

How did you compile/build libvmdk? can you attach config.log? What version libvmdk? What version of Windows? What version of build tools?

lipeizechuan commented 4 months ago

Windows version is Win11. I use the python 3.11 ,and the build tools is setup.py