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

Spyder 2.2.1 does not work with Python < 2.7 #1497

Closed
spyder-bot opened this issue Feb 17, 2015 · 4 comments
Closed

Spyder 2.2.1 does not work with Python < 2.7 #1497

spyder-bot opened this issue Feb 17, 2015 · 4 comments

Comments

@spyder-bot
Copy link
Collaborator

From lamego.p...@gmail.com on 2013-07-27T05:56:13Z

Please note that reporting bugs from Spyder's help menu ("?" > "Report
issue...") will fill version details for Spyder, Python and Qt in this description for you.

What steps will reproduce the problem?

  1. download spyder 2.1.1;
    1. sudo python setup.py install
    2. spyder What is the expected output? What do you see instead? The application should start What version of the product are you using? On what operating system? 2.2.1 on RHEL6

Please provide any additional information below

. Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/spyderlib/spyder.py", line 2098, in main
mainwindow = run_spyder(app, options, args)
File "/usr/lib/python2.6/site-packages/spyderlib/spyder.py", line 1991, in run_spyder
main = MainWindow(options)
File "/usr/lib/python2.6/site-packages/spyderlib/spyder.py", line 381, in init
title = "Spyder (Python %s.%s)" % (sys.version_info.major,
AttributeError: 'tuple' object has no attribute 'major'

The named attributes were introduced on python 2.7: http://docs.python.org/2/library/sys.html#sys.version_info I have replaced .major and .minor with [0][1] and it's working fine now.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1497

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2013-08-09T12:55:42Z

Ok, thanks a lot for the heads up! I'll fix it in our next release.

Summary: Spyder 2.2.1 does not work with Python < 2.7 (was: Spyder 2.1.1 does not work with Python < 2.7)

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2013-08-10T08:59:25Z

Breaking compatibility with Python 2.5 and 2.6 seems like a critical bug that should require a maintenance release really soon.

Status: Accepted
Owner: ccordoba12
Labels: -Priority-High Priority-Critical MS-v2.2.2

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2013-08-10T09:06:13Z

Yep, I'm preparing 2.2.2 right now (I'm almost have it finished).

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2013-08-10T09:22:29Z

This issue was updated by revision e8517907aeeb .

Status: Fixed

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