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

Forum statistics

Threads
474,263
Messages
2,571,064
Members
48,769
Latest member
Clifft

Latest Threads

Top