From: "Federico G. Benavento" <benavento@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Plan 9 hg with private repositories
Date: Fri, 21 May 2010 03:10:25 -0300 [thread overview]
Message-ID: <AANLkTimcZnpmOXs8u7ivyamKY32NAfqqkmOGMzXuI1iC@mail.gmail.com> (raw)
In-Reply-To: <AANLkTiljMgjhP3FMR2pzaxFmwfwH1NCuLAa7aAihrDSq@mail.gmail.com>
I gave you the work around 2 months ago...
the python code is broken, their default doesn't default...
echo 'getpass = default_getpass' >> /sys/lib/python/getpass.py
> Ow, that hurt, did it not?
>
> Basically, it found getpass, did not find termios, then went looking
> for some MS VC runtime. Yuck.
>
> The code (getpass.py):
> # Bind the name getpass to the appropriate function
> try:
> import termios
> # it's possible there is an incompatible termios from the
> # McMillan Installer, make sure we have a UNIX-compatible termios
> termios.tcgetattr, termios.tcsetattr
> except (ImportError, AttributeError):
> try:
> import msvcrt
> except ImportError:
> try:
> from EasyDialogs import AskPassword
> except ImportError:
> getpass = default_getpass
> else:
> getpass = AskPassword
> else:
> getpass = win_getpass
> else:
> getpass = unix_getpass
>
> Wow, that hurt too.
>
> So, it's trying to get a password, as it is an https import, so it
> pulls in getpass, which pulls in termios, and it's failing, and the
> only reasonable thing to do when you can't find a unix package is to
> try to use an MS VC runtime package and, when that fails, bail out
> with one of the worst error messages one can imagine.
>
> Wow, GRRoss.
>
> Anyway, that is why you get that utterly useless error message:
> because you're not unix. It just tells you that the error is that you
> are not windows. Clear?
>
> ron
>
>
--
Federico G. Benavento
next prev parent reply other threads:[~2010-05-21 6:10 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-11 16:37 John Floren
2009-08-11 17:52 ` Russ Cox
2009-08-11 18:03 ` John Floren
2009-08-11 18:21 ` Jeff Sickel
2009-08-11 21:13 ` John Floren
2009-08-13 9:13 ` Bela Valek
2009-08-13 9:47 ` Ethan Grammatikidis
2009-08-13 14:53 ` David Leimbach
2009-08-13 15:13 ` Devon H. O'Dell
2009-08-13 15:31 ` Russ Cox
2009-08-13 17:45 ` Daniel Lyons
2009-08-13 18:00 ` erik quanstrom
2009-08-13 10:11 ` Adrian Tritschler
2009-08-15 12:38 ` Steve Simon
2009-08-11 18:19 ` John Floren
2010-05-21 5:08 ` ron minnich
2010-05-21 5:15 ` erik quanstrom
2010-05-21 6:10 ` Federico G. Benavento [this message]
2010-05-21 14:31 ` ron minnich
2010-05-21 12:33 ` John Floren
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=AANLkTimcZnpmOXs8u7ivyamKY32NAfqqkmOGMzXuI1iC@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).