spyder don't start after upgrade ubuntu 12.04

299 views
Skip to first unread message

PAulo

unread,
May 14, 2012, 8:20:58 AM5/14/12
to spyder
After upgrading to ubuntu 12.04 I am no longer able to run spyder.
Custom install and official package do not work
This is what I have from python boostrap.py

Executing Spyder from source checkout
Revision 606db762e3e4:2045, Branch: default
01. Patched sys.path with /home/cristini/PythonPackages/spyderlib
02. PySide is detected, selecting (experimental)
03. Imported Spyder 2.2.0dev (Qt 4.8.1 via PySide 1.1.0)
0x. Enforcing parent console (Windows only)
04. Executing spyder.main()
Erreur de segmentation (core dumped)

Any idea

Thanks

Paul

Carlos Córdoba

unread,
May 14, 2012, 10:12:43 AM5/14/12
to spyd...@googlegroups.com
Hi Paulo,

Spyder doesn't work with PySide 1.1.0. Please use PyQt instead. For that
you have run

$ python bootstrap.py --gui=pyqt

if you have both PySide and PyQt installed, or just remove PySide and
install PyQt to simply use

$ python bootstrap.py

Cheers,
Carlos

El 14/05/12 07:20, PAulo escribió:

PAulo

unread,
May 14, 2012, 10:23:26 AM5/14/12
to spyder
Hi Carlos,

Thanks a lot for your answer.

For information, I upgraded PySide package to version 1.1.1 which
solved the problem but with many warning messages like
X Error: BadCursor (invalid Cursor parameter) 6
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x3
X Error: BadCursor (invalid Cursor parameter) 6
  Major opcode: 95 (X_FreeCursor)
  Resource id:  0x3

Cheers,

Paulo

anatoly techtonik

unread,
May 15, 2012, 5:42:15 AM5/15/12
to spyd...@googlegroups.com

As for X Error: BadCursor - I've tracked it down to the call of QApplication.setOverrideCursor() for example, in spyderlib.widgets.sourcecode.syntaxhighlighters.BaseSH.rehighlight(), which leads to this bug report - https://bugreports.qt-project.org/browse/PYSIDE-25
Reply all
Reply to author
Forward
0 new messages