Title mb makehashes doesn't work with some .asc files
Priority bug Status resolved
Superseder Nosy List poeml
Assigned To poeml Keywords

Created on 2012-03-24.00:05:37 by poeml, last changed by poeml.

msg356 (view) Author: poeml Date: 2012-03-24.00:05:37
Hashing '/srv/kde/security_patches/post-3.3.2-kdelibs-kimgio-fixed.diff'... done.
Traceback (most recent call last):
  File "/usr/bin/mb", line 1645, in <module>
    r = mirrordoctor.main()
  File "/usr/lib/pymodules/python2.5/", line 257, in main
    return self.cmd(args)
  File "/usr/lib/pymodules/python2.5/", line 280, in cmd
    retval = self.onecmd(argv)
  File "/usr/lib/pymodules/python2.5/", line 412, in onecmd
    return self._dispatch_cmd(handler, argv)
  File "/usr/lib/pymodules/python2.5/", line 1100, in _dispatch_cmd
    return handler(argv[0], opts, *args)
  File "/usr/bin/mb", line 1105, in do_makehashes
  File "/usr/lib/pymodules/python2.5/mb/", line 174, in check_db
psycopg2.DataError: invalid byte sequence for encoding "UTF8": 0xb7
HINT:  This error can also happen if the byte sequence does not match the 
encoding expected by the server, which is controlled by "client_encoding".

This happened with signature that were not detached, and contained non-UTF-8 

Fixed in commit 8259, by ignoring such large files (larger than the signed file, 
quite simply).
msg357 (view) Author: poeml Date: 2012-03-24.00:06:02
Will be in 2.16.1.
Date User Action Args
2012-03-25 10:27:06poemlsettitle: mb makehashes doesn't with some .asc files -> mb makehashes doesn't work with some .asc files
2012-03-24 12:14:06poemlsetstatus: chatting -> resolved
2012-03-24 00:06:02poemlsetstatus: resolved -> chatting
messages: + msg357
2012-03-24 00:05:52poemlsetstatus: in-progress -> resolved
2012-03-24 00:05:37poemlcreate