Re: TypeError when running tmda-pending

David Leangen <[email protected]>
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
Ok, you're right again. Thanks!

BTW, I added these tidbits to the wiki. Hope this helps more than hurts.


Cheers,
Dave




On Tue, 2006-10-24 at 11:27 -0600, Jason R. Mastaler wrote:
> 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).
> 
> _____________________________________________
> tmda-users mailing list ([email protected])
> http://tmda.net/lists/listinfo/tmda-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.