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

Argument cannot work in Spyder 2.3.4 #2433

Closed
ghost opened this issue May 10, 2015 · 3 comments
Closed

Argument cannot work in Spyder 2.3.4 #2433

ghost opened this issue May 10, 2015 · 3 comments

Comments

@ghost
Copy link

ghost commented May 10, 2015

Description

I have some problems about argument after I installed spyder 2.3.4. The argument in console cannot work when you type function or create objective.

  • What steps will reproduce the problem?

For example, if I create a function as below:

def f(x, alpha = 3, beta =2):
    return 3*x + beta
  • What is the expected output? What do you see instead?

Expected: Previously in Spyder 2.3.1, when I type f( in ipython console or editor, spyder will automatically showed argument (x, alpha =3, beta =2).

What I see now: In Spyder 2.3.4, the argument only showed ( , =, =).

  • Please provide any additional information below

I use Ubuntu 14.04. I hope the argument can work as before and showed all input.

Version and main components

  • Spyder Version: 2.3.4
  • Python Version: 3.4.3
  • Qt Version : 4.8.6, PyQt4 (API v2) 4.11.3 on Linux

Optional dependencies

pyflakes >=0.6.0: 0.8.1 (OK)
pep8 >=0.6 : 1.6.2 (OK)
IPython >=1.0 : 3.0.0 (OK)
zmq >=2.1.11 : 14.5.0 (OK)
pygments >=1.6 : 2.0.2 (OK)
pandas >=0.13.1 : 0.15.2 (OK)
sphinx >=0.6.6 : 1.2.3 (OK)
psutil >=0.3 : 2.2.1 (OK)
rope >=0.9.2 : 0.9.4-1 (OK)
jedi >=0.8.1 : 0.8.1 (OK)
matplotlib >=1.0: 1.4.3 (OK)
sympy >=0.7.3 : 0.7.6 (OK)
pylint >=0.25 : None (NOK)

@ccordoba12
Copy link
Member

I think what you're seeing is the same problem as reported in issue #2036. Could you confirm it?

@ghost
Copy link
Author

ghost commented May 12, 2015

Hi:

I also have the problems reported in Issue #2036 too.

My problem is the function argument disappeared. As you can see in the attached graph, in previous Spyder version, there should be (x, alpha) in the argument part. However, Spyder 2.3.4 only showed ( , ).

screenshot from 2015-05-11 19 14 01

screenshot from 2015-05-11 19 14 12

@ccordoba12
Copy link
Member

Yes, it's exactly the same problem. The only solution right now is to change your windows style in

Tools > Preferences > General > Qt windows style

and choosing a different option than the default one, which is GTK+


I'm closing this issue as duplicate of #2036

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

No branches or pull requests

1 participant