On Mon Jul 07 20:03, Florian Grandel wrote: > I have tried. I installed the packages you indicated but now got the > following error: > > Ick! 0x622f2123 > Traceback (most recent call last): > File "/usr/bin/jh_manifest", line 247, in <module> > updatejar(j, tempmanifest, args) > File "/usr/bin/jh_manifest", line 76, in updatejar > if not "Class-Path" in manifest["top"] and "CLASSPATH" in os.environ: > TypeError: 'NoneType' object is unsubscriptable
Um... I'm pretty sure that's not possible. I'm at work so can't try building it, but looking at the code for jh_manifest, manifest should not be able to be None. I shall try building it and reproducing that error, but in order to test the rest of the program, can you try applying this diff: --- jh_manifest.orig 2008-07-08 15:13:23.970424750 +0000 +++ jh_manifest 2008-07-08 15:14:02.756848750 +0000 @@ -73,8 +73,9 @@ manifest = parseManifest(tempdir + "/META-INF/MANIFEST.MF", None, manifest) - if not "Class-Path" in manifest["top"] and "CLASSPATH" in os.environ: - manifest["top"]["Class-Path"] = os.environ["CLASSPATH"].replace(":", " ") + if None != manifest: + if not "Class-Path" in manifest["top"] and "CLASSPATH" in os.environ: + manifest["top"]["Class-Path"] = os.environ["CLASSPATH"].replace(":", " ") writeManifest(tempdir + "/MANIFEST.MF", manifest) Thanks, Matt -- Matthew Johnson
signature.asc
Description: Digital signature