Error with .7z file "The file content is encrypted, but currently not supported"
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
Start with the archive_read and archive_extract entry points, including the failure reported at archive_extract.cpp:21, and compare their 7zip handling on the RStudio server versus desktop 7-zip. Reproduce with a non-password-protected .7z file if possible; done means identifying the cause and making reading or extraction work, or documenting the limitation.
Written by the indexing model from the issue text.
Description
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!
- Dominant language
- C++
- Stars
- 148
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from r-lib/archive
-
Reading from an `archive::archive_read` connection crashes R if the connection is closed beforehand Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
archive() listing files and folders from online archive takes as much time as for downloading it Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
archive_write_files stores files with CRLF-LF coverted on Windows, resulting in corrupted archive Open
Difficulty 3/5 1-2 days Newbie friendliness 30/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gazebosim/gz-sensors#662 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LadybirdBrowser/ladybird#12123 ·