Passing a list of pending messages on STDIN to tmda-pending results in
a EOFError in the interactive mode.  It looks like the problem is
caused by the fact that tmda-pending tries to read interactive input
from STDIN, while STDIN is used to pass in a list of messages.

Perhaps it should be noted in the documentation that the "-" option
implies "-b", or some such.  Or, perhaps, the below error can be
worked around somehow, or fixed to do something sensible. ;^)

Thanks!

tea:~$ tmda-pending -V
TMDA/0.82 "Needles" (Python/2.2.2 on linux-i686)

tea:~/.tmda/pending$ grep -l membership * |tmda-pending -

1060490169.28980.msg (9 of 10 / 2915 bytes)
  >> Date: Sat, 09 Aug 2003 21:37:53 -0700
  >> From: Big Savings <[EMAIL PROTECTED]>
  >>   To: Antipode <[EMAIL PROTECTED]>
  >> Subj: Win $1O,OOO in Cash or Prizes

([p]ass / [s]how / [r]el / [d]el / [q]uit) [pass]: Traceback (most recent call last):
  File "/usr/bin/tmda-pending", line 311, in ?
    main()
  File "/usr/bin/tmda-pending", line 304, in main
    q.mainLoop()
  File "/usr/lib/python2.2/site-packages/TMDA/Pending.py", line 295, in mainLoop
    if not self.processMessage(M):
  File "/usr/lib/python2.2/site-packages/TMDA/Pending.py", line 362, in processMessage
    if not self.userInput(M):
  File "/usr/lib/python2.2/site-packages/TMDA/Pending.py", line 375, in userInput
    inp = raw_input(message % self.dispose_def)
EOFError: EOF when reading a line

-- 
Arcady Genkin

guilt is the cause of more disauders
than history's most obscene marorders (E.E. Cummings)
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to