-
Notifications
You must be signed in to change notification settings - Fork 61
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
python manage.py runserver --ipdb error #45
Comments
hey there @wangzhaohe, |
It can run into ipdb shel now after pip install ipdb=0.10 But line 67 is not the view line. How can I go to my view line? GET /?ipdb /home/swot/venv/py36dj20/lib/python3.6/site-packages/IPython/frontend.py:21: ShimWarning: The top-level
ipdb> /home/swot/venv/py36dj20/lib/python3.6/site-packages/IPython/html.py:14: ShimWarning: The ipdb> |
(py36dj20) swot@pp:~/pp/zlhopesun$ python manage.py runserver --ipdb
Performing system checks...
System check identified no issues (0 silenced).
May 06, 2018 - 02:15:34
Django version 2.0.4, using settings 'XService.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
GET /custom_login/
function "LoginView" in generic/base.py:54
args: ()
kwargs: {}
/home/swot/venv/py36dj20/lib/python3.6/site-packages/IPython/frontend.py:21: ShimWarning: The top-level
frontend
package has been deprecated since IPython 1.0. All its subpackages have been moved to the topIPython
level."All its subpackages have been moved to the top
IPython
level.", ShimWarning)Internal Server Error: /custom_login/
Traceback (most recent call last):
File "/home/swot/venv/py36dj20/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner
response = get_response(request)
File "/home/swot/venv/py36dj20/lib/python3.6/site-packages/django/core/handlers/base.py", line 119, in _get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/home/swot/venv/py36dj20/lib/python3.6/site-packages/django_pdb/middleware.py", line 83, in process_view
p = get_ipdb()
File "/home/swot/venv/py36dj20/lib/python3.6/site-packages/django_pdb/utils.py", line 15, in get_ipdb
return ipdb.main.Pdb(def_colors)
AttributeError: module 'ipdb.main' has no attribute 'Pdb'
[06/May/2018 02:19:18] "GET /custom_login/ HTTP/1.1" 500 82881
/home/swot/venv/py36dj20/lib/python3.6/site-packages/IPython/html.py:14: ShimWarning: The
IPython.html
package has been deprecated since IPython 4.0. You should import fromnotebook
instead.IPython.html.widgets
has moved toipywidgets
."
IPython.html.widgets
has moved toipywidgets
.", ShimWarning)The text was updated successfully, but these errors were encountered: