Le Sun, 18 Apr 2010 18:14:05 +0100,
Matthew Johnson <mj...@debian.org> a écrit :

> I really could do with seeing the manifest from either of your packages - I
> suspect that there is non-utf8 data in there. Without seeing it though I can't
> reproduce or suggest a fix. (I'm afraid I can't read winmail.dat)
> 
> Matt
> 

Hello

sorry for such a late answer.

Attached the faulty manifest file, the one from ATKWidget-4.0.6.jar.

it seems that this MANIFEST is not in unix format.

pi...@grisette:/tmp$ file MANIFEST.MF 
MANIFEST.MF: ASCII text, with CRLF line terminators

the error is still:

pi...@grisette:~/Debian/tango/tango-nonfree$ jh_manifest -v
/usr/bin/jh_manifest:3: DeprecationWarning: please use 'debian' instead of 
'debian_bundle'
  import sys,getopt,debian_bundle.deb822,scriptutil,os,tempfile,copy
Updating manifest in 
/home/picca/Debian/tango/tango-nonfree/debian/libtango-java/usr/share/java/Astor-5.2.3.jar
Updating manifest in 
/home/picca/Debian/tango/tango-nonfree/debian/libtango-java/usr/share/java/ATKCore-4.0.6.jar
Updating manifest in 
/home/picca/Debian/tango/tango-nonfree/debian/libtango-java/usr/share/java/atkpanel-4.2.jar
Updating manifest in 
/home/picca/Debian/tango/tango-nonfree/debian/libtango-java/usr/share/java/AtkTuning-2.8.jar
Updating manifest in 
/home/picca/Debian/tango/tango-nonfree/debian/libtango-java/usr/share/java/ATKWidget-4.0.6.jar
Traceback (most recent call last):
  File "/usr/bin/jh_manifest", line 264, in <module>
    updatejar(j, tempmanifest, args)
  File "/usr/bin/jh_manifest", line 78, in updatejar
    manifest = parseManifest(tempdir + "/META-INF/MANIFEST.MF", None, manifest)
  File "/usr/bin/jh_manifest", line 164, in parseManifest
    manifest[section][i.strip()] = sec[i].strip().replace('\n ','')
  File "/usr/lib/pymodules/python2.5/debian/deb822.py", line 179, in __getitem__
    value = value.decode(self.encoding)
  File "/usr/lib/python2.5/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf3 in position 5: 
unexpected end of data


thanks.

Frederic

-- 
GPG public key   1024D/A59B1171 2009-08-11
    fingerprint = 1688 A3D6 F0BD E4DF 2E6B  06AA B6A9 BA6A A59B 1171
uid  Picca Frédéric-Emmanuel <pi...@synchrotron-soleil.fr>

Attachment: MANIFEST.MF
Description: Binary data

Attachment: signature.asc
Description: PGP signature

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers>. Please 
use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to