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 591818 - file-roller "An error occurred while adding files to the archive."
file-roller "An error occurred while adding files to the archive."
Status: RESOLVED OBSOLETE
Product: file-roller
Classification: Applications
Component: general
2.27.x
Other Linux
: Normal normal
: ---
Assigned To: file-roller-maint
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2009-08-14 15:59 UTC by Pedro Villavicencio
Modified: 2020-11-11 19:14 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28



Description Pedro Villavicencio 2009-08-14 15:59:43 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/file-roller/+bug/413357

file-roller version is: 2.27.90

"I've tried to create an archive with the nautlius-context-menu "Compress..."
The files and folders are on the desktop

Mark the items
o Press and hold the button [shift]
o click on the items (1 folder, 1 file)
o Release the button [shift]

o Right-click at one of the marked items and click on "Compress..."

o Filename is "test", archive-type is "tar.bz2", Location is "Desktop"
o Click on the button [Create]

/!\ Now the error message
---
An error occurred while adding files to the archive"

The file is created however the message is shown anyways.

Thanks,
Comment 1 aaron.hamid 2011-01-01 19:46:39 UTC
Affects 2.32.0 on Fedora 14 for me as well.  I cannot right click a folder, select Compress.. and create a 7z archive.
Comment 2 Robert Roth 2011-01-03 16:12:48 UTC
Another issue regarding this one reported downstream, complaining about the fact that the user feedback provided is not very user-friendly. The message only says "An error occurred while adding files to the archive", but it does not mention why and which files do cause the issue. 
For more details see downstream bug https://bugs.launchpad.net/ubuntu/+source/file-roller/+bug/696546.
Comment 3 Robert Roth 2011-01-03 16:14:09 UTC
This bug should be confirmed, as there are at least two users having this on 2.32.0 and one on an older version, thus it is an issue.
Comment 4 Marius Groenewald 2011-06-11 10:46:51 UTC
I am also encountering this problem, although I am adding files to the archive by opening the application and from inside the application I clicked on the "Add Folder to archive" button. The archive runs up until close the end, then I get the error "An error occurred while adding files to the archive" I selected the tar.gz compression.
Comment 5 Tommy Trussell 2013-03-06 19:24:27 UTC
I would like to confirm this difficulty in File Roller 3.4.1 (Ubuntu 12.04 LTS) and to comment that I finally tracked the problem down to a permissions bit on two of the directories (out of thousands being archived). It would have been VERY helpful if File Roller had displayed the exact error message(s).

In my circumstance, I was creating an archive of a directory using EITHER right-click compress (via Nautilus) OR using file-roller via its "ordinary" GUI. In both cases it would create the archive, but produce the enigmatic "An error occurred adding files to the archive." Since the archive was created and it seemed to be about the right size, I was confused.

I finally used "tar zcf" to create the archive and saw a couple of hundred files failed with "Cannot stat: Permission denied." The entire directory I was archiving was symlinked to another user's directory, HOWEVER the few failing files were in a couple of the directories that were missing the chmod g+x bit needed to access those directories from my user's account.

SO to reproduce this bug, create an archive of a directory containing lots of subdirectories, but include at least one subdirectory having the wrong permissions for access by the current user.
Comment 6 techtonik 2015-08-19 19:12:01 UTC
This also affects Ubuntu 14.04
Comment 7 André Klapper 2020-11-11 19:14:20 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time.

If you still use file-roller and if you still see this bug / want this feature in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/file-roller/-/issues/

Thank you for creating this report and we are sorry it could not be implemented (volunteer workforce and time is limited).