Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with python 3.3 #37

Comments

@mcepl
Copy link

mcepl commented Feb 18, 2013

Trying ipdb 0.7 from PyPI and I get:

matej@wycliff: html2text (fix_tests)$ python3 -mipdb test/test_html2text.py 
Traceback (most recent call last):
  File "/usr/lib64/python3.3/runpy.py", line 140, in _run_module_as_main
    mod_name, loader, code, fname = _get_module_details(mod_name)
  File "/usr/lib64/python3.3/runpy.py", line 110, in _get_module_details
    return _get_module_details(pkg_main_name)
  File "/usr/lib64/python3.3/runpy.py", line 102, in _get_module_details
    loader = get_loader(mod_name)
  File "/usr/lib64/python3.3/pkgutil.py", line 482, in get_loader
    return find_loader(fullname)
  File "/usr/lib64/python3.3/pkgutil.py", line 499, in find_loader
    pkg = importlib.import_module(pkg_name)
  File "/usr/lib64/python3.3/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 586, in _check_name_wrapper
  File "<frozen importlib._bootstrap>", line 1023, in load_module
  File "<frozen importlib._bootstrap>", line 1004, in load_module
  File "<frozen importlib._bootstrap>", line 562, in module_for_loader_wrapper
  File "<frozen importlib._bootstrap>", line 869, in _load_module
  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
  File "/home/matej/.local/lib/python3.3/site-packages/ipdb/__init__.py", line 16, in <module>
    from ipdb.__main__ import set_trace, post_mortem, pm, run, runcall, runeval, launch_ipdb_on_exception
  File "/home/matej/.local/lib/python3.3/site-packages/ipdb/__main__.py", line 118
    print "usage: ipdb.py scriptfile [arg] ..."
                                              ^
SyntaxError: invalid syntax
@gotcha
Copy link
Owner

gotcha commented Sep 19, 2013

Hopefully fixed in 0.8.0

Lemme know

@gotcha gotcha closed this as completed Sep 19, 2013
@mcepl
Copy link
Author

mcepl commented Sep 19, 2013

Yes, it is correct now. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment