-
Notifications
You must be signed in to change notification settings - Fork 147
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
beginner question #14
Comments
You are running |
ok, thanks very much that sounds like the problem. interestingly though, IPython itself works fine with colour coding etc in the same terminal+shell combination (Console2+git-bash)... the IPython colour-coding uses ansi escape codes I guess? I wonder if they're getting double-escaped or something... |
Le 22/11/11 17:57, anentropic a écrit :
I guess there is an issue with the way IPython interacts with your terminal. Have you tried IPython interpreter alone ? Does it work for you ? Godefroid Chapelle (aka __gotcha) http://bubblenet.be |
@gotcha... see above, ipython works fine in the terminal+shell combination I'm using (Console2+git-bash), it's only in ipdb I see the problem. |
Then I guess it is Windows related. I must say I did not test ipdb under Windows recently. I'll look at this when I find some time. |
Which versions did you use ? Python, Ipython and ipdb |
Same here. Windows 7, Python 2.6.5, ipython 0.13 ipddb 0.7 The bug only happens when a second trace is activated after the first:
press 'c' for the first and then the bug happens. |
Console2 unfortunately also breaks ipdb autocomplete. |
I do not have access to Console2. |
Note: i now use ConEmu. Works perfectly with ipdb. |
I just installed ipdb and I get weird output like this, what am I doing wrong?
I'm on Win 7, Python 2.6 running in a bash shell. IPython itself works fine though.
←[1;32m 12 ←[1;33m ←[1;32mimport←[0m ←[1;37mipdb←[0m←[1;33m;←[0m ←[1;37mipdb←[0m←[1;33m.←[0m←[1;37mset_trace←[0m←[1;33m(←[0m←[1;33m)←[0m←[1;33m←[0m←[0m ←[0m←[1;32m---> 13 ←[1;33m ←[1;37msuper←[0m←[1;33m(←[0m←[1;37mCheckoutApp←[0m←[1;33m,←[0m ←[1;37mself←[0m←[1;33m)←[0m←[1;33m.←[0m←[1;37mprepare_order←[0m←[1;33m(←[0m←[1;37mrequest←[0m←[1;33m)←[0m←[1;33m←[0m←[0m ←[0m←[1;32m 14 ←[1;33m←[1;33m←[0m←[0m ←[0m ipdb> p self.order_model <class 'satchless.order.models.Order'> ipdb> l ←[0;32m 8 ←[0m ←[1;37mcart_model←[0m ←[1;33m=←[0m ←[1;37mcart_models←[0m←[1;33m.←[0m←[1;37mCart←[0m←[1;33m←[0m←[0m ←[0;32m 9 ←[0m ←[1;37morder_model←[0m ←[1;33m=←[0m ←[1;37morder_models←[0m←[1;33m.←[0m←[1;37mOrder←[0m←[1;33m←[0m←[0m ←[0;32m 10 ←[0m←[1;33m←[0m←[0m ←[0;32m 11 ←[0m ←[1;32mdef←[0m ←[1;37mprepare_order←[0m←[1;33m(←[0m←[1;37mself←[0m←[1;33m,←[0m ←[1;37mrequest←[0m←[1;33m)←[0m←[1;33m:←[0m←[1;33m←[0m←[0m ←[0;32m 12 ←[0m ←[1;32mimport←[0m ←[1;37mipdb←[0m←[1;33m;←[0m ←[1;37mipdb←[0m←[1;33m.←[0m←[1;37mset_trace←[0m←[1;33m(←[0m←[1;33m)←[0m←[1;33m←[0m←[0m ←[1;32m---> 13 ←[1;33m ←[1;37msuper←[0m←[1;33m(←[0m←[1;37mCheckoutApp←[0m←[1;33m,←[0m ←[1;37mself←[0m←[1;33m)←[0m←[1;33m.←[0m←[1;37mprepare_order←[0m←[1;33m(←[0m←[1;37mrequest←[0m←[1;33m)←[0m←[1;33m←[0m←[0m ←[0m←[0;32m 14 ←[0m←[1;33m←[0m←[0m ←[0;32m 15 ←[0m←[1;33m←[0m←[0m ←[0;32m 16 ←[0m←[1;37mcheckout_app←[0m ←[1;33m=←[0m ←[1;37mCheckoutApp←[0m←[1;33m(←[0m←[1;33m)←[0m←[1;33m←[0m←[0m
The text was updated successfully, but these errors were encountered: