x11/write test fails in abscence of $DISPLAY

Post any defects you find in the released or beta versions of the ImageMagick software here. The ImageMagick maintainers carefully monitor this list and will work diligently to repair any reported problems. When posting a bug report, please specify both the ImageMagick version and operating system you are using.

x11/write test fails in abscence of $DISPLAY

Postby mi » 2008-04-07T13:00:22+00:00

Quite often software is built in a batch or on a "headless" server, where DISPLAY is not defined. The self-tests should detect such situations and not fail. Unfortunately, that's not the case with 6.4.0-3:
Code: Select all
....
t/x11/read........ok                                                         
t/x11/write.......FAILED test 1                                             
        Failed 1/2 tests, 50.00% okay
t/zlib/read.......ok                                                         
t/zlib/write......ok                                                         
Failed Test   Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/x11/write.t                2    1  1
Failed 1/28 test scripts. 1/347 subtests failed.
Files=28, Tests=347, 11 wallclock secs ( 7.50 cusr +  1.45 csys =  8.95 CPU)
Failed 1/28 test programs. 1/347 subtests failed.
*** Error code 255


Please, advise. Thanks!
User avatar
mi
 
Posts: 113
Joined: 2005-01-25T14:14:43+00:00

Re: x11/write test fails in abscence of $DISPLAY

Postby magick » 2008-04-07T13:27:00+00:00

The problem you reported is fixed in ImageMagick 6.4.0-5 Beta available in subversion now or tomorrow at ftp://ftp.imagemagick.org/pub/ImageMagick/beta.
User avatar
magick
Site Admin
 
Posts: 5890
Joined: 2003-05-31T11:32:55+00:00

x11/write test hangs, when $DISPLAY is via an ssh-tunnel

Postby mi » 2008-04-07T14:21:13+00:00

Hi! When my DISPLAY is set via an ssh client (to localhost:10), x11/write brings up the "CONGRATULATIONS! You can display an image" window, but the window does not go away... Not in the 8 seconds promised, not after an hour either...

I'm not sure, whether it works properly on a local display -- probably not...

Would you, please, look into that too? Thanks!
User avatar
mi
 
Posts: 113
Joined: 2005-01-25T14:14:43+00:00

Re: x11/write test fails in abscence of $DISPLAY

Postby magick » 2008-04-07T17:54:43+00:00

The problem you reported is fixed in ImageMagick 6.4.0-5 Beta available in subversion now or tomorrow at ftp://ftp.imagemagick.org/pub/ImageMagick/beta.
User avatar
magick
Site Admin
 
Posts: 5890
Joined: 2003-05-31T11:32:55+00:00


Return to Bugs

Who is online

Users browsing this forum: Google [Bot], MSN [Bot] and 2 guests