Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-30 Thread Gary E. Miller via devel
Yo Fred! On Wed, 30 Jan 2019 13:41:27 -0800 (PST) Fred Wright via devel wrote: > On Tue, 29 Jan 2019, Gary E. Miller via devel wrote: > > On Tue, 29 Jan 2019 19:01:40 -0800 (PST) > > Fred Wright via devel wrote: > > > >>> Well, the way we use sys.stdout is warned about in the Python doc. > >>

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-30 Thread Fred Wright via devel
On Tue, 29 Jan 2019, Gary E. Miller via devel wrote: On Tue, 29 Jan 2019 19:01:40 -0800 (PST) Fred Wright via devel wrote: Well, the way we use sys.stdout is warned about in the Python doc. That is enough for me to want it aligned with the python doc. The real question is why the build pro

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-30 Thread Gary E. Miller via devel
Yo Hal! On Wed, 30 Jan 2019 12:52:13 -0800 Hal Murray wrote: > >> Also, Python 3.6.7 on FreeBSD > > Context? Is that a pass or a fail? > > Fail. Somebody was looking for a test case. Good, more data points. > It (and the previous one on NetBSD) both work from my normal script > which te

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-30 Thread Hal Murray via devel
>> Also, Python 3.6.7 on FreeBSD > Context? Is that a pass or a fail? Fail. Somebody was looking for a test case. It (and the previous one on NetBSD) both work from my normal script which tee-s the output to a log file. Both fail when ssh-ed to that box and run ./waf without the tee.

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-30 Thread Gary E. Miller via devel
Yo Hal! On Tue, 29 Jan 2019 22:13:33 -0800 Hal Murray wrote: > Gary said: > >> https://secure-web.cisco.com/... > > That is NOT the link I sent! Someone's email is messing with links! > > Why would something called "secure-web" be doing non-secure > > things??? > > It's not uncommon for m

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-30 Thread Gary E. Miller via devel
Yo Hal! On Tue, 29 Jan 2019 23:13:18 -0800 Hal Murray via devel wrote: > Also, Python 3.6.7 on FreeBSD Context? Is that a pass or a fail? RGDS GARY --- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-29 Thread Hal Murray via devel
Also, Python 3.6.7 on FreeBSD -- These are my opinions. I hate spam. ___ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-29 Thread Hal Murray via devel
> Btw, I tried to reproduce this failure with 3.5.6, 3.6.7, and 3.7.1, without > success. Do you have any tips for reproducing? Input/output redirection? > Environment variables? I can get it on NetBSD 8.0 with a simple ./waf configure build That's over ssh Python 3.7.0 (default, Sep 26 2018,

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-29 Thread Hal Murray via devel
Gary said: >> https://secure-web.cisco.com/... > That is NOT the link I sent! Someone's email is messing with links! > Why would something called "secure-web" be doing non-secure things??? It's not uncommon for malware/spam filters to do things like that. They don't touch the links unless/un

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-29 Thread Gary E. Miller via devel
Yo Matthew! On Wed, 30 Jan 2019 03:56:13 + Matthew Selsky wrote: THis is weird: > > https://secure-web.cisco.com/1zPMHyXmnA2gt7hRrEsrSfZlzlA9KP9LRUJ4l78jZyR9GyKASS4D4Dl-imylIypoW9cc27We390WVl4SPRE3J_6Z2Jsb7lGG4CG4ZpjxYVazLDCnE0eGyB3V1F4w6Mlgh40QjP2R5ujoYRdjSoZ-PQRZqpcZKZdTGaX55WaccmEL4SzVxa

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-29 Thread Matthew Selsky via devel
On Tue, Jan 29, 2019 at 07:18:20PM -0800, Gary E. Miller via devel wrote: > Yo Fred! > > On Tue, 29 Jan 2019 19:01:40 -0800 (PST) > Fred Wright via devel wrote: > > > > Well, the way we use sys.stdout is warned about in the Python doc. > > > That is enough for me to want it aligned with the pyth

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-29 Thread Gary E. Miller via devel
Yo Fred! On Tue, 29 Jan 2019 19:01:40 -0800 (PST) Fred Wright via devel wrote: > > Well, the way we use sys.stdout is warned about in the Python doc. > > That is enough for me to want it aligned with the python doc. > > The real question is why the build procedure thinks it needs to > output

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-29 Thread Fred Wright via devel
On Tue, 29 Jan 2019, Gary E. Miller via devel wrote: On Tue, 29 Jan 2019 17:11:15 -0800 Hal Murray via devel wrote: Gary said: Update: Works: 2.7, 3.7 Fails: 3.5, 3.6 It was working a week or two ago. Yup. Did we change anything? (I don't think so.) Agreed, not in that area. I hav

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-29 Thread Gary E. Miller via devel
Yo Hal! On Tue, 29 Jan 2019 17:11:15 -0800 Hal Murray via devel wrote: > Gary said: > > Update: > > Works: 2.7, 3.7 > > Fails: 3.5, 3.6 > > It was working a week or two ago. Yup. > Did we change anything? (I don't think so.) Agreed, not in that area. I have been assuming it was a local

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-29 Thread Hal Murray via devel
Gary said: > Update: > Works: 2.7, 3.7 > Fails: 3.5, 3.6 It was working a week or two ago. Did we change anything? (I don't think so.) Did something in Python change? -- These are my opinions. I hate spam. ___ devel mailing list devel@ntpsec

Re: ✘ 'AnsiTerm' object has no attribute 'buffer'

2019-01-29 Thread Gary E. Miller via devel
Yo Gary! On Tue, 29 Jan 2019 15:44:15 -0800 "Gary E. Miller via devel" wrote: > Yo All! > > > I figured out why some hosts have the below error, but not others. > > > > If Python 2.7 is the system Python, it works. If Python 3.5 or 3.6 > > is the system Python I get the below failure. > >

Re: ✘ 'AnsiTerm' object has no attribute 'buffer'

2019-01-29 Thread Gary E. Miller via devel
Yo All! > I figured out why some hosts have the below error, but not others. > > If Python 2.7 is the system Python, it works. If Python 3.5 or 3.6 is > the system Python I get the below failure. Update: Works: 2.7, 3.7 Fails: 3.5, 3.6 RGDS GARY ---

Re: ✘ 'AnsiTerm' object has no attribute 'buffer'

2019-01-29 Thread Gary E. Miller via devel
c/NTP/ntpsec/wafhelpers/bin_test.py", line 10, in > import ntp.poly File > "/usr/local/src/NTP/ntpsec/build/main/tests/pylib/ntp/poly.py", line > 108, in sys.stdout = make_std_wrapper(sys.stdout) File > "/usr/local/src/NTP/ntpsec/build/main/tests/pylib/ntp/poly.py&q

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-23 Thread Hal Murray via devel
Gary said: > That one failure is on Gentoo stable. Oddly I have many other Gentoo stable > that do not show the same problm. That's consistent with what I'm seeing. > I'm guessing it is more an environment setting than distro dependent. Could be, but I can't think of anything I've changed

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-23 Thread Gary E. Miller via devel
Yo Hal! On Wed, 23 Jan 2019 12:18:01 -0800 Hal Murray wrote: > Gary said: > > I'm getting an odd build error on one of my hosts. Ideas? > > I asked about the same quirk yesterday evening. No responses. I'm way behind on my INBOX... > What OS/Distro are you using? That one failure is on

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-23 Thread Matthew Selsky via devel
On Wed, Jan 23, 2019 at 12:23:26PM -0800, James Browning via devel wrote: >I think I remember seeing that. IIRC I was piping something somewhere. >That was back before pylib/poly.py though. Per https://docs.python.org/2/library/io.html#io.TextIOBase: buffer The underlying binary buffer (a

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-23 Thread James Browning via devel
On Wed, Jan 23, 2019, 12:18 PM Hal Murray via devel > Gary said: > > I'm getting an odd build error on one of my hosts. Ideas? > > I asked about the same quirk yesterday evening. No responses. > > What OS/Distro are you using? > > I've seen it on NetBSD and FreeBSD. I thought I had one on Linux,

Re: 'AnsiTerm' object has no attribute 'buffer'

2019-01-23 Thread Hal Murray via devel
Gary said: > I'm getting an odd build error on one of my hosts. Ideas? I asked about the same quirk yesterday evening. No responses. What OS/Distro are you using? I've seen it on NetBSD and FreeBSD. I thought I had one on Linux, but didn't have an example handy when I typed things in. -

✘ 'AnsiTerm' object has no attribute 'buffer'

2019-01-23 Thread Gary E. Miller via devel
l/src/NTP/ntpsec/wafhelpers/bin_test.py", line 10, in import ntp.poly File "/usr/local/src/NTP/ntpsec/build/main/tests/pylib/ntp/poly.py", line 108, in sys.stdout = make_std_wrapper(sys.stdout) File "/usr/local/src/NTP/ntpsec/build/main/tests/pylib/ntp/poly.

AttributeError: 'AnsiTerm' object has no attribute 'buffer'

2019-01-22 Thread Hal Murray via devel
bin_test.py", line 10, in import ntp.poly File "/home/murray/ntpsec/foo/build/main/tests/pylib/ntp/poly.py", line 111, in sys.stderr = make_std_wrapper(sys.stderr) File "/home/murray/ntpsec/foo/build/main/tests/pylib/ntp/poly.py", line 102, in make_std_