WYAE - FWTOOLS Mailing List Archive
| FW1r65_to_FWdoc (Version 0.8.12)
|
| From: | "Darran Boyd" |
| Date: | Tue, 6 May 2008 14:05:32 +0800
|
------=_Part_483_1885295.1210053932243
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Good day,
I've generated output of a R65 rule base using FW1r65_to_FWdoc (Version
0.8.12) on Windows.
When I attempt to pipe the output to one of the Python scripts (e.g.
C:\FW1R65~1>perl fw1r65_to_fwdoc.pl --merge_AI=rulebases_5_0.fws |
c:\python24\python c:\fw1r65~1\fwdoc_verify.py) I get the following error:
Traceback (most recent call last):
File "C:\fw1r65_to_fwdoc\fwdoc_to_txt.py", line 46, in ?
fwdoc = json.read(fwdoctxt)
File "C:\fw1r65_to_fwdoc\json.py", line 310, in read
return JsonReader().read(s)
File "C:\fw1r65_to_fwdoc\json.py", line 54, in read
result = self._read()
File "C:\fw1r65_to_fwdoc\json.py", line 63, in _read
return self._readObject()
File "C:\fw1r65_to_fwdoc\json.py", line 221, in _readObject
val = self._read()
File "C:\fw1r65_to_fwdoc\json.py", line 63, in _read
return self._readObject()
File "C:\fw1r65_to_fwdoc\json.py", line 221, in _readObject
val = self._read()
File "C:\fw1r65_to_fwdoc\json.py", line 80, in _read
raise ReadException, "Input is not valid JSON: '%s'" %
self._generator.all()
json.ReadException: Input is not valid JSON: '{
The FWDOC_VERIFY.PY script does NOT output the expected "okay" message.
Any thoughts on how I can get this working?
Many Thanks.
------=_Part_483_1885295.1210053932243
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Good day,
I've generated output of a R65 rule base using FW1r65_to_FWdoc (Version 0.8.12) on Windows.
When I attempt to pipe the output to one of the Python scripts (e.g. C:\FW1R65~1>perl fw1r65_to_fwdoc.pl --merge_AI=rulebases_5_0.fws | c:\python24\python c:\fw1r65~1\fwdoc_verify.py) I get the following error:
Traceback (most recent call last):
File "C:\fw1r65_to_fwdoc\fwdoc_to_txt.py", line 46, in ?
fwdoc = json.read(fwdoctxt)
File "C:\fw1r65_to_fwdoc\json.py", line 310, in read
return JsonReader().read(s)
File "C:\fw1r65_to_fwdoc\json.py", line 54, in read
result = self._read()
File "C:\fw1r65_to_fwdoc\json.py", line 63, in _read
return self._readObject()
File "C:\fw1r65_to_fwdoc\json.py", line 221, in _readObject
val = self._read()
File "C:\fw1r65_to_fwdoc\json.py", line 63, in _read
return self._readObject()
File "C:\fw1r65_to_fwdoc\json.py", line 221, in _readObject
val = self._read()
File "C:\fw1r65_to_fwdoc\json.py", line 80, in _read
raise ReadException, "Input is not valid JSON: '%s'" % self._generator.all()
json.ReadException: Input is not valid JSON: '{
<IT OUTPUTS THE ENTIRE CONTENTS OF THE FWDOC OUTPUT HERE>
The FWDOC_VERIFY.PY script does NOT output the expected "okay" message.
Any thoughts on how I can get this working?
Many Thanks.
------=_Part_483_1885295.1210053932243--