On Sat, 6 Oct 2012, Arthur Dent wrote:

On Sat, 2012-10-06 at 09:01 -0700, John Hardin wrote:
On Sat, 6 Oct 2012, Arthur Dent wrote:

OK - I don't know what the output means though!...
============================8<=======================================
$ pyzor -d --homedir /home/mark/.pyzor check < spam1.txt

sending: 'User: anonymous\nTime: 1349530888\nSig: 
011dffafd6c01568e1ebdc453bf9feae2bb000e9\n\nOp: check\nOp-Digest: 
6da5a18b2eda6b5db73a8747932e84436d653cd5\nThread: 31045\nPV: 2.0\n\n'
received: 'Code: 200\nDiag: OK\nPV: 2.1\nThread: 31045\nCount: 0\nWL-Count: 
0\n\n'
public.pyzor.org:24441  (200, 'OK')     0       0
============================8<=======================================

Immediately after running the above command interactively, run "echo $?"
to report the exit code it returned:

   pyzor -d --homedir /home/mark/.pyzor check < spam1.txt ; echo $?

$ pyzor -d --homedir /home/mark/.pyzor check < spam1.txt ; echo $?
sending: 'User: anonymous\nTime: 1349543386\nSig: 
c44c64b14afb3cdbf522bde672d087d8c8109101\n\nOp: check\nOp-Digest: 
6da5a18b2eda6b5db73a8747932e84436d653cd5\nThread: 25600\nPV: 2.0\n\n'
received: 'Code: 200\nDiag: OK\nPV: 2.1\nThread: 25600\nCount: 0\nWL-Count: 
0\n\n'
public.pyzor.org:24441  (200, 'OK')     0       0
1

Does that tell you anything?

I was assuming a nonzero exit code indicated an error, but Pyzor doesn't follow that convention.

The "dbg: pyzor: check failed: no response" means that for some reason the Pyzor SA plugin couldn't read the output that the pyzor program is generating. But a different error message should have been generated if that was happening.

I can add some more debugging output statements if you're willing to temporarily try some modified code.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Activist: Someone who gets involved.
  Unregistered Lobbyist: Someone who gets involved with something
    the MSM doesn't approve of.                           -- WizardPC
-----------------------------------------------------------------------
 Tomorrow: the first private ISS resupply mission (SpaceX/Dragon)

Reply via email to