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

ipdb ignores my ipython color scheme #50

Closed
mgedmin opened this issue Feb 20, 2014 · 4 comments
Closed

ipdb ignores my ipython color scheme #50

mgedmin opened this issue Feb 20, 2014 · 4 comments

Comments

@mgedmin
Copy link

mgedmin commented Feb 20, 2014

My ~/.config/ipython/profile_default/ipython_config.py contains c.TerminalInteractiveShell.colors = 'LightBG'. ipython honors that. ipdb doesn't, and I get to enjoy text displayed in light yellow on white background in my tracebacks.

Looks like bug #1 is back?

I've got ipdb 0.8 and ipython 1.2.0.

I'm invoking ipdb by inserting import ipdb; ipdb.set_trace() in my application code.

@mgedmin
Copy link
Author

mgedmin commented Feb 20, 2014

Some more info from that particular virtualenv:

>>> import IPython
>>> IPython.__version__
'1.2.0'
>>> IPython.__version__ > '0.10.2'
True
>>> get_ipython
Traceback (most recent call last):
  File "<console>", line 1, in <module>
NameError: name 'get_ipython' is not defined
>>> from IPython.terminal.embed import InteractiveShellEmbed
>>> InteractiveShellEmbed().colors
'Linux'

@mgedmin
Copy link
Author

mgedmin commented Feb 20, 2014

I thought maybe I could short-circuit the problem for now by using

import ipdb; ipdb.def_colors = 'lightbg'; ipdb.set_trace()

however that appears to have no effect - I still see yellow on white:
ekrano nuotrauka i 2014-02-20 20 38 40

@xapple
Copy link

xapple commented Dec 19, 2014

+1 I have the same problem

@gotcha
Copy link
Owner

gotcha commented Dec 22, 2014

Should be fixed when #61 is done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants