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

P

Petr Jakes

Traceback (innermost last):
File "<stdin>", line 1, in ?
error: (22, 'Invalid argument')

Thanks for your comments.
Petr Jakes
 
P

Petr Jakes

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
 
S

Sinan Nalkaya

Petr said:
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
have you tried it with root account ?
 
P

Petr

To provide some feedback: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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,717
Messages
2,569,382
Members
44,705
Latest member
BerniePele

Latest Threads

Top