termios.tcgetattr(fd) error: (22, 'Invalid argument')

Petr petr at tpc.cz
Mon Nov 21 07:28:44 EST 2005


>>To provide  some feedback:
>>As Grant Edwards  posted in this list, I was running my code inside of
>>IDE that replaces sys.stdin with some other. While running the program
>>from a shell prompt, everything goes fine. 
>>Petr Jakes
>>
>>  
>>
SN> have you tried it with root account ?
Yes, I did. The problem was the IDE. Without IDE the filedescriptor
and its flags settings are working flawlessly.




More information about the Python-list mailing list