GNOME Bugzilla – Bug 348524
rar archives give ERROR: Unknown option: idp
Last modified: 2006-10-27 12:36:23 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:
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.
(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.
*** Bug 365691 has been marked as a duplicate of this bug. ***
fixed in current CVS, thanks.