Questions tagged [unrar]

Unrar is the name of two different command-line applications for extracting RAR archives.

Unrar is the name of two different command-line applications for extracting RAR archives.

RARLAB UnRAR
This version of UnRAR is distributed by RARLAB, the makers of the commercial WinRAR archivers. It can extract newer RAR3 archives not supported by GNA's version.

GNA UnRAR
This free software version of UnRAR is based on an old version of RARLAB's UnRAR with permission from author Eugene Roshal. It is licensed under the GPL. It does not support the RAR3 format.

120 questions
0
votes
1 answer

The handle is invalid with python patoolib executable file

My python file is working fine import patoolib patoolib.extract_archive("test.7z") But when I use pyinstaller to make an executable on windows I got this error: Traceback (most recent call last): File "patol.py", line 2, in
user13425180
0
votes
1 answer

How to do unrar operation in SageMaker?

I am trying to unrar the dataset for my object detection model, but I couldn't unrar the compressed file in AWS's SageMaker.
0
votes
1 answer

PackagesNotFoundError when trying to install unrar with conda

I'm trying to install unrar with conda, with no luck. I installed other packages with no issues before. Here's the commands I used: user: conda activate username user: conda install unrar Which led to the follwing output: Collecting package…
D. Joe
  • 81
  • 10
0
votes
1 answer

How to unrar file with password hidden inside rar file as text?

There is rar file with password-protected that I need to extract, but the password to extract is in a text file inside that rar file. How can I extract it without using brute-force method because the password is complicated?
Noob
  • 1
0
votes
1 answer

Problem with "import rarfile" in python on Ubuntu

Today I turned on my Ubuntu virtual machine and tried to do a project in Python 3.9.4, but this one used rarfile module. Which is throwing errors. I know rarfile uses unrar, and I installed both rarfile and unrar. Tried to type unrar seperately…
Bran3
  • 25
  • 3
0
votes
1 answer

Unrar the files with the name of the rar files

I have folder with 4 rar (zipped) files. screenshot #1: rar files and names This is the python code to unrar them: #!/usr/bin/python import os, zipfile, pyunpack, sys import tkinter as tk from tkinter import filedialog from tkinter.filedialog import…
Dartagnan
  • 31
  • 6
0
votes
1 answer

Google Colab can't Extract a big file saved in my Google Drive

I am trying to Extract a big file saved in Google Drive into itself. I tried Google Drive apps in Google Workspace Marketplace like "ZIP Extractor" and "UnRAR and RAR viewer", But due to being a large file, they become Not Responding... Then I tried…
0
votes
2 answers

How to unpack .rar file in Python?

I have a problem in unpacking .rar files in Python. I am using macOS, with Anaconda Navigator and Spyder IDE. I have already installed unrar, pyunpack, py7zr, rarfile, patool packages. However, when I run this code: import zipfile import numpy as…
nicc96
  • 313
  • 2
  • 16
0
votes
1 answer

Python unrar module throws MemoryError while reading a .rar file

I have written following code to read .rar files to check if they contain MDF files. from unrar import rarfile def is_contain_mdf_file(filepath) -> bool: try: if rarfile.is_rarfile(filepath): obj = rarfile.RarFile(filepath) …
0
votes
3 answers

How to extract multiple files at the same time in ubuntu terminal using unrar command?

I have about 100 rar files in a directory and I want to extract them in the same directory using unrar in the terminal in Ubuntu 20.04. I use the following command to unrar them one by one and it's OK: unrar e -pMy_Password RandomFileName.rar How…
0
votes
1 answer

How to extract a Rar file with password in google colab?

Hi i'm currently using Google Colab and i need a extract a Rar file with password. I use Patool but it doesn't support Password's file
BDROID98
  • 11
  • 1
0
votes
1 answer

Unzip failed to finish in Google Colab

So I try to train an autoencoder model but have difficulty on extracting large zipfile and rarfile in Google Drive. its a 3GB zipfile containing 500 dirs of images and a5GB rarfile containing 1.7 million images. I try to ran this code in Colab and…
Bobbyphtr
  • 115
  • 6
0
votes
1 answer

extract all rar files in a folder and sub-folder to same folder

I found this post for extracting rar files from one folder to same folder name: extract rar files to same folder name I want to extract several rar files in sub-folders to sub-folders of the same name i.e. /folder/sub-folder1/file1.rar -->…
0
votes
1 answer

Warning when upgrading junrar: Symbol extractArchive is deprecated

I'm using junrar 0.7 and am trying to upgrade to version 4.0.0, and in the process I am getting warnings about a certain method I am using to unrar a file to a destination directory. Here is my code (in Scala): val rar = new File(archive) val dest =…
Gadzair
  • 1,221
  • 14
  • 21
0
votes
1 answer

Error while running unrar on docker ubuntu

I have installed unrar, my script was running fine when i deployed it on ubuntu (not inside docker). After implementing the same script, i'm getting this error. I've the unrar command is executing, but its showing failed for all files without any…
awsaf
  • 11
  • 1
  • 3