Hi,

This could be caused by a mismatch between qtpy (a package we created to write programs compatible with several Qt versions) and Spyder. What's your qtpy version?


Cheers,
Carlos

El 08/06/17 a las 13:29, Mark Knecht escribió:
Hi,
I found Spyder looking for a python equivalent for the Matlab GUI feature set. Spyder looks great so thanks for the work.

Two versions of Spyder are available through Gentoo portage, both marked as testing. (~amd64) Version 2.3.9 installs and runs but is VERY slow. (So slow as to be practically unusable to me, but we can talk about that in another thread if of interest.) Version 3.0.2-r1 installs fine but crashes before with the following in my terminal. I wonder if anyone spots what dependency might cause this sort of crash.

Please understand that I have VERY little python experience and am more an engineer than a programmer. I'm comfortable with using non-stable Gentoo packages if someone wants me to try something newer. Downloading latest versions of Spyder from github and building from scratch may be a bit beyond my skillset unless the instructions are very, very clear.

   3.0.2-r1 is the newest version in portage.

Thanks,
Mark

mark@c2RAID6 ~ $ spyder
Traceback (most recent call last):
   File "/usr/lib64/python3.4/site-packages/spyder/app/mainwindow.py", line 
3001, in main
     mainwindow = run_spyder(app, options, args)
   File "/usr/lib64/python3.4/site-packages/spyder/app/mainwindow.py", line 
2905, in run_spyder
     main.setup()
   File "/usr/lib64/python3.4/site-packages/spyder/app/mainwindow.py", line 
869, in setup
     self.projects = Projects(self)
   File "/usr/lib64/python3.4/site-packages/spyder/plugins/projects.py", line 
71, in __init__
     self.setup_project(self.get_active_project_path())
   File 
"/usr/lib64/python3.4/site-packages/spyder/widgets/projects/explorer.py", line 
226, in setup_project
     show_all=self.show_all)
   File "/usr/lib64/python3.4/site-packages/spyder/widgets/explorer.py", line 
195, in setup
     self.common_actions = self.setup_common_actions()
   File 
"/usr/lib64/python3.4/site-packages/spyder/widgets/projects/explorer.py", line 
55, in setup_common_actions
     self.toggle_hscrollbar(self.show_hscrollbar)
   File 
"/usr/lib64/python3.4/site-packages/spyder/widgets/projects/explorer.py", line 
70, in toggle_hscrollbar
     self.header().setResizeMode(QHeaderView.ResizeToContents)
   File "/usr/lib64/python3.4/site-packages/qtpy/_patch/qheaderview.py", line 
83, in setResizeMode
     raise Exception('setResizeMode is only available in Qt4. Use '
Exception: setResizeMode is only available in Qt4. Use setSectionResizeMode 
instead.
Segmentation fault
mark@c2RAID6 ~ $

--
You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to