From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <74ee0d6dde76ef599cef73ba21f1b04b@quanstro.net> From: erik quanstrom Date: Fri, 20 Feb 2009 20:49:45 -0500 To: akumar@mail.nanosouffle.net, 9fans@9fans.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] page(1) Topicbox-Message-UUID: a551d344-ead4-11e9-9d60-3106f5b1d025 On Fri Feb 20 20:29:55 EST 2009, akumar@mail.nanosouffle.net wrote: > Neither works for me. > > term% hget http://9grid.es/screens/screen1.png|page > reading through graphics... > warning: couldn't read image: readimage: read count 32400 not 64800: screen id in use > you should also try running png directly from sources. assuming that this does not work, ... it seems that here: /sys/src/libdraw/readimage.c:103 m = readn(fd, tmp, n); if(m != n){ >>> werrstr("readimage: read count %d not %d: %r", m, n); Err: if(dolock) lockdisplay(d); things are getting confused. i think it would be easier to debug if you added werrstr(""); right before the readn() and recompiled png. i can't quite see how that error message could result from reading an image. - erik