Logo54.80.227.189 
  Home  News  Recent  Forums  Search  Contact
  Menu
 Username

 Password


   Register here

 Main menu
   View images
   BBCode test
 
 Content
   Statement of intent
   Terms Of Service
   IRC Channel
   List Content

 In cooperation with
  OS4Depot.net
  OpenAmiga.org
  OS4Welt

 Links
  AmigaOS4
  IntuitionBase
  UtilityBase
  Amiga Flame
  Amiga Spirit
  AmiKit
  Aminet
  AmiBay
  AmigaBounty
  AmigaWorld
  Exec
  Amiga.cz
  View comments
Title  
  Forums
    Software
      AmigaOS 4  
Phantomxad_LhA causes problems when extracting20110207 14:41
I've downloaded it from OS4Depot.

Although everytime I extract an LhA archive, it gives HSPE stamp, and not the usual RWED.
Navigate: 1-13 
PhantomRe: xad_LhA causes problems when extracting20110207 16:18  #1904
@Phantom

Anyone has the previous release of it (a month before) to send it? I cannot find it anywhere.

Thanks.
xenicRe: xad_LhA causes problems when extracting20110207 16:57  #1907
@Phantom
I found an Aminet mirror site that doesn't appear to have been updated with the new version:
http://ftp.icm.edu.pl/packages/aminet/util/arc/xad_lha.lha


xenicRe: xad_LhA causes problems when extracting20110207 17:41  #1911
@Phantom
I did some testing and came to the conclusion that there is some problem between various versions of lha and xad_lha. Most of my archives extract normally (using xad_lha 1.15) with correct protection bits. However, the expermental NList archive that Thor provided at SourceForge extracts with strange protection bits and can't be extracted at all with the lha program (lha 2.15). Lha complains about the version of the archive and claims the files are corrupted. The NList archive was probably produced by a Linux version of Lha. My conclusion is that the Amiga and Linux versions of lha are somehow out of sync since the 2011 fixes were applied to Amiga lha. That's just a guess, but something is wrong and someone else may want to look at this issue to determine the cause.

chrisRe: xad_LhA causes problems when extracting20110207 19:50  #1918
@xenic

Hmm, you're right, there's something odd going on here.

All I changed was:

1. correcting where the protection bits were put (so they would never have worked on 1.14, and this was probably the cause of some instability that was reported at the time)

2. Told XAD that the protection bits were in Amiga format. This seems to be the mistake I made. However, I initially left it as UNIX format and the Amiga protection bits did not decode properly then.

It is possible to find out which OS created the archive, so I should be able to fix this cleanly. I'm just having a nose around some LhA docs :)

edit Please can you contact Sven Ottemann about the archive which won't extract with the command line version of LhA.
chrisRe: xad_LhA causes problems when extracting20110207 21:31  #1938
Right, I've fixed it - it now correctly handles Amiga protection bits, and UNIX protection bits (which IIRC it never did in the past). There may be an issue with header level 0 files that were created not-on-Amiga (I figured that was better than the alternative).

@Phantom - please can you provide links to archives you were having problems with so I can double-check before upload. Thanks!
PhantomRe: xad_LhA causes problems when extracting20110207 22:54  #1948
@chris

One is from the link Thore gave to another thread regarding the fixed issue of NList, and the other the NList.lha (0.109) from Aminet.
chrisRe: xad_LhA causes problems when extracting20110207 23:58  #1952
@Phantom

Thanks, they are both fine here with LhA client 1.16.

The NList test archive doesn't extract with LhA 2.15, because it uses -lh7- compression which LhA 2.15 doesn't support (Sven will need to add it):

Original Packed Ratio Date Time Atts Method CRC Host OS L U
-------- ------- ----- --------- -------- -------- ------ ---- -------- ---
NList.mcc.os4
307428 165576 46.1% 07-Feb-11 11:10:14 ----rwed -lh7- 4FEA Unix 1 X

PhantomRe: xad_LhA causes problems when extracting20110208 12:31  #1957
@chris

AmiUpdate found 2 updates regarding LhA, one for LhA itself and the other for the XAD Library. It's ok to proceed?
chrisRe: xad_LhA causes problems when extracting20110208 14:03  #1959
@Phantom

Yes, that's 1.16.
PhantomRe: xad_LhA causes problems when extracting20110208 14:14  #1960
@chris

Tested and works (I checked a couple of LhA-archives).

Thanks.
xenicRe: xad_LhA causes problems when extracting20110208 15:18  #1962
@chris
Please can you contact Sven Ottemann about the archive which won't extract with the command line version of LhA.

I couldn't find him in the Amigan.net member list but I sent him a PM at AmigaWorld.net. It would be nice if LHA could at least extract lh7 archives, even if it can't create them.
xenicRe: xad_LhA causes problems when extracting20110208 15:45  #1963
@chris
I D/L 1.16 from Aminet but noticed that OS4Depot version is still 1.14 and shown as 1.15 in the readme. If you get a chance it would be good to get the Aminet & OS4Depot versions in sync.

chrisRe: xad_LhA causes problems when extracting20110208 19:38  #1978
@xenic

OS4Depot was 1.15 despite the wrong version number in the header. That's because you have to go through and change all the fields manually and I missed it. I couldn't be bothered with the hassle last night, but I have updated OS4Depot to 1.16 now.
Navigate: 1-13 
Home
Snack! forum website engine, Created in 2008 by Björn Hagström