archive icon indicating copy to clipboard operation
archive copied to clipboard

Error with .7z file "The file content is encrypted, but currently not supported"

Open twey2 opened this issue 1 year ago • 0 comments

I have a .7z file that is not password protected that cannot be read or extracted with archive on an RStudio server, but is extracted without issue on a desktop with 7-zip.

Running archive("FILE.7z"), correctly prints the file contents (a folder with 2 csv files), but running read.csv(archive_read("FILE.7z", file = 2, format = "7zip")) generates "Error in open.connection(file, "rt") : The file content is encrypted, but currently not supported". Running archive_extract("FILE.7z") generates "Error: archive_extract.cpp:21 archive_read_data_block(): The file content is encrypted, but currently not supported".

Unfortunately I cannot share the example as the data must remain on secure servers, but I was wondering if there is a known issue and/or solution for reading and extracting .7z files on a server? Thank you!

twey2 avatar Aug 01 '23 16:08 twey2