Perfect, thanks!
Yep. 'ps ax' output looks like:
PID TT STAT TIME COMMAND 83797 - R 1152:14.26 /usr/local/bin/tor -f /usr/local/etc/tor/torrc --PidFile /var/run/tor/tor.pid --RunAsDaemon 1 --DataDirectory /var/db/tor
Fixed, nyx should now provide better messages when unable to connect on FreeBSD.
https://gitweb.torproject.org/stem.git/commit/?id=c01d8c8
Yep, that's it. I commented out lines 90..98, both of the try/except blocks with os.putenv(). The error goes away and nyx seems to run fine.
Perfect. Dropped the try/catch clauses - we'll just avoid these calls on FreeBSD...