Your message dated Sun, 14 Apr 2019 09:04:49 +0000 with message-id <[email protected]> and subject line Bug#924273: fixed in makehuman 1.1.1-1.2 has caused the Debian Bug report #924273, regarding makehuman: Always fail in export to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 924273: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924273 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: makehuman Version: 1.1.1-1.1 Severity: important Tags: patch Dear Maintainer, When I used export menu in makehuman, I always got errors as follows, and no exported file was created. ----------error details---------------- Creating folder /home/mine/makehuman/v1/exports/textures Exception during event onFileSelected Traceback (most recent call last): File "./core/events3d.py", line 211, in callEvent method(event) File "./apps/gui/guiexport.py", line 112, in onFileSelected exporter.export(gui3d.app.selectedHuman, filename) File "plugins/9_export_collada/__init__.py", line 132, in export exportCollada(filename("dae"), cfg) File "plugins/9_export_collada/mh2collada.py", line 79, in exportCollada meshes = [obj.mesh.clone(config.scale, filterMaskedVerts=not config.hiddenGeom) for obj in objects] File "./core/module3d.py", line 160, in clone self.filterMaskedVerts(other, update=False) File "./core/module3d.py", line 311, in filterMaskedVerts inverse_uv_idx[uv_idx] = np.arange(self.texco.shape[0], dtype=np.int32) ValueError: shape mismatch: value array of shape (21334,) could not be broadcast to indexing result of shape (14517,) ---------------------------- I found this problem was already fixed in upstream(*1), so that I suggest patch attached this report. (*1) Upstream's commit: a5b4e3f8 in github.com/makehumancomunity/makehuman Of cause, I already apply this patch to makehuman in my debian box, then I confirmed this problem was fixed. Could you apply this patch? Thank you in advance, --- Takahide Nojima -- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages makehuman depends on: ii makehuman-data 1.1.1-1.1 ii python-numpy 1:1.16.2-1 ii python-opengl 3.1.0+dfsg-2 ii python-qt4 4.12.1+dfsg-2+b1 ii python-qt4-gl 4.12.1+dfsg-2+b1 ii python2.7 2.7.16-1 makehuman recommends no packages. Versions of packages makehuman suggests: pn makehuman-doc <none> -- no debconf informationdiff -Nur debian.orig/changelog debian/changelog --- debian.orig/changelog 2019-02-25 18:39:08.000000000 +0900 +++ debian/changelog 2019-03-11 03:21:06.703116091 +0900 @@ -1,3 +1,10 @@ +makehuman (1.1.1-1.2) unstable; urgency=medium + + * Fix shape mismatch error in export menu by + a5b4e3f8 commit of github.com/makehumancomunity/makehuman. + + -- Takahide Nojima <[email protected]> Mon, 11 Mar 2019 03:16:14 +0900 + makehuman (1.1.1-1.1) unstable; urgency=medium * Non-maintainer upload. diff -Nur debian.orig/patches/fix-export-error.patch debian/patches/fix-export-error.patch --- debian.orig/patches/fix-export-error.patch 1970-01-01 09:00:00.000000000 +0900 +++ debian/patches/fix-export-error.patch 2019-03-11 02:49:09.145980410 +0900 @@ -0,0 +1,11 @@ +--- a/makehuman/core/module3d.py ++++ b/makehuman/core/module3d.py +@@ -308,7 +308,7 @@ + fuvs = self.fuvs[self.face_mask] + uv_idx = np.unique(fuvs.reshape(-1)) + inverse_uv_idx = - np.ones(self.texco.shape[0], dtype=np.int32) +- inverse_uv_idx[uv_idx] = np.arange(self.texco.shape[0], dtype=np.int32) ++ inverse_uv_idx[uv_idx] = np.arange(uv_idx.shape[0], dtype=np.int32) + for i in xrange(self.vertsPerPrimitive): + fuvs[:,i] = inverse_uv_idx[fuvs[:,i]] + diff -Nur debian.orig/patches/series debian/patches/series --- debian.orig/patches/series 2019-02-25 18:39:08.000000000 +0900 +++ debian/patches/series 2019-03-11 03:34:03.322022076 +0900 @@ -1,2 +1,3 @@ 01_makehuman.py.patch sphinx.ext.pngmath.patch +fix-export-error.patch
--- End Message ---
--- Begin Message ---Source: makehuman Source-Version: 1.1.1-1.2 We believe that the bug you reported is fixed in the latest version of makehuman, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Jochen Sprickerhof <[email protected]> (supplier of updated makehuman package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sun, 14 Apr 2019 10:51:40 +0200 Source: makehuman Architecture: source Version: 1.1.1-1.2 Distribution: unstable Urgency: medium Maintainer: Muammar El Khatib <[email protected]> Changed-By: Jochen Sprickerhof <[email protected]> Closes: 924273 Changes: makehuman (1.1.1-1.2) unstable; urgency=medium . * Non-maintainer upload. * Add patch for shape mismatch error (Closes: #924273) Checksums-Sha1: 8a6f3c7d2ec40b59804eebfa7081596d5d34a161 2139 makehuman_1.1.1-1.2.dsc 0b459c21248d69395ed0a720386ea4dd59328242 22200 makehuman_1.1.1-1.2.debian.tar.xz 81f71759751631b79ea81f431e258a2cbd8eb1ee 6304 makehuman_1.1.1-1.2_source.buildinfo Checksums-Sha256: 3ba5a704013d370d7e3220d3c55b710b965e8ab525420a2a82e6d8b243592a3f 2139 makehuman_1.1.1-1.2.dsc 37574f923d01eec8321153d55482902ff59784ef109ca6ce5814cbaf51b74b2a 22200 makehuman_1.1.1-1.2.debian.tar.xz 9a494e3bd5672baeb1732b29bcfb44d26ac8968263597f282b820052beb5f86a 6304 makehuman_1.1.1-1.2_source.buildinfo Files: 611c31a21dd4a73284811f94c2242313 2139 graphics optional makehuman_1.1.1-1.2.dsc 17e6d1a8e439319bfdc862b2970f2e03 22200 graphics optional makehuman_1.1.1-1.2.debian.tar.xz 12d7936680f38d425e58dd01e178dda4 6304 graphics optional makehuman_1.1.1-1.2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAlyy9PcACgkQW//cwljm lDPVzA/9Ed4WruiYrCMwiYykx5dhzVeNuGNbZZxa926AeFU6MBZyW6VU0I/U4R9S R/GIcuqpnwjXOUVDsIa8u7rZaIcLxFmAGK54L6Rrb1u/PAETLz1Q9LlPEB3yQCKB sjbZG1ocZ6f9eB1wL8C98a3CO4aRyawwC94Up1KdhQoZD8tWMwv1ed6mynHHAID3 LlLJAqYlsxvIM0j7HuM7T/YnA6eoWXu+jssi5g+VN1DlFIi4b0vjsYL12KCFTiVA XPTLZ40QJo6BzPmypVLbx69tag4nbpzgN/5Aa+bmaoA+WGmFresdhrjAqiWGq82u hjs/yZzBTqvJnxLoRJxLqi9tJvZC9XMJ3t2LSvkAIhg/00SogdWdBThHKxE0+u91 AhGmchIL5LKEedSEqnV8RyRPXFojSG3lEV9QBPnlfWjDNgrtyGOChdoN1MgnyNaL iBcdBOfxmyHArVOwX1srgyfkYFZO9tUpd1z/Obgzk3WPY7AWKaQJBpSZJj4NZifK BMhSmclw55Bp5tZWYTthJp/UOIQfKKErBV+hWxwMyZkgYn2Tp/XuDIHgjBuOxsSH cDpAQRq30ApkfYe8QrOcy3uVvl7Dkn66ymR36DUV7HeyZ93PDJlbhQPPXx2fXh5V zS4nLioaUI0pVCElIqfLRYPut9/EKCtNMd1FQChqhtPUnlQ8liI= =672S -----END PGP SIGNATURE-----
--- End Message ---

