From: "Federico G. Benavento" <benavento@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] page(1)
Date: Sat, 21 Feb 2009 00:38:27 -0300 [thread overview]
Message-ID: <32d987d50902201938l5969aa5w3d97fb323a42f8f3@mail.gmail.com> (raw)
In-Reply-To: <74ee0d6dde76ef599cef73ba21f1b04b@quanstro.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 <quanstro@quanstro.net> 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
next prev parent reply other threads:[~2009-02-21 3:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-21 1:49 erik quanstrom
2009-02-21 3:38 ` Federico G. Benavento [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-02-23 20:15 Akshat Kumar
2009-02-23 20:18 ` erik quanstrom
2009-02-24 0:06 ` geoff
2009-02-21 1:40 Akshat Kumar
2009-02-21 1:28 Akshat Kumar
2009-02-21 1:03 Akshat Kumar
2009-02-21 1:09 ` erik quanstrom
2009-02-21 1:32 ` Russ Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=32d987d50902201938l5969aa5w3d97fb323a42f8f3@mail.gmail.com \
--to=benavento@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).