import error on gnome wayland

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Lesmana
Posts: 3
Joined: 2016-10-28T13:13:53-07:00
Authentication code: 1151

import error on gnome wayland

Post by Lesmana »

I use this command to take a screenshot:

Code: Select all

$ import -window root foo.png
It used to work fine until i updated my arch linux installation to gnome 3.22. gnome 3.22 uses wayland by default.

Since gnome 3.22 the command produces following error message:

Code: Select all

$ import -window root foo.png
import: unable to read X window image `root': Resource temporarily unavailable @ error/xwindow.c/XImportImage/4983.
import: missing an image filename `foo.png' @ error/import.c/ImportImageCommand/1287.
Please confirm whether this is a problem with wayland or just a problem on my system.

Please tell me what more information do you need.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: import error on gnome wayland

Post by fmw42 »

How about your IM version and platform?
Lesmana
Posts: 3
Joined: 2016-10-28T13:13:53-07:00
Authentication code: 1151

Re: import error on gnome wayland

Post by Lesmana »

Code: Select all

$ import --version
Version: ImageMagick 6.9.6-2 Q16 x86_64 2016-10-13 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenCL OpenMP 
Delegates (built-in): bzlib cairo fontconfig freetype gslib jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png ps rsvg tiff webp wmf x xml zlib

Code: Select all

$ uname -a
Linux lestop 4.8.4-1-ARCH #1 SMP PREEMPT Sat Oct 22 18:26:57 CEST 2016 x86_64 GNU/Linux

Code: Select all

$ gnome-shell --version
GNOME Shell 3.22.1
Lesmana
Posts: 3
Joined: 2016-10-28T13:13:53-07:00
Authentication code: 1151

Re: import error on gnome wayland

Post by Lesmana »

this "bug" is shared with other screenshot tools like scrot and maim.

please follow my (mis)adventures with the screenshot tools in this arch linux forum thread: https://bbs.archlinux.org/viewtopic.php?pid=1662309
Post Reply