Bug 1541605 - mypaint crashes if running under wayland (TypeError: constructor returned NULL)
Summary: mypaint crashes if running under wayland (TypeError: constructor returned NULL)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mypaint
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sergey Avseyev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-03 07:58 UTC by Joachim Backes
Modified: 2018-02-13 17:52 UTC (History)
3 users (show)

Fixed In Version: mypaint-1.2.1-10.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-13 17:52:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Joachim Backes 2018-02-03 07:58:36 UTC
Description of problem:

I'm unable to start mypaint  under a wayland desktop:

Result:
 mypaint
INFO: mypaint: Installation layout: conventional POSIX-like structure with prefix u'/usr'
INFO: mypaint: There is an old-style configuration area in u'/home/backes/.mypaint/'
INFO: mypaint: Its contents can be migrated to $XDG_CONFIG_HOME and $XDG_DATA_HOME if you wish.
INFO: mypaint: See the XDG Base Directory Specification for info.
INFO: lib.i18n: POSIX: LANG='en_US.utf8'
INFO: lib.i18n: POSIX: LANGUAGE=None
Gdk-Message: Unable to load exchange from the cursor theme
Traceback (most recent call last):
  File "/usr/bin/mypaint", line 464, in <module>
    main.main(datapath, iconspath, old_confpath, version=version)
  File "/usr/share/mypaint/gui/main.py", line 95, in main
    from gui import application
  File "/usr/share/mypaint/gui/application.py", line 54, in <module>
    import filehandling
  File "/usr/share/mypaint/gui/filehandling.py", line 31, in <module>
    import drawwindow
  File "/usr/share/mypaint/gui/drawwindow.py", line 39, in <module>
    import quickchoice
  File "/usr/share/mypaint/gui/quickchoice.py", line 25, in <module>
    import gui.colortools
  File "/usr/share/mypaint/gui/colortools.py", line 20, in <module>
    from colors.hcywheel import HCYAdjusterPage
  File "/usr/share/mypaint/gui/colors/hcywheel.py", line 379, in <module>
    class HCYMaskEditorWheel (HCYHueChromaWheel):
  File "/usr/share/mypaint/gui/colors/hcywheel.py", line 397, in HCYMaskEditorWheel
    __rotate_cursor = gdk.Cursor(gdk.EXCHANGE)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gdk.py", line 336, in __new__
    return cls.new(*args, **kwds)
TypeError: constructor returned NULL


Version-Release number of selected component (if applicable):
xpaint-2.9.10.3-4.fc24.x86_64

How reproducible:
always

Steps to Reproduce:
1.See description
2.
3.

Actual results:


Expected results:
mypaint opens GUI

Additional info:
Under gnome/Xorg Desktop, mypaint starts immediately

Comment 1 Joachim Backes 2018-02-03 08:03:25 UTC
Typo: the Installed version should be: mypaint-1.2.1-8.fc27.x86_64

Comment 2 Fedora Update System 2018-02-03 09:37:24 UTC
mypaint-1.2.1-9.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-c10be4cc31

Comment 3 Fedora Update System 2018-02-03 09:37:32 UTC
mypaint-1.2.1-9.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-c10be4cc31

Comment 4 Sergey Avseyev 2018-02-03 09:38:53 UTC
Hi Joachim, thanks for report. I've just submitted fix to bodhi, should be available in testing soon.

Comment 5 Joachim Backes 2018-02-03 10:34:00 UTC
Thanks, works as expected (installation from KOJI).

Comment 6 Fedora Update System 2018-02-04 20:17:14 UTC
mypaint-1.2.1-10.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-c10be4cc31

Comment 7 Fedora Update System 2018-02-13 17:52:14 UTC
mypaint-1.2.1-10.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.