GNOME Bugzilla – Bug 365691
Can not open .rar file
Last modified: 2006-10-27 12:32:42 UTC
In turkish language, when you try to extract your .rar files always give "ERROR: Unknown option: idp". But if we try to open in english on command prompt $LANG=EN file-roller File-Roller will open and you can extract to easy without any error. We find a problem about our language and we solved it. We write patch file. I try other language it is not problem for their and solve our problem. This is our patch file : Index: fr-command-rar.c =================================================================== RCS file: /cvs/gnome/file-roller/src/fr-command-rar.c,v retrieving revision 1.28 diff -u -p -r1.28 fr-command-rar.c --- fr-command-rar.c 23 Oct 2006 20:10:12 -0000 1.28 +++ fr-command-rar.c 26 Oct 2006 18:47:47 -0000 @@ -257,7 +257,7 @@ fr_command_rar_add (FRCommand *comm, add_password_arg (comm, password, FALSE); /* disable percentage indicator */ - fr_process_add_arg (comm->process, "-idp"); + fr_process_add_arg (comm->process, "-Idp"); /* stop switches scanning */ fr_process_add_arg (comm->process, "--"); @@ -323,7 +323,7 @@ fr_command_rar_extract (FRCommand *comm add_password_arg (comm, password, TRUE); /* disable percentage indicator */ - fr_process_add_arg (comm->process, "-idp"); + fr_process_add_arg (comm->process, "-Idp"); /* stop switches scanning */ fr_process_add_arg (comm->process, "--"); @@ -357,7 +357,7 @@ fr_command_rar_test (FRCommand *comm, add_password_arg (comm, password, TRUE); /* disable percentage indicator */ - fr_process_add_arg (comm->process, "-idp"); + fr_process_add_arg (comm->process, "-Idp"); /* stop switches scanning */ fr_process_add_arg (comm->process, "--");
*** This bug has been marked as a duplicate of 348524 ***