From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <59a176d809452a5e8f0a390f71b87afd@mail.nanosouffle.net> To: 9fans@9fans.net From: Akshat Kumar Date: Mon, 23 Feb 2009 12:15:37 -0800 In-Reply-To: 32d987d50902201938l5969aa5w3d97fb323a42f8f3@mail.gmail.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-dxtydjnyruzamgxyexnhoowgbx" Subject: Re: [9fans] page(1) Topicbox-Message-UUID: a6e6365a-ead4-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-dxtydjnyruzamgxyexnhoowgbx Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit If you get to debugging it, that'd be great. For everyone else, the still useful png is in /n/sourcesdump/2009/0201/plan9/386/bin/png. Everything works fine now, thanks FGB. ak --upas-dxtydjnyruzamgxyexnhoowgbx Content-Type: message/rfc822 Content-Disposition: inline Delivered-To: akumar@mail.nanosouffle.net Received: by 10.142.253.13 with SMTP id a13cs65175wfi; Fri, 20 Feb 2009 19:40:16 -0800 (PST) Received: by 10.150.49.15 with SMTP id w15mr1403983ybw.74.1235187615998; Fri, 20 Feb 2009 19:40:15 -0800 (PST) Return-Path: <9fans-bounces+akumar=mail.nanosouffle.net@9fans.net> Received: from gouda.swtch.com (gouda.swtch.com [67.207.142.3]) by mx.google.com with ESMTP id 3si11193625gxk.105.2009.02.20.19.40.15; Fri, 20 Feb 2009 19:40:15 -0800 (PST) Received-SPF: pass (google.com: domain of 9fans-bounces+akumar=mail.nanosouffle.net@9fans.net designates 67.207.142.3 as permitted sender) client-ip=67.207.142.3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of 9fans-bounces+akumar=mail.nanosouffle.net@9fans.net designates 67.207.142.3 as permitted sender) smtp.mail=9fans-bounces+akumar=mail.nanosouffle.net@9fans.net Received: from localhost ([127.0.0.1] helo=gouda.swtch.com) by gouda.swtch.com with esmtp (Exim 4.67) (envelope-from <9fans-bounces@9fans.net>) id 1LaihF-0005yo-4C; Sat, 21 Feb 2009 03:38:33 +0000 Received: from mu-out-0910.google.com ([209.85.134.190]) by gouda.swtch.com with esmtp (Exim 4.67) (envelope-from ) id 1LaihB-0005yj-Kk for 9fans@9fans.net; Sat, 21 Feb 2009 03:38:29 +0000 Received: by mu-out-0910.google.com with SMTP id w9so919308mue.2 for <9fans@9fans.net>; Fri, 20 Feb 2009 19:38:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.11.5 with SMTP id o5mr2186429mui.75.1235187507215; Fri, 20 Feb 2009 19:38:27 -0800 (PST) In-Reply-To: <74ee0d6dde76ef599cef73ba21f1b04b@quanstro.net> References: <74ee0d6dde76ef599cef73ba21f1b04b@quanstro.net> Date: Sat, 21 Feb 2009 00:38:27 -0300 Message-ID: <32d987d50902201938l5969aa5w3d97fb323a42f8f3@mail.gmail.com> From: "Federico G. Benavento" To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] page(1) X-BeenThere: 9fans@9fans.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.9fans.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces@9fans.net Errors-To: 9fans-bounces+akumar=mail.nanosouffle.net@9fans.net hola, I haven't had the time to debug it, but readpng() changed in the last days and it doesn't work correctly anymore. I jdid yesterday -c /386/bin/png and everything went back to normal. On Fri, Feb 20, 2009 at 10:49 PM, erik quanstrom wrote: > 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 > > -- Federico G. Benavento --upas-dxtydjnyruzamgxyexnhoowgbx--