WYAE - FWTOOLS Mailing List Archive


Re: [fwtools] fwdoc_to_* filter problems
From:Volker Tanger
Date: Thu, 21 Jun 2007 23:07:06 +0200

Greetings!

On Fri, 15 Jun 2007 12:45:03 -0400
dan wisniewski  wrote:
> 
> I think Volker is just having a great ol' time messing with us
> all.... He knows we'll try anything he writes
>  :)

Au contraire, mon ami...   ;-)

I just have the problem that I currently have no access to an NG
platform - and I until now only very few (one, if you start counting)
sent me a .fwdoc file for inspection - thus error hunting is quite
difficult for me (without the error-inducing files) as my crystal ball
refuses to work on bits as it does lottery numbers. 

The "new" 0.8.6 version of FW1R55-to-FWdoc features the "--anonymize"
option to anonymize the output for exactly that reason.

Currently the main confusion stems from the fact that the error
messages from the JSON reading routines leave quite a bit to be
desired. I think I will have to replace the JSON library in the long
run with a more comfortable one - or even write an own one.


> Javi wrote:
> > json.ReadException: Not a valid JSON array: '{

The very last line of the error message stack usually is the interesting
one. Here seems to be a syntax error within the JSON (.fwdoc) file,
probably a missing "]" or a missing comma. Maybe you can send me the
(anonymized) .fwdoc ?


Thanks!

Volker

-- 

Volker Tanger    http://www.wyae.de/volker.tanger/
--------------------------------------------------
volker.tanger@wyae.de              PGP Fingerprint
378A 7DA7 4F20 C2F3 5BCC  8340 7424 6122 BB83 B8CB