'module' object has no attribute 'TIOCGWINSZ'

Robert Collins robertc at robertcollins.net
Wed Sep 27 01:33:53 BST 2006

On Tue, 2006-09-19 at 16:02 -0600, Andrew McNabb wrote:
> Hey.  I'm just following orders ("** please send this report to
> bazaar-ng at lists.ubuntu.com").  Here's my traceback, after doing a "bzr
> checkout" on an IRIX 6.5 box:
> bzr: ERROR: <type 'exceptions.AttributeError'>: 'module' object has no attribute 'TIOCGWINSZ'
> ...
>     x = fcntl.ioctl(1, termios.TIOCGWINSZ, s)
> AttributeError: 'module' object has no attribute 'TIOCGWINSZ'
> bzr 0.10.0 on python 2.5.0.final.0 (irix6)
> arguments: ['/fsc/awm27/bin/bzr', 'checkout', 'sftp://provo.mcnabbs.org//repos']

Looks like TIOCGWINSZ is not always available. We should make this safe
via a three-param getattr call.

I'm filing this as a bug report.

 affects /products/bzr

GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060927/9b1bb3ac/attachment.pgp 

More information about the bazaar mailing list