You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
download spyder 2.1.1;
sudo python setup.py install
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'
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?
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
The text was updated successfully, but these errors were encountered: