WYAE - FWTOOLS Mailing List Archive
| help with fw1r55_to_fwdoc
|
| From: | "WISNIEWSKI, DANIEL (ATTSI)" |
| Date: | Tue, 27 Feb 2007 11:13:30 -0500
|
Can somebody clue me in? I'm testing the new fwdoc and am getting
errors
#!/bin/sh
home=3D/fwbin/FWDOC
$home/fw1r55_to_fwdoc.pl --with_implicit_rules \
--merge_AI=3D$home/RTEST/rulebases.fws \
--rules=3D$home/PTEST/anet.W \
--objects=3D$home/RTEST/objects_5_0.C \
--verbose \
| $home/fwdoc_to_html.py \
| $home/fwdoc_to_tables.py \
--rules=3D$home/accessrules.txt \
--natrules=3D$home/natrules.txt \
--objects=3D$home/objects.txt \
--services=3D$home/services.txt \
--layer7=3D$home/layer7.txt \
--users=3D$home/users.txt
... It seems everything works fine ( i see all the data ) and then it
bombs at the very end and nothing is written.
...
...
..
},
"users": {=20
}
}
' due to: '{'
Traceback (most recent call last):
File "/fwbin/FWDOC/fwdoc_to_tables.py", line 88, in ?
fwdoc =3D json.read(fwdoctxt)
File "/var/local/firewall/bin/FWDOC/json.py", line 311, in read
return JsonReader().read(s)
File "/var/local/firewall/bin/FWDOC/json.py", line 55, in read
result =3D self._read()
File "/var/local/firewall/bin/FWDOC/json.py", line 62, in _read
raise ReadException, "Nothing to read: '%s'" % self._generator.all()
json.ReadException: Nothing to read: ''
I have the following in my "$home" dir.
bin
fw1r55_to_fwdoc.pl
FW1_to_FWdoc.log =20
fwdoc_to_html.py
fwdoc_to_tables.py
fwdoc_ungroup.py
fwdoc_used_objects.py
json.py
json.pyc
mkFWdoc
PTEST
RTEST
No errors in the log
Tail of log
=20
skipping.....
Reading Done.
Printing ruleset to FWdoc into STDOUT.
Done.
In Advance,
Cheers! Thanks
dan