Installation fails - No platform-specific fallback for locating bindtextdomain

macports
Tags: #<Tag:0x00007fa7792ba4d0>

#1

Please fill out the topic template below so we can help you faster.

Description of the Problem, or Question?

I’m trying to install Mypaint on a new MacBook Pro and after installing Xcode, Macports, and XQuartz, I get the following problem initiating MyPaint:

ERROR: mypaint: No platform-specific fallback for locating bindtextdomain is known for ‘darwin’

(mypaint:31029): Gdk-CRITICAL **: 12:07:03.684: gdk_cursor_new_for_display: assertion ‘GDK_IS_DISPLAY (display)’ failed

I’m not quite sure how to solve this. Any advice would be appreciated!

Basic System Details

My laptop runs on macOS Sierra version 10.13.5

MyPaint version:

version 1.3.0-alpha.20160514+git.1fc6f4cc.

Found under Help --> About MyPaint

Operating System + Version:

macOS Sierra version 10.13.5

Please include Desktop Environment if on Linux

Make and Model # of Graphic Tablet:

Please Tell Us How to Reproduce the Problem in Steps.

Install Xcode, Macports, XQuartz, MyPaint, then try to initiate MyPaint.

Are there any Errors Popping Up? If so, paste the text in the area shown below.

WARNING: mypaint: No bindtextdomain builtins found in module 'locale'.
INFO: mypaint: Trying platform-specific fallback hacks to find bindtextdomain funcs.
ERROR: mypaint: No platform-specific fallback for locating bindtextdomain is known for 'darwin'
(mypaint:636): Gdk-CRITICAL **: 19:38:16.352: gdk_cursor_new_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
Traceback (most recent call last):
  File "/opt/local/bin/mypaint", line 464, in <module>
    main.main(datapath, iconspath, old_confpath, version=version)
  File "/opt/local/share/mypaint/gui/main.py", line 95, in main
    from gui import application
  File "/opt/local/share/mypaint/gui/application.py", line 53, in <module>
    import gui.device
  File "/opt/local/share/mypaint/gui/device.py", line 25, in <module>
    import gui.mode
  File "/opt/local/share/mypaint/gui/mode.py", line 817, in <module>
    class SingleClickMode (InteractionMode):
  File "/opt/local/share/mypaint/gui/mode.py", line 822, in SingleClickMode
    cursor = Gdk.Cursor.new(Gdk.CursorType.BOGOSITY)
TypeError: constructor returned NULL

For our guidelines to create a great user support ticket, please visit this wiki page at https://github.com/mypaint/mypaint/wiki/Reporting-Bugs#reporting-guidelines


#2

I managed to compile it on Sierra a while ago, with both Homebrew and Macports. Please see my notes here:

It’s not easy and I’m not sure if things have changed with High Sierra. Also, I wasn’t able to get pressure working, but I was using a virtual machine so maybe that’s part of it. Please let us know if you have any success!


#3

Many thanks for these notes! I’ll work on it and send a summary if/when I get things straight.