Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

PySide6 on Linux: segfault in test_colormap_editor.py #21

Copy link
Copy link
Closed
@PierreRaybaut

Description

@PierreRaybaut
Issue body actions

This is due to the implementation of the external module sliders.

In _GenericSlider and _GenericRangeSlider, the QAbstractSlider signals valueChanged, sliderMoved and rangeChanged are overriden by instance attributes of thoses classes. This is apparently tolerated by PyQt5 but absolutely not by PySide6 and leads to a segmentation fault.

():~/PlotPy$ python plotpy/tests/features/test_colormap_editor.py
Initialization of a default colormap editor widget
Initialization of a new colormap editor with the previous colormap:  ((0.0, '#0000ff'), (0.5, '#ff0000'), (1.0, '#ffff00'))
((0.0, '#0000ff'), (0.5, '#ff0000'), (1.0, '#ffff00'))
Initialization of a new default colormap editor, modified post-initialization with the previous colormap:  ((0.0, '#0000ff'), (0.5, '#ff0000'), (1.0, '#ffff00'))
Initialization of a new default colormap editor, modified post-initialization with the previous colormap with stops scaled by 255 + 1:  ((1, '#0000ff'), (128, '#ff0000'), (256, '#ffff00'))
Initialization of a new default colormap editor, modified post-initialization with the previous colormap where the red stop is replaced with a green stop:  ((1, '#0000ff'), (128, '#ff0000'), (256, '#ffff00'))
Segmentation fault

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.