Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 621050 - dev-python/spyder-3.0.2-r1 crash at startup
Summary: dev-python/spyder-3.0.2-r1 crash at startup
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-06 15:58 UTC by Mark Knecht
Modified: 2017-06-07 21:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info for spyder (spyder.emerge.info,5.69 KB, text/plain)
2017-06-06 15:58 UTC, Mark Knecht
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Knecht 2017-06-06 15:58:28 UTC
Created attachment 475394 [details]
emerge --info for spyder

I've not used spyder before but found it looking for a way to use Python like my Matlab GUI. Installed the latest version in portage. When I try to run it it crashed:

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 ~ $
Comment 1 Jonas Stein gentoo-dev 2017-06-06 18:44:13 UTC
dev-python/spyder-3.0.2-r1 works fine here with 
Python 3.4.6 64bits, Qt 5.7.1, PyQt5 5.8.2 on Linux 

Please check your qt installation. You can get best possible support on our support channels. 
Please reopen this ticket, if you found out, that we have a broken dependency in the ebuild or similar, or close when solved.

https://www.gentoo.org/support/
Comment 2 Mark Knecht 2017-06-06 19:18:56 UTC
Stable machine here so I have older stuff:

python-3.4.5
qtcore-5.6.2-r1
PyQt4-4.12
PyQt5   --- NOT INSTALLED

If spyder requires PyQt5 the ebuild apparently didn't get it installed?

As it's a stable machine not sure about the impact of trying all these ~amd64 packages but I will investigate.
Comment 3 Mark Knecht 2017-06-07 21:50:48 UTC
Just a followup: Not able so far to get 3.0.2-r1 to work so I tried going back to 2.3.9 which works fine so I'll use that. Will remain attached to this thread in case there's some testing needed in the future.