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

%colors magic has no effect in qtconsole 4.0.0 #38

Closed
lebedov opened this issue Aug 12, 2015 · 3 comments
Closed

%colors magic has no effect in qtconsole 4.0.0 #38

lebedov opened this issue Aug 12, 2015 · 3 comments
Milestone

Comments

@lebedov
Copy link

lebedov commented Aug 12, 2015

I have qtconsole 4.0.0 installed via pip in a conda environment with Python 2.7.10 and PyQT 4.11.3. When I try to specify a color at the command line explicitly, e.g., jupyter qtconsole --colors=linux, the console starts but I observe the following warning:

[JupyterQtConsoleApp] WARNING | Unrecognized alias: '--colors=Linux', it will probably have no effect.

The specified colors do not take effect. Attempting to set the color via the %colors magic within the running console also has no effect.

Relevant installed packages:

$ yolk -l | egrep 'ipython|qtconsole|jupyter|ipykernel'
ipykernel       - 4.0.3        - active 
ipython-genutils - 0.1.0        - active 
ipython         - 4.0.0        - active 
jupyter-client  - 4.0.0        - active 
jupyter-console - 4.0.0        - active 
jupyter-core    - 4.0.2        - active 
jupyter         - 1.0.0        - active 
qtconsole       - 4.0.0        - active 
@lebedov lebedov changed the title --colors option unrecognized with qtconsole 4.0.0 %colors magic has no effect in qtconsole 4.0.0 Aug 12, 2015
@lebedov
Copy link
Author

lebedov commented Aug 12, 2015

As per this remark, the --colors option is no longer supported (although the --style option is still available). The problem with the %colors magic still exists, though.

@takluyver
Copy link
Member

I think it does actually do something - do %colors nocolor, for instance, and then look at some help information (e.g. %colors?).

It doesn't affect the Qt console prompts, because those are rendered by the frontend, and it doesn't affect subprocesses like ls, because they choose their own colours.

@lebedov
Copy link
Author

lebedov commented Aug 13, 2015

I see - I was looking for the functionality now associated with the --style option.

@lebedov lebedov closed this as completed Aug 13, 2015
@minrk minrk added this to the no action milestone Oct 16, 2015
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