2008/5/29 Shawn Walker <[EMAIL PROTECTED]>:
> 2008/5/29  <[EMAIL PROTECTED]>:
>> Hi Shawn,
>>> Once in a while you'll see an error from the shell about resource
>>> unavailable, but no python tracebacks best I can tell.
>>
>> Somebody just filed this as 2083.  Do you know if this is related to
>> SIGPIPE or something different?  I haven't had a chance to debug this
>> yet, and the bug report lacked a fair amount of detail.
>
> I have added a proposed fix for bug 2083 to this changeset since
> interrupting the client causes this issue as well.
>
> New webrev:
> http://cr.opensolaris.org/~swalker/pkg-115-2/
>
> diff since last webrev:
> http://cr.opensolaris.org/~swalker/pkg-115-2/raw_files/pkg-115-2.patch
>
> The solution was to use os._exit() when handling a KeyboardInterrupt
> or PipeError and appears to be the result of Python's built-in
> sys.exit behaviour:
> http://docs.python.org/lib/module-exceptions.html#l2h-122

Thanks to Krister's further research last night, I know now for
certain that it was Python causing this message.

Since the new direction seems to be to file and fix this issue in
Python, and not in pkg, I will remove my workaround to suppress this
message later tonight and re-post the new webrev.

Cheers,
-- 
Shawn Walker

"To err is human -- and to blame it on a computer is even more so." -
Robert Orben
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to