-------- Original-Nachricht --------
> Datum: Thu, 11 Sep 2008 16:17:35 -0000
> Von: shilbert <email address hidden>
> An: <email address hidden>
> Betreff: [Bug 269028] Re: upgrade_db script does not ask for password on MS Windows and fails
> Actually the error seems to be something else. If I remove the %s ,
> %user on line 181 and provide a simple string like "Please provide your
> password" it shows a prompt in the shell.
>
> It then has the same problem on line 306 which contains a [%s] as well
> in a password prompt.
>
> For whatever it is worth.
As a fix try using two statements:
print "you may now be asked for the password of user %s" % username
getpass("blah foo:")
-------- Original-Nachricht --------
> Datum: Thu, 11 Sep 2008 16:17:35 -0000
> Von: shilbert <email address hidden>
> An: <email address hidden>
> Betreff: [Bug 269028] Re: upgrade_db script does not ask for password on MS Windows and fails
> Actually the error seems to be something else. If I remove the %s ,
> %user on line 181 and provide a simple string like "Please provide your
> password" it shows a prompt in the shell.
>
> It then has the same problem on line 306 which contains a [%s] as well
> in a password prompt.
>
> For whatever it is worth.
As a fix try using two statements:
print "you may now be asked for the password of user %s" % username
getpass("blah foo:")
Karsten www.shortview. de/wasistshortv iew.php? mc=sv_ext_ mf@gmx
--
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://