After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 348524 - rar archives give ERROR: Unknown option: idp
rar archives give ERROR: Unknown option: idp
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
2.14.x
Other All
: Normal normal
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
: 365691 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-07-24 14:53 UTC by gokdeniz
Modified: 2006-10-27 12:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
do not add -idp to command line (1.07 KB, patch)
2006-08-21 17:01 UTC, Sertaç Ö. Yıldız
none Details | Review

Description gokdeniz 2006-07-24 14:53:40 UTC
Please describe the problem:
On ubuntu 6.06 Dapper, file-roller, rar and unrar packages are installed. Extracting the rar file gives "ERROR: Unknown option: idp"

Command line rar works on all files.

Command line rar has an option "idp", but unless it is prepended by two dashes "--idp" it gives the same error. 

Steps to reproduce:
1. install file-roller, rar, unrar
2. open a rar archive
3. try to extract files


Actual results:
An error window, specifying the command line error as; "ERROR: Unknown option: idp"

Expected results:
The files should have been extracted

Does this happen every time?
Yes

Other information:
Comment 1 Sertaç Ö. Yıldız 2006-08-21 17:01:53 UTC
Created attachment 71321 [details] [review]
do not add -idp to command line

-idp switch seems to be broken with {un,}rar 3.6

removing that switch from the command line seems to be a quick fix, with only
side effect of making "last output" more verbose.
Comment 2 Sertaç Ö. Yıldız 2006-08-23 11:06:49 UTC
(In reply to comment #1)
I realized that I haven't given enough information about the problem, sorry for that.

The problem is, as I figured from unrar sources, using toupper() to parse the options. With the infamous i,I,ı,İ characters in turkic locales, this leads to errors for those locales.

Rar developers confirmed this to be fixed in version 3.70, but since file-roller does not detect versions of backend programs, not using the '-idp' switch (rather than using '-Idp') looks like a plausible solution.
Comment 3 Paolo Bacchilega 2006-10-27 12:32:42 UTC
*** Bug 365691 has been marked as a duplicate of this bug. ***
Comment 4 Paolo Bacchilega 2006-10-27 12:36:23 UTC
fixed in current CVS, thanks.