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 618908 - .7z compression with encryption gives error
.7z compression with encryption gives error
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
2.30.x
Other Linux
: Normal normal
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2010-05-17 18:09 UTC by leonardo.rolla
Modified: 2010-08-26 09:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description leonardo.rolla 2010-05-17 18:09:56 UTC
Binary package hint: file-roller

Duplicated on two different systems:
- Ubuntu 9.10 on AMD64 using file-roller 2.28.1-0ubuntu1 and p7zip 9.04~dfsg.1-1
- Ubuntu10.04 on i386 using file-roller 2.30.0-0ubuntu1 and p7zip 9.04~dfsg.1-1

To reproduce bug on a File:
- Right-click any file, select compress... from the menu.
- Select .7z for compression type
- Expand Other Options and enter password
- Click Create

Expected result:
- Create an encrypted .7z archive in the same folder as the source file.

Actual result:
- Window pops up titled: An error occurred while adding files to the archive.
- Expanding Command Line Output gives

  Error:
  Incorrect command line

- Click OK to dismiss error window
- No file is created

To reproduce bug on a Folder:
- Right-click any folder, select compress... from the menu.
- Select .7z for compression type
- Expand Other Options and enter password
- Click Create

Expected result:
- Create an encrypted .7z archive in the same folder as the source folder.

Actual result:
- An untitled window pops up
- Contents of window:

   An error occurred while adding files to the archive.

- Click OK to dismiss error window
- No file is created

Forwarding from Ubuntu:
https://bugs.launchpad.net/file-roller/+bug/557345

The problem only happens when p7zip is installed but not p7zip-full.
Comment 1 Paolo Bacchilega 2010-08-26 09:23:41 UTC
This has been fixed disabling the password option if only 7zr is installed, because 7zr does not support encryption. The fix will be available in the next major software release. Thank you for your bug report.