Re: TypeError when running tmda-pending
[email protected] (Jason R. Mastaler)
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <[email protected]> |
David Leangen <[email protected]> writes: > show 1161517082.26893 > sh: which: command not found > sh: which: command not found > Traceback (most recent call last): > File "/usr/local/bin/tmda-pending", line 264, in ? > main() > File "/usr/local/bin/tmda-pending", line 257, in main > q.mainLoop() > File "./TMDA/Pending.py", line 248, in mainLoop > File "./TMDA/Pending.py", line 190, in disposeMessage > File "./TMDA/Pending.py", line 421, in pager > File "./TMDA/Util.py", line 446, in pager > TypeError: popen() argument 1 must be string, not None This means the code can't locate a 'less' or 'more' command in your path. You should define the PAGER variable in your shellrc pointing to the full path to the less command (e.g, setenv PAGER /usr/bin/less).