! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Xarchiver fails to extract tar.bz2 archives
Status:
RESOLVED: WONTFIX
Product:
Xarchiver
Component:
general

Comments

Description Priyank Gosalia 2008-11-02 06:31:32 CET
When trying to extract an archive, XA simply fails with strange errors.

Steps to reproduce:

1) Open a .tar.bz2 archive in Xarchiver
2) Click the "Extract Files" icon/button. This should open a dialog that lets you select the destination for extracted files.
3) Select /home/user/Desktop/
4) Click "Extract"


XA fails with an error like this:

An error occurred while accessing the archive:
Try `mv --help' for more information.
mv: missing destination file operand after `/home/priyank/Desktop/'


After that, if i again try to extract the same archive using the above steps, i get a long list of errors like this:

tar: Error exit delayed from previous errors
gimmix-0.5.2/
gimmix-0.5.2/src/
gimmix-0.5.2/src/gimmix-playlist.h
tar: gimmix-0.5.2/src/gimmix-playlist.h: Cannot open: File exists
gimmix-0.5.2/src/gimmix-covers.h
tar: gimmix-0.5.2/src/gimmix-covers.h: Cannot open: File exists
tar: gimmix-0.5.2/src/gimmix.h: Cannot open: File exists
gimmix-0.5.2/src/gimmix.h
tar: gimmix-0.5.2/src/gimmix-config.h: Cannot open: File exists
tar: gimmix-0.5.2/src/gimmix-lyrics.h: Cannot open: File exists
gimmix-0.5.2/src/gimmix-config.h
...
...
(for all files)

I have uploaded the screenshots.

1) The extraction dialog
http://img220.imageshack.us/img220/6816/xa1hv0.png

2) Errors when i hit the extract button for the first time
http://img91.imageshack.us/img91/8194/xa2jw1.png

3) Erros when i hit the extract button again
http://img233.imageshack.us/img233/2707/xa3ei6.png
Comment 1 Priyank Gosalia 2008-11-02 06:33:16 CET
I forgot to mention that this occurs on the latest svn revisionj (28575) of XA.
Comment 2 Giuseppe Torelli 2008-11-02 09:07:55 CET
(In reply to comment #0)
> When trying to extract an archive, XA simply fails with strange errors.
> 
> Steps to reproduce:
> 
> 1) Open a .tar.bz2 archive in Xarchiver
> 2) Click the "Extract Files" icon/button. This should open a dialog that lets
> you select the destination for extracted files.
> 3) Select /home/user/Desktop/
> 4) Click "Extract"

I can't reproduce the bug. Can you please tell me if you open the archive from the command line or from the GUI?
If you open it from the command line was the archive contained in the same directory where the xarchiver executable was contained?

Thanks
Giuseppe
Comment 3 Priyank Gosalia 2008-11-02 12:13:46 CET
(In reply to comment #2)
> (In reply to comment #0)
> > When trying to extract an archive, XA simply fails with strange errors.
> > 
> > Steps to reproduce:
> > 
> > 1) Open a .tar.bz2 archive in Xarchiver
> > 2) Click the "Extract Files" icon/button. This should open a dialog that lets
> > you select the destination for extracted files.
> > 3) Select /home/user/Desktop/
> > 4) Click "Extract"
> 
> I can't reproduce the bug. Can you please tell me if you open the archive from
> the command line or from the GUI?
> If you open it from the command line was the archive contained in the same
> directory where the xarchiver executable was contained?
> 
> Thanks
> Giuseppe

I open it from the GUI.
Comment 4 Giuseppe Torelli 2008-11-02 17:32:54 CET
(In reply to comment #3)
> I open it from the GUI.

What the executable xarchiver installed in /usr/bin? Or you called it from the source directory?
Comment 5 Giuseppe Torelli 2008-11-03 08:51:08 CET
Can you please tell me if you are unable to extract ALL tar compressed archives when the option "Extract with full path" option? is NOT checked?

If not can you please try to identify what changes (path, cd to current dir, etc etc) when you are not able to extract the tar compressed archive that gives you the mv error?

Thank you,
Giuseppe
Comment 6 Priyank Gosalia 2008-11-03 10:51:45 CET
(In reply to comment #4)
> (In reply to comment #3)
> > I open it from the GUI.
> 
> What the executable xarchiver installed in /usr/bin? Or you called it from the
> source directory?


i used the xarchiver binary installed in /usr/local/bin. So, this time i installed the binary to /usr/bin/ and then tried to extract the archive and it worked without any errors. So, i think the problem occurs when the xarchiver binary is in /usr/local/bin.
Comment 7 Giuseppe Torelli 2008-11-03 11:00:28 CET
(In reply to comment #6)
> i used the xarchiver binary installed in /usr/local/bin. So, this time i
> installed the binary to /usr/bin/ and then tried to extract the archive and it
> worked without any errors. So, i think the problem occurs when the xarchiver
> binary is in /usr/local/bin.

It should work in both cases. Are you using the 0.5rc1?
Comment 8 Priyank Gosalia 2008-11-03 11:05:59 CET
(In reply to comment #7)
> (In reply to comment #6)
> > i used the xarchiver binary installed in /usr/local/bin. So, this time i
> > installed the binary to /usr/bin/ and then tried to extract the archive and it
> > worked without any errors. So, i think the problem occurs when the xarchiver
> > binary is in /usr/local/bin.
> 
> It should work in both cases. Are you using the 0.5rc1?

Yep. Anyway, it works fine for now, except when xarchiver is installed in /usr/local/bin.
Comment 9 Giuseppe Torelli 2008-11-03 11:11:56 CET
Ok, I tried to run the xarchiver from /usr/local and I can extract tar compressed archives. I'm sorry I can't reproduce this bug. So I close it for now.

Bug #4552

Reported by:
Priyank Gosalia
Reported on: 2008-11-02
Last modified on: 2008-11-03

People

Assignee:
Giuseppe Torelli
CC List:
0 users

Version

Version:
0.5.0beta1

Attachments

Additional information