Pyramid 1.5.3 from systemd traceback termios.error: (25, 'Inappropriate ioctl for device')

92 views
Skip to first unread message

Adam Taylor

unread,
Feb 24, 2015, 7:53:07 AM2/24/15
to pylons-...@googlegroups.com
The newest release of pyramid 1.5.3 introduced a problem in CentOS7 when pyramid is run from as a systemd service. This was introduced by (from 1.5.3 fixes)
- Work around an issue where ``pserve --reload`` would leave terminal echo 
  disabled if it reloaded during a pdb session. 

Following is the traceback - anyone else experiencing this problem?

Thanks,
-Adam

Traceback (most recent call last):
File "/opt/clearsky/bin/pserve", line 9, in <module> load_entry_point('pyramid==1.5.3', 'console_scripts', 'pserve')()
File "/opt/clearsky/lib/python2.7/site-packages/pyramid-1.5.3-py2.7.egg/pyramid/scripts/pserve.py", line 58, in main return command.run()
File "/opt/clearsky/lib/python2.7/site-packages/pyramid-1.5.3-py2.7.egg/pyramid/scripts/pserve.py", line 226, in run install_reloader(int(self.options.reload_interval), [app_spec])
File "/opt/clearsky/lib/python2.7/site-packages/pyramid-1.5.3-py2.7.egg/pyramid/scripts/pserve.py", line 734, in install_reloader ensure_echo_on()
File "/opt/clearsky/lib/python2.7/site-packages/pyramid-1.5.3-py2.7.egg/pyramid/scripts/pserve.py", line 720, in ensure_echo_on attr_list = termios.tcgetattr(fd)
termios.error: (25, 'Inappropriate ioctl for device')

David Glick (Glick Software)

unread,
Feb 24, 2015, 6:42:19 PM2/24/15
to pylons-...@googlegroups.com
Sorry, my fault. I just made pull requests to fix the issue:
https://github.com/Pylons/pyramid/pull/1592 (master)
https://github.com/Pylons/pyramid/pull/1593 (1.5 branch)

If you're able to check whether the proposed fix there works for you, that would be helpful.

Reply all
Reply to author
Forward
0 new messages