Creating 7z archives of folders through nautilus is broken

Bug #51060 reported by Joseph Garvin
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
File Roller
Fix Released
Medium
file-roller (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: file-roller

Steps to reproduce:

1. Right click a folder that has some files in it.
2. Click "Create Archive"
3. Specify a filename and choose "7z" as the format.
4. Click create.

You'll end up with a file that is always 32-bytes, and file-roller won't display any progress bar or anything -- it appears to finish instantly. 7zip is good at compressing files but it's not so good that it can compress my music collection into 32-bytes ;)

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Same bug here.

I tried to compress a directory called 'build' with some source files into, and it seems that file-roller is unable to find the files ; it displays this output :

=================================================
7-Zip (A) 4.30 beta Copyright (c) 1999-2005 Igor Pavlov 2005-11-18
p7zip Version 4.30 (locale=fr_FR.UTF-8,Utf16=on,HugeFiles=on)
Scanning

build\cpp\prout.cpp: WARNING: No more files
build\c\if.c: WARNING: No more files
build\c\a.out: WARNING: No more files
build\c\tab.c: WARNING: No more files
build\c\switch.c: WARNING: No more files
build\c\conv.c: WARNING: No more files
build\c\test.c: WARNING: No more files
build\c\break.c: WARNING: No more files
build\c\point.c: WARNING: No more files

Creating archive /home/silk/Desktop/test.7z

WARNINGS for files:

build\cpp\prout.cpp : No more files
build\c\if.c : No more files
build\c\a.out : No more files
build\c\tab.c : No more files
build\c\switch.c : No more files
build\c\conv.c : No more files
build\c\test.c : No more files
build\c\break.c : No more files
build\c\point.c : No more files
----------------
WARNING: Cannot find 9 files
=================================================

But using directly p7zip works :
=================================================
$ 7z a build.7z build

7-Zip 4.30 beta Copyright (c) 1999-2005 Igor Pavlov 2005-11-18
p7zip Version 4.30 (locale=fr_FR.UTF-8,Utf16=on,HugeFiles=on)
Scanning

Creating archive build.7z

Compressing build/c/break.c
Compressing build/c/conv.c
Compressing build/c/if.c
Compressing build/c/point.c
Compressing build/c/switch.c
Compressing build/c/tab.c
Compressing build/c/test.c
Compressing build/cpp/prout.cpp
Compressing build/c/a.out

Everything is Ok
=================================================

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

I have just seen that in the first output, it uses "\" instead of "/". This is probably the reason it doesn't find the files...

Revision history for this message
William Grant (wgrant) wrote :

I too can confirm this.

Changed in file-roller:
status: Unconfirmed → Confirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

This is a known upstream issue: http://bugzilla.gnome.org/show_bug.cgi?id=346857

Changed in file-roller:
assignee: nobody → desktop-bugs
importance: Untriaged → Medium
Changed in fileroller:
status: Unknown → Unconfirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

Fixed in Upstream CVS.

Changed in file-roller:
status: Confirmed → Fix Committed
Changed in fileroller:
status: Unconfirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

This upload fixes the issue:

 file-roller (2.17.2-0ubuntu1) feisty; urgency=low
 .
   * New upstream version:
     - Make stock icons themable. (#362922)
     - Do not add temp archives to the recent files list
     - View as Java Archive (jar) (#43975)
     - Do not display a 100% progress bar when the last file is processed.
     - Rename the extraction folder if a folder with the same name already
       exists.
     - Fixed bug #349824 - does not work with 7zr. (Ubuntu: #51060)
     - Fixed bug #350192 - [PATCH] Make the Ok button to be default in
       delete dialog
     - Fixed bug #160991 - Crash while trying to extract from a .sit
     - Fixed bug #355307 - If uncompressed name not specified in compressed
       file, cannot view, bad extracted filename.
     - Fixed bug #348211 - Please distinguish "View" menus/buttons for
       translation.
     - Fixed bug #347019 - incorrect error message shown when trying to open
       incomplete archive
     - Fixed bug #338210 - Context menu option "open files" not available
       for folders.
     - Fixed bug #348524 - rar archives give ERROR: Unknown option: idp
     - Fixed bug #370754 - Manual menu item should be 'Contents' not 'Help'
   * debian/patches/02_lpi.patch:
     - patch renamed and updated
   * debian/patches/03_autoconf.patch:
     - updated

Changed in file-roller:
status: Fix Committed → Fix Released
Revision history for this message
Fridtjof Busse (fbusse-deactivatedaccount-deactivatedaccount) wrote :

Is this going to get fixed in edgy?

Revision history for this message
Sebastien Bacher (seb128) wrote :

no, it's not likely to be backported to feisty, 7zip is not that used at the moment, we got few bugs about it, that's a minor problem and the stable updates are non trivial to do

Changed in file-roller:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.