Problem with ZIP archives
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Posts: 464 from 2003/7/25
    From: Wroclaw/Poland
    I have a problem with unpacking ZIP archives created under MorphOS 3.4 (PowerBookG4). If I try open that ZIP archives, I see Ambient lister with only main folder of the archive. The folder is always empty. The same archives are unpacking correctly under another systems (OSX, iOS).

    If I use UnZip, unpacking stops on random file and I see that ouput in CLI:

    Warning: TZ environment variable not found, cannot use UTC times!!
    Archive: Files:Download/powersdl.zip
    creating: powersdl/
    inflating: powersdl/README.info
    inflating: powersdl/README-SDL.txt.info
    inflating: powersdl/README-SDL.txt


    The problem doesn't exist if I unpack ZIP archives created under another systems (e.g. OSX, iOS). I create ZIP archives under MorphOS using:
    SYS:C/zip -5 -r "%sf.zip" "%sf" "%sf.info"

    I have no problems with LhA and 7zip.

    Any idea? :(

    [ Edited by MDW 30.12.2013 - 19:01 ]
  • »30.12.13 - 17:57
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Jupp3
    Posts: 1193 from 2003/2/24
    From: Helsinki, Finland
    MDW,
    Quote:

    I have no problems with LhA and 7zip.

    Any idea? :(

    Yes.

    If you have both:
    1)More "Amiga-friendly" option (lha)
    and
    2)Modern, efficiently compressing (7zip)

    compression methods, why do you still bother with ancient & sucky zip?

    As for the warning, I guess it's mostly harmless, I *think* it simply states it cannot figure out which timezone the archive was created in, and cannot set filedates to matching value. I can't see unzip "stopping" at the example output you showed?

    [ Edited by Jupp3 31.12.2013 - 13:25 ]
  • »31.12.13 - 11:23
    Profile Visit Website
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Posts: 464 from 2003/7/25
    From: Wroclaw/Poland
    Quote:

    Jupp3 wrote:
    If you have both:
    1)More "Amiga-friendly" option (lha)
    and
    2)Modern, efficiently compressing (7zip)

    compression methods, why do you still bother with ancient & sucky zip?

    Generally I use 7zip and LhA. In my opinion 7zip is king of the compressors on all platforms. :)
    However I would like to handle under MorphOS the most popular compression method. Sometimes I need to compress something in ZIP. It it very strange that I have problem with ZIP compression/decompression. :) I am not sure but probably I have no the problem under MorphOS 3.3 and earlier versions.


    Quote:

    Jupp3 wrote:
    As for the warning, I guess it's mostly harmless, I *think* it simply states it cannot figure out which timezone the archive was created in, and cannot set filedates to matching value. I can't see unzip "stopping" at the example output you showed?

    The example output is full. Compression process stops on a file (in the example during "inflating: powersdl/README-SDL.txt" and it is end of the output. I was waiting several minutes but the status didn't changed. I have to use Ctrl+C for break the process.
  • »31.12.13 - 12:39
    Profile Visit Website
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Posts: 2096 from 2003/2/24
    From: po-RNO
    I'm not sure about those other cases, but I've had problems with UnZip commands on shell. So, I think UnZip problem might be different to others and isn't related to MorphOS created archives, it happens with other archives here too.

    Anyway, the most "recent" unzip commands seem to make a hit in the log and crash middle of unpacking. Check the log yourself if there's a hit with your case too? I've found some very old 68k command from aminet which doesn't hit, but any port from recent years do hit. I don't know if it's an ixemul issue or what...
  • »31.12.13 - 13:23
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > I've found some very old 68k command from aminet which doesn't hit

    ftp://ftp.info-zip.org/pub/infozip/amiga/unz550xa.lha from 2002 works here and should be newer than the Aminet version.
  • »01.01.14 - 18:03
    Profile
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Posts: 2096 from 2003/2/24
    From: po-RNO
    Quote:

    Andreas_Wolf wrote:
    > I've found some very old 68k command from aminet which doesn't hit

    ftp://ftp.info-zip.org/pub/infozip/amiga/unz550xa.lha from 2002 works here and should be newer than the Aminet version.


    That hits too, even just by running it without arguments...
  • »01.01.14 - 18:45
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > That hits too, even just by running it without arguments...

    Ah okay, thanks for info. At least it doesn't crash in the middle of unpacking.
  • »01.01.14 - 22:42
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Jambalah
    Posts: 820 from 2008/3/30
    From: Roma, Italy
    Hi MDW!
    I had problems with Zip/Unzip commands and I discovered that ZipMOS (found on Aminet) doesn't work well. Then I tried this:
    http://aminet.net/package/util/arc/ZipPPC
    ZipPPC works really well: both commands, zip and unzip, work really flawless. I also created mime settings to zip file(s) or directories and to unzip, unzip in a directory of your choice and read and show the archive.
    I'm out of home now so I will show those mime settings later.
    Pegasos II 1 ghz
    Powermac G4 Quicksilver with Sonnet Encore 1.8 ghz
    Powermac G4 MDD single 1.25 ghz, silenced for ears health...
    Powermac G5 dual 2.7 ghz I'll be back...
    Powermac G5 dual 2.0 ghz
    Powerbook G4 1.67 ghz 17
  • »08.01.14 - 11:46
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Amigaharry2
    Posts: 1280 from 2010/1/6
    From: EU-Austria (Wien)
    I use the MOS-port of szip: http://aminet.net/package/util/arc/szip_112b_ppc-morphos
    and unzip 5.22 http://aminet.net/package/util/arc/unzip-morphos
    Never had problems with them......
    Peg2, 3xPowerMac G5, 2xPowerbookG4, 2x MacMiniG4, Efika (again), A3000T and life is never boring.....
  • »08.01.14 - 14:47
    Profile