Bug 8333 - python3-debugger (pdb) does not work out of the box
Summary: python3-debugger (pdb) does not work out of the box
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 2.0
Assignee: Alejandro Hernandez
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-09-18 20:53 UTC by Alejandro Hernandez
Modified: 2015-09-23 21:28 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro Hernandez 2015-09-18 20:53:26 UTC
Python's debugger (pdb) should work out of the box when installing python3-debugger, but when trying to import it, fails with the following error:

Python 3.4.3 (default, Sep 11 2015, 17:08:27) 
[GCC 4.9.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pdb
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.4/pdb.py", line 73, in <module>
    import bdb
  File "/usr/lib/python3.4/bdb.py", line 6, in <module>
    from inspect import CO_GENERATOR
  File "/usr/lib/python3.4/inspect.py", line 35, in <module>
    import importlib.machinery
ImportError: No module named 'importlib'

It is missing dependency importlib and maybe others.