Your message dated Fri, 23 Nov 2018 23:58:02 +0000 with message-id <[email protected]> and subject line Bug#878623: fixed in pyacoustid 1.1.5-1 has caused the Debian Bug report #878623, regarding python-acoustid: acoustid.fingerprint_file(p) fails with TypeError: data must be bytes, buffer, or memoryview 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.) -- 878623: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878623 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-acoustid Version: 1.1.2-2 Severity: normal Dear Maintainer, Encounted a type error when i called acoustid.fingerprint_file() the target file was .ogg, I was able to workaround the problem by making the file: "/usr/lib/python2.7/dist-packages/chromaprint.py" inaccessable. I saw in the code that it falls back to using the fpcalc program. Ran it under pdb and see that the buffer is <type bytearray> but chromaprint doesn't accept the bytearray type -- pdb session Traceback (most recent call last): File "/usr/lib/python2.7/pdb.py", line 1314, in main pdb._runscript(mainpyfile) File "/usr/lib/python2.7/pdb.py", line 1233, in _runscript self.run(statement) File "/usr/lib/python2.7/bdb.py", line 400, in run exec cmd in globals, locals File "<string>", line 1, in <module> File "fptst.py", line 1, in <module> import acoustid File "/usr/lib/python2.7/posixpath.py", line 239, in walk walk(name, func, arg) File "/usr/lib/python2.7/posixpath.py", line 231, in walk func(arg, top, names) File "fptst.py", line 28, in walkfunc s,fp = acoustid.fingerprint_file(p) File "/usr/lib/python2.7/dist-packages/acoustid.py", line 321, in fingerprint_file return _fingerprint_file_audioread(path, maxlength) File "/usr/lib/python2.7/dist-packages/acoustid.py", line 264, in _fingerprint_file_audioread fp = fingerprint(f.samplerate, f.channels, iter(f), maxlength) File "/usr/lib/python2.7/dist-packages/acoustid.py", line 206, in fingerprint fper.feed(block) File "/usr/lib/python2.7/dist-packages/chromaprint.py", line 119, in feed raise TypeError('data must be bytes, buffer, or memoryview') TypeError: data must be bytes, buffer, or memoryview -- deleted -> fper.feed(block) (Pdb) s --Call-- > /usr/lib/python2.7/dist-packages/chromaprint.py(112)feed() -> def feed(self, data): (Pdb) > /usr/lib/python2.7/dist-packages/chromaprint.py(116)feed() -> if isinstance(data, BUFFER_TYPES): (Pdb) > /usr/lib/python2.7/dist-packages/chromaprint.py(118)feed() -> elif not isinstance(data, bytes): (Pdb) > /usr/lib/python2.7/dist-packages/chromaprint.py(119)feed() -> raise TypeError('data must be bytes, buffer, or memoryview') (Pdb) TypeError: TypeErro...ryview',) > /usr/lib/python2.7/dist-packages/chromaprint.py(119)feed() -> raise TypeError('data must be bytes, buffer, or memoryview') (Pdb) type(data) <type 'bytearray'> -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.13.0-1-amd64 (SMP w/16 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python-acoustid depends on: ii libchromaprint1 1.4.2-1 ii python 2.7.13-2 ii python-audioread 2.1.5-1 ii python-requests 2.18.1-1 python-acoustid recommends no packages. python-acoustid suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: pyacoustid Source-Version: 1.1.5-1 We believe that the bug you reported is fixed in the latest version of pyacoustid, 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. Sandro Tosi <[email protected]> (supplier of updated pyacoustid 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: SHA256 Format: 1.8 Date: Fri, 23 Nov 2018 18:24:26 -0500 Source: pyacoustid Binary: python-acoustid python3-acoustid Architecture: source all Version: 1.1.5-1 Distribution: unstable Urgency: medium Maintainer: Sandro Tosi <[email protected]> Changed-By: Sandro Tosi <[email protected]> Description: python-acoustid - Acoustid interface implementation and Chromaprint bindings python3-acoustid - Acoustid interface implementation and Chromaprint bindings (Pytho Closes: 878623 881565 889775 Changes: pyacoustid (1.1.5-1) unstable; urgency=medium . [ Ondřej Nový ] * d/control: Set Vcs-* to salsa.debian.org * d/copyright: Use https protocol in Format field * d/changelog: Remove trailing whitespaces * Convert git repository from git-dpm to gbp layout . [ Sandro Tosi ] * New maintainer; Closes: 889775 * New upstream release; Closes: #878623, #881565 * debian/control - bump Standards-Version to 4.2.1 (no changes needed) Checksums-Sha1: 69b6309c7e9b91f6169d9faaa790702d21a42b7d 2109 pyacoustid_1.1.5-1.dsc 90d70ff4162367ad5418842a272c42ae68a18adf 11846 pyacoustid_1.1.5.orig.tar.gz dbedccc63b055efa0b5566da901fa76e0d1658b7 2908 pyacoustid_1.1.5-1.debian.tar.xz d8f10e9dcac1269832dbe0428372f9a231deee74 7847 pyacoustid_1.1.5-1_amd64.buildinfo 4e66ab508e5144fb785cb76502521d5192af85a0 15476 python-acoustid_1.1.5-1_all.deb 2236e317b13fd5abfc116d2058a2d95b2507a3cb 11892 python3-acoustid_1.1.5-1_all.deb Checksums-Sha256: 6a1d5078e5e08bc40c4d7f534e652968f3cb4731d192d90fff008ba0a4c5ecb0 2109 pyacoustid_1.1.5-1.dsc efb6337a470c9301a108a539af7b775678ff67aa63944e9e04ce4216676cc777 11846 pyacoustid_1.1.5.orig.tar.gz 7ceb5e74331aa9947d5d526843429e8843fe6839823355f4a3b489fd1c05a676 2908 pyacoustid_1.1.5-1.debian.tar.xz bebdb50eb7d201115bc53c1a6f9e031c6c2eafe778820ba47bf0c069f837de5c 7847 pyacoustid_1.1.5-1_amd64.buildinfo 9e82082de881b1a43a137e23f756bea011fd45fec7718c6c66498920ef3a2af8 15476 python-acoustid_1.1.5-1_all.deb 3b1fee05baf3f7d53ac27ab902c391df14408857a57900d432461b0b96eba889 11892 python3-acoustid_1.1.5-1_all.deb Files: 5ec5a58b5d0e63eae355251c690c491b 2109 python optional pyacoustid_1.1.5-1.dsc 036a4754343d1f9c894004c82d8309bd 11846 python optional pyacoustid_1.1.5.orig.tar.gz 6abc6b87189902394cef9c474f19d2c9 2908 python optional pyacoustid_1.1.5-1.debian.tar.xz 447acf8d9b2fcf713dec53c23d0a4396 7847 python optional pyacoustid_1.1.5-1_amd64.buildinfo 3ebfe2adfe791c4b5a9bc1dd2f9de950 15476 python optional python-acoustid_1.1.5-1_all.deb 701238a96305f861267df254d2c89662 11892 python optional python3-acoustid_1.1.5-1_all.deb -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAlv4jr4ACgkQh588mTgB qU9d6xAAm2eQAgCTBfTymN2nCda85PbDg9hIMxCRiiX866oUYlgEBp1C5aRQ8ufB CzTEUVAkE/yHrP2Fsz3S1oZZNCAZv81OmA2joiDO2GsNcwJSb7q0rOmGP5b4lGJ2 /5+12MiwMnn32RP18kBra66rfazs33c9cBo6p8MVmM4EQYhDX45Jb1gpxpvKEywv vQ/DZ4D0TCgfFh/R+hG+8KXqWwbNfNT9ZDhW7z7TMFAy/Jr8JphXaJOW1YsEEn2m it9emXt9SbDtiGq8rZKDjWugx9OYHBauxNfmdC1vtv0LLL4OhmF7Z5/V2PCLt9qJ oNk3qHkVyGEtSQez+jY23YuFhukYIZn9nvO4VfRcqVCAAWv7cUKgwkLj1CIkc7dl Ssrh6ehvAyQZVG9jrKRGaFzMmo12rHIy7pBYmvO/hv1pEI2Pw1GIK5R4NkdVzN2r 9s15Pk4X68APvz4hAQSoRlAysJ4pOxQB+bMXxxUHY3cDH3kX70Wve0spo36OxZpa SDDwYPW6LCTE9sT/Yld6t6KPwhSmzQjG7ac2jyIUPX0EisCknr5X3ZGGZwx+GYNB U9WabX9/Gez54rV2ejFl+abO9psPfj7niS1WsHviVzYw5qvJ9yMDlr6QRvfO4EXW yAZ5jSYpGereQxFr+CPrg/0Adth09HhRacMU/z9PkelJr1A4/h4= =sXzY -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Python-modules-team mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team
