[PyKDE] Re: Getpass problems with Eric3

Douglas dsa at unilestemg.br
Thu Jul 22 20:26:00 BST 2004


Thanks Detlev !

You're great !

See Ya !


Em Qui 22 Jul 2004 14:19, Detlev Offenbach escreveu:
> Am Mittwoch, 21. Juli 2004 19:19 schrieb Detlev Offenbach:
> > Am Mittwoch, 21. Juli 2004 02:55 schrieb Douglas:
> > > Hi !
> > >
> > > Im running this code on Eric3 and im getting error mensages...
> > >
> > > The code------->
> > >
> > > #!/usr/bin/env python
> > > #coding=iso-8859-1
> > >
> > > from getpass import unix_getpass
> > >
> > > host=raw_input("Server IP: ")
> > > user=raw_input("User Name: ")
> > > senha=unix_getpass("User Pass: ")
> > >
> > > ------------------< End Code
> > >
> > > It gives the error in the getpass line.
> > > When i run it in console works well, the error happens only in
> > > Eric3.
> >
> > The "problem" here is that eric3 redirects stdin and stdout to a
> > network socket in order to talk to the debug server. unix_getpass does
> > some things with the filedescriptor that are incompatible with the
> > socket. I am unsure right now, if this can be fixed, but I'll look
> > into it.
>
> The fix will be in the next snapshot.
>
> > > Thanks for any help !
> >
> > Detlev
>
> Detlev

-- 
Douglas Soares de Andrade
Gerência de Sistemas - UnilesteMG
dsa em unilestemg ponto br
--
What matter is not how you live
your life, but what you do to 
make the others life better.




More information about the PyQt mailing list