Skip to content

NameError while using IPDB #9332

Open
Open

Description

@ktho22

Hi all,

Though I;m not quite sure that this bug is caused by Ipython,
I got below error for using 'python -m ipdb script.py'

Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/dist-packages/ipdb/main.py", line 217, in
main()
File "/usr/local/lib/python2.7/dist-packages/ipdb/main.py", line 200, in main
except Restart:
NameError: global name 'Restart' is not defined

I installed ipython 4.1.2 and ipdb 0.9.0 on ubuntu 14.04.
Thank you in advance.

Activity

  1. takluyver commented on Mar 17, 2016

    @takluyver
    Member

    Sounds like an issue in ipdb.

  2. added this to the not ipython milestone on Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions