Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311055 - app-arch/file-roller-2.26.3 from nautilus extension doesn't create rar or 7zip files
Summary: app-arch/file-roller-2.26.3 from nautilus extension doesn't create rar or 7zi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: InVCS
Depends on: 314899
Blocks:
  Show dependency tree
 
Reported: 2010-03-24 00:17 UTC by Fabio Bonfante
Modified: 2010-10-10 18:10 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,4.24 KB, text/plain)
2010-03-24 00:21 UTC, Fabio Bonfante
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Bonfante 2010-03-24 00:17:53 UTC
(with stable rar-3.8.0 and p7zip-4.58 ... but also tried with newer versions)

Step to reproduce
- From nautilus:  select a file/folder > compress
- (the interface appear)
- select rar or 7z as extension
- click on create button
- No progress window and no file created.

Trying with tar, tar.gz, tar.bz2 works (I didn't tried with all other extension)
Could be the same problem at #311035 ...but i wasted my time trying to find the way debugging nautilus (some tip for the future to do that?) without luck.

Note:
Upgrading to file-roller-2.28.2 fix all this (and works without problems with gnome-2.26)
Comment 1 Fabio Bonfante 2010-03-24 00:21:06 UTC
Created attachment 225057 [details]
emerge --info

This problem affect 2 my, almost similar, amd64 system. Attached only one emerge --info
Comment 2 Marcello Magaldi 2010-03-31 10:00:10 UTC
(In reply to comment #1)
> Created an attachment (id=225057) [details]
> emerge --info
> 
> This problem affect 2 my, almost similar, amd64 system. Attached only one
> emerge --info
> 

I have the same issue with file-roller and zip files : 
using the nautilus extension I get no files and no progress bar 
but I cannot create zip files also using file-roller program interface and dragging in files and folders.

For what I know mine file-roller is unable to create zip files at all, I don't know if it is related to your problem or it's another bug....
Comment 3 Fabio Bonfante 2010-03-31 12:30:46 UTC
what's your file-roller version?
Comment 4 Marcello Magaldi 2010-03-31 16:46:28 UTC
(In reply to comment #3)
> what's your file-roller version?
> 

2.26.3
Comment 5 Fabio Bonfante 2010-03-31 19:40:38 UTC
I didn't check, but I'm quite sure that it's not a nautilus-extension problem.
For your problem u have to check first to have the related package installed
(as in ebuild)...
---------------------
	elog "${PN} is a frontend for several archiving utilities. If you want a"
	elog "particular achive format support, see ${HOMEPAGE}"
	elog "and install the relevant package."
	elog
	elog "for example:"
	elog "  7-zip   - app-arch/p7zip"
	elog "  ace     - app-arch/unace"
	elog "  arj     - app-arch/arj"
	elog "  lzma    - app-arch/lzma"
	elog "  lzop    - app-arch/lzop"
	elog "  cpio    - app-arch/cpio"
	elog "  iso     - app-cdr/cdrtools"
	elog "  jar,zip - app-arch/zip and app-arch/unzip"
	elog "  lha     - app-arch/lha"
	elog "  rar     - app-arch/unrar"
	elog "  rpm     - app-arch/rpm"
	elog "  unstuff - app-arch/stuffit"
	elog "  zoo     - app-arch/zoo"
---------------------
Then if u're not able to make a zip try to launch file-roller in a terminal (or with strace dev-util/strace) and check for some error-message. Maybe from the main app the "archive-type-supported" code doesn't crash and simply doesn't show the zip option, where in trying from the nautilus extension this result in a silent failure.
It work fine now with version 2.28.2 and I don't have time to investigate, but if u can... ;-) let me/us know
Comment 6 Marcello Magaldi 2010-04-01 08:08:09 UTC
I have both zip and unzip installed on my system.
Launching file-roller from a terminal doesn't produce any output, the option to create a zip file in file-roller is there also if it doesn't work.

Anyway I'll attach the full strace log.
Comment 7 Marcello Magaldi 2010-04-01 08:14:16 UTC
The full file-roller strace log is too large : 38.7 MB , what should I do? 
Should I attach only the final part ?
Comment 8 Izak de Villiers 2010-04-01 09:27:05 UTC
I have found the same problem with creating zip files with file-roller 2.26.3: The app exits without any progress bar, and without creating any zip file. This happens through the normal GUI interface as well, not only through nautilus integration.

I have played around a bit, and found that if I enter a password for the zip file, then it gets created correctly! With one exception: If the password is simply a singe space (' ') then it still creates the zip file - but without any password associated, which is another bug I suppose.

What I have found is that create a zip file with password 'abc' invokes zip with the following arguments: -y -P abc -6 <zip file> <files to zip>
While creating a zip file with a single space as password ' ' invokes zip with arguments: -y -6 <zip file> <files to zip>

So it is as if the creation process requires the password field to be filled in, otherwise it exists immediately - without ever invoking zip.

Hope that helps resolve the problem...
Comment 9 Clemente Aguiar 2010-04-15 09:27:54 UTC
It also does not work for me for zip as well as rar.
Have not tried other compression formats.

Comment 10 Pacho Ramos gentoo-dev 2010-05-07 10:42:49 UTC
2.28 is already going to stable