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 365691 - Can not open .rar file
Can not open .rar file
Status: RESOLVED DUPLICATE of bug 348524
Product: file-roller
Classification: Applications
Component: general
unspecified
Other Linux
: Normal major
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2006-10-27 11:02 UTC by talat
Modified: 2006-10-27 12:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description talat 2006-10-27 11:02:23 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, "--");
Comment 1 Paolo Bacchilega 2006-10-27 12:32:42 UTC

*** This bug has been marked as a duplicate of 348524 ***