Re: Zip support broken ?

2011-09-27 Thread Frédéric L . W . Meunier
2011/9/26 Andrew Borodin:
 On Thu, 22 Sep 2011 14:49:21 -0300 Frédéric L. W. Meunier  wrote:
 Slackware 13.37 comes with Midnight Commander 4.7.5.2 and UnZip 6.0. When
 I press Enter on a .zip archive, it does nothing.

 Well, it's known bug: https://www.midnight-commander.org/ticket/423

 Would you like test the patch
 https://www.midnight-commander.org/raw-attachment/ticket/423/uzip.diff
 and report result here or as the comment directly in the ticket?

I tested with it, but it made no difference. I also tried downgrading
UnZip to 2.32 and Zip to 5.52, which are in Slackware 12.2, but it
also didn't work.

Is this really something in the helper script ?
___
mc mailing list
http://mail.gnome.org/mailman/listinfo/mc


Re: Zip support broken ?

2011-09-27 Thread Frédéric L . W . Meunier

On Mon, 26 Sep 2011, Paul Hartman wrote:


2011/9/22 Frédéric L. W.:

Slackware 13.37 comes with Midnight Commander 4.7.5.2 and UnZip 6.0. When
I press Enter on a .zip archive, it does nothing. But when I do the same
on an archive with execute permission, like those mounted from an NTFS
partition, it returns

bash: ./archive.zip: cannot execute binary file

I also compiled 4.8.0-pre2, but got the same results.

.rar archives work fine. And if I move the urar helper script, it returns

Error
Inconsistent extfs archive
sh: /usr/local/libexec/mc/extfs.d/urar: No such file or directory

That's expected. But if I move the zip script, it still doesn't return
anything. I guess the script isn't even called.

Is the Zip support broken, or it's something on my end ?


The file command 5.07 had a bug where it cannot identify ZIP
archives. If MC uses file to identify the type, maybe it's failing.
(you can test by running that command yourself to see what it says).
If file can't identify ZIP, upgrade or apply the patch:

https://github.com/glensc/file/commit/e990dc53f658cb67ec7b33c32e0bc24e65801792#magic/Magdir/archive


Thanks. It no longer reports cannot execute binary file, but still 
doesn'r work with the archives.


I'll investigate it further, because I'm really pretty sure that it used 
to work with git in 2010, without applying any patches.___
mc mailing list
http://mail.gnome.org/mailman/listinfo/mc


Re: Zip support broken ?

2011-09-26 Thread Andrew Borodin
On Thu, 22 Sep 2011 14:49:21 -0300 Fr?d?ric L. W. Meunier  wrote:
 Slackware 13.37 comes with Midnight Commander 4.7.5.2 and UnZip 6.0. When 
 I press Enter on a .zip archive, it does nothing.

Well, it's known bug: https://www.midnight-commander.org/ticket/423

Would you like test the patch
https://www.midnight-commander.org/raw-attachment/ticket/423/uzip.diff
and report result here or as the comment directly in the ticket?

Thanks!

-- 
Andrew
___
mc mailing list
http://mail.gnome.org/mailman/listinfo/mc


Re: Zip support broken ?

2011-09-26 Thread Paul Hartman
2011/9/22 Frédéric L. W. fred...@fredlwm.net:
 Slackware 13.37 comes with Midnight Commander 4.7.5.2 and UnZip 6.0. When
 I press Enter on a .zip archive, it does nothing. But when I do the same
 on an archive with execute permission, like those mounted from an NTFS
 partition, it returns

 bash: ./archive.zip: cannot execute binary file

 I also compiled 4.8.0-pre2, but got the same results.

 .rar archives work fine. And if I move the urar helper script, it returns

 Error
 Inconsistent extfs archive
 sh: /usr/local/libexec/mc/extfs.d/urar: No such file or directory

 That's expected. But if I move the zip script, it still doesn't return
 anything. I guess the script isn't even called.

 Is the Zip support broken, or it's something on my end ?

The file command 5.07 had a bug where it cannot identify ZIP
archives. If MC uses file to identify the type, maybe it's failing.
(you can test by running that command yourself to see what it says).
If file can't identify ZIP, upgrade or apply the patch:

https://github.com/glensc/file/commit/e990dc53f658cb67ec7b33c32e0bc24e65801792#magic/Magdir/archive
___
mc mailing list
http://mail.gnome.org/mailman/listinfo/mc


Zip support broken ?

2011-09-24 Thread Frédéric L . W . Meunier
Slackware 13.37 comes with Midnight Commander 4.7.5.2 and UnZip 6.0. When 
I press Enter on a .zip archive, it does nothing. But when I do the same 
on an archive with execute permission, like those mounted from an NTFS 
partition, it returns

bash: ./archive.zip: cannot execute binary file

I also compiled 4.8.0-pre2, but got the same results.

.rar archives work fine. And if I move the urar helper script, it returns

Error
Inconsistent extfs archive
sh: /usr/local/libexec/mc/extfs.d/urar: No such file or directory

That's expected. But if I move the zip script, it still doesn't return 
anything. I guess the script isn't even called.

Is the Zip support broken, or it's something on my end ?
___
mc mailing list
http://mail.gnome.org/mailman/listinfo/mc