Eric S. Raymond
esr at thyrsus.com
Thu Dec 1 21:50:06 UTC 2016
Hal Murray <hmurray at megapathdsl.net>:
> This is from a day or so ago.
> [murray at second ~]$ ntpq -d 4 -nc mru
> ntpq can only work interactively on one host.
> Traceback (most recent call last):
> File "/usr/local/bin/ntpq", line 1635, in <module>
> File "/usr/local/lib/python2.7/site-packages/ntp/packet.py", line 800, in
> TypeError: expected a string or other character buffer object
Your typo. That should have been "ntpq -D 4 -nc mru" (capital d). It thought
you wanted to query a host named '4' after incrementing the debug level.
I'll teach it to fail more gracefully in this case.
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
More information about the devel