On 2/24/15 4:53 AM, Adam Taylor wrote:
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.
      Backported from https://github.com/Pylons/pyramid/pull/1577
    <https://github.com/Pylons/pyramid/pull/1577>


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')


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.

--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to