-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
My environment: python 3.8.5, on Windows 10 x64, unrar module 0.4
The unrar64.dll is installed on "c:\Program Files (x86)\UnrarDLL\x64", the environment variable UNRAR_LIB_PATH is set to C:\Program Files (x86)\UnrarDLL\x64\UnRAR64.dll.
The extract method works fine.
I was not able to make read and open methods to work.
The following code works:
from unrar import rarfile
import glob
myFile = rarfile.RarFile("my_rar.rar")
rarList = myFile.namelist()
print (rarList)
myFile.extract(rarList[0])
However, using .open or .read methods does not work - as in myFile.open(rarList[0]) or myFile.read(rarList[0]). The commands does not complete (I was not able to find another word). It suspect it might be related to unrar64.dll library (DLL version: 6.22.1.865, signed on 2023-05-14) but I have no experience to debug it.
Metadata
Metadata
Assignees
Labels
No labels