Your message dated Thu, 25 Oct 2018 15:20:54 +0000 with message-id <[email protected]> and subject line Bug#911840: fixed in pyocd 0.12.0+dfsg-3 has caused the Debian Bug report #911840, regarding python3-pyocd: Executables fail with "ModuleNotFoundError: No module named 'pyOCD'" 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.) -- 911840: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911840 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python3-pyocd Version: 0.12.0+dfsg-2 Severity: important Dear Maintainer, I tried to use the included binaries (like pyocd-flashtool) to flash a binary to a board. However, running the program just gives me the following error: Traceback (most recent call last): File "/usr/bin/pyocd-flashtool", line 11, in <module> load_entry_point('pyocd==0.12.0', 'console_scripts', 'pyocd-flashtool')() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 484, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2714, in load_entry_point return ep.load() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2332, in load return self.resolve() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2338, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/lib/python3/dist-packages/pyocd/__init__.py", line 18, in <module> from . import board File "/usr/lib/python3/dist-packages/pyocd/board/__init__.py", line 18, in <module> from . import mbed_board File "/usr/lib/python3/dist-packages/pyocd/board/mbed_board.py", line 24, in <module> from .board import Board File "/usr/lib/python3/dist-packages/pyocd/board/board.py", line 18, in <module> from pyOCD.target import (TARGET, FLASH) ModuleNotFoundError: No module named 'pyOCD' Adding a symlink from pyocd to pyOCD in /usr/lib/python3/dist-packages seems to work around this issue (I still could not flash though, but that's probably a different problem, it seems to work with the current master from upstream though). Upstream seems to have renamed to pyOCD directory in ef63b407 [1] as well btw., similar to what dfsg.sh does, but they likely made some other changes in the source code as well. Kind regards Manfred [1] https://github.com/mbedmicro/pyOCD/commit/ef63b40755b8d1e75f6a248a745ea31981269c0d -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores) Locale: LANG=de_CH.utf8, LC_CTYPE=de_CH.utf8 (charmap=UTF-8), LANGUAGE=de_CH:de (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: unable to detect Versions of packages python3-pyocd depends on: ii python3 3.6.7-1 ii python3-colorama 0.3.7-1 ii python3-future 0.15.2-5 ii python3-intelhex 2.1-2 ii python3-intervaltree 2.1.0-2 ii python3-pkg-resources 40.4.3-1 ii python3-pyelftools 0.25-1 ii python3-six 1.11.0-2 ii python3-usb 1.0.2-1 ii python3-websocket 0.53.0-1 python3-pyocd recommends no packages. python3-pyocd suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: pyocd Source-Version: 0.12.0+dfsg-3 We believe that the bug you reported is fixed in the latest version of pyocd, 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. Neil Williams <[email protected]> (supplier of updated pyocd 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: Thu, 25 Oct 2018 15:55:16 +0100 Source: pyocd Binary: python3-pyocd Architecture: source all Version: 0.12.0+dfsg-3 Distribution: unstable Urgency: medium Maintainer: Neil Williams <[email protected]> Changed-By: Neil Williams <[email protected]> Description: python3-pyocd - ARM Cortex-M programming tools (Python3) Closes: 911840 Changes: pyocd (0.12.0+dfsg-3) unstable; urgency=medium . * Add a temporary symlink until the next upstream release with the module renamed. (Closes: #911840) Checksums-Sha1: c19e1c856510a220376bc473c0e918c618ce2289 1983 pyocd_0.12.0+dfsg-3.dsc 6e09b0478a1ee6e09465675adf9a22f5d1a527fe 6504 pyocd_0.12.0+dfsg-3.debian.tar.xz 28e3fda0bd881adb1fe8acf443b1d6b957564363 6386 pyocd_0.12.0+dfsg-3_amd64.buildinfo 8a9045c27a6a0827c791cb43efd9dde89b023010 161080 python3-pyocd_0.12.0+dfsg-3_all.deb Checksums-Sha256: 82ca91378ae0760453a4fbabb48fb9e7ce944379b3923ca0547ebfdf8545e2e4 1983 pyocd_0.12.0+dfsg-3.dsc a35dcb0879de9a4326e9a4f9c9181a092049b9a8dffccf85ba46b3fd884ab1bd 6504 pyocd_0.12.0+dfsg-3.debian.tar.xz 0b1001024c821205a9cd857e22eabf4ca9dfdad6adec32cce5872e0e9b0927a6 6386 pyocd_0.12.0+dfsg-3_amd64.buildinfo e16416c4966f6c38c8a69a11fdac0e9622cc4647e7388f66bb59b1de2c214c16 161080 python3-pyocd_0.12.0+dfsg-3_all.deb Files: be611a7e3e8ec58e428ac244842231e8 1983 embedded optional pyocd_0.12.0+dfsg-3.dsc 424651010cb3dd937a60dc95b3a6af43 6504 embedded optional pyocd_0.12.0+dfsg-3.debian.tar.xz e26356ad68094880998ee62df82e3672 6386 embedded optional pyocd_0.12.0+dfsg-3_amd64.buildinfo 8852d4a67f462d69a629b96b969b7b79 161080 embedded optional python3-pyocd_0.12.0+dfsg-3_all.deb -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEf3HB6ceOc10DYMbM8WfkPIFDtoIFAlvR27kACgkQ8WfkPIFD toIohQ//bLyhBTrOhvjruuby5PPrLh5QI2ir9U/vPl2/QWXtife7dnWyRLPx/YHg 8MBYh51uKS8F486oizWrJRW2vNgfPsFhbpttDXFi7ucr9ZWdYabEiDqe3ZEZ9DXH nfGdihJT9fNz4TqXm13D/+5XJfjqgyghSs96+g2Gr1K9Mj7SUyTb4dkzgnQWaAYH E0D01iaqFGK8/jj3mXF9qBQsBrx+6RQ78I5Cskd8NTyr5Cv55T03XifEv2kt75Ly Q8ASAkrQW1Sr3i4ZTTXaNs9JBrRe7V5QeFpoGPle8h8uo27D18WPFPA4PaIoV9ry JxBc88M7Np+Lg1+fp2RYkmQSEmw0/JOMZPKRAgVeJ5fQdbYJA5cGzAecHduJ+MAF c2E5A6fFsyJn5ekFQD6R/K9wiMqqsUIHYny6D4WlaktjZe7RY1pyNThOn+zVSZxa LQxHQ/nVYQ68X64K27JFzwFivSCTEb7DqH27xIRIgQudDawszy2vdJETTmpUxCrO HGn4mK8SsuLpwNs1EalDGVOX77ERje50rbE4l8wBo803FiYKmqcmbgSsLSVdocSG q/Z2GZmgM3Noaxyy4bLZFc157BBSxUB78H9MomBXBZGLISo8mv7tTylmzcHNZ92a qVZqRuNbP5MJOh29iKffwXjkN8+WBo3Nx6HjTt2cXh51tUEUsHE= =UdFd -----END PGP SIGNATURE-----
--- End Message ---

