1 |
dpavlin |
227 |
Mumble, mumble, NO WORK. |
2 |
|
|
|
3 |
|
|
This document will try to describe debugging procedure if you changed some |
4 |
|
|
configuration and you are not getting expected results. |
5 |
|
|
|
6 |
|
|
|
7 |
|
|
1) check if all2xml.pl returned XML error |
8 |
|
|
|
9 |
|
|
If all2xml.pl called with: |
10 |
|
|
|
11 |
|
|
$ all2xml.pl >/dev/null |
12 |
|
|
|
13 |
|
|
produced output like: |
14 |
|
|
|
15 |
|
|
reading ./import_xml/isis_foo.xml |
16 |
|
|
mismatched tag at line 20, column 3, byte 545 ... |
17 |
|
|
|
18 |
|
|
you will need to examine import_xml/isis_foo.xml file which produced that error |
19 |
|
|
(which is displayed above error message). So, check line 20 and correct it. |
20 |
|
|
|
21 |
|
|
|
22 |
|
|
2) check output of all2xml.pl |
23 |
|
|
|
24 |
|
|
Create temporary file with output from all2xml.pl (which would go to swish |
25 |
|
|
when you run script run.sh) like this: |
26 |
|
|
|
27 |
|
|
$ all2xml.pl > foo |
28 |
|
|
|
29 |
|
|
2.1) if you can't search by field you just defined |
30 |
|
|
|
31 |
|
|
Examine file foo and try to locate field which you should be in it. |
32 |
|
|
It should be named like tag in import_xml file with extension _swish |
33 |
|
|
|
34 |
|
|
e.g. <library_swish> if tag in import_xml/isis_foo.xml is called |
35 |
|
|
<Library> |
36 |
|
|
|
37 |
|
|
If there isn't souch tag, your definition isn't correct (did you specify |
38 |
|
|
type="swish" or didn't specify type at all so that output will go to both |
39 |
|
|
swish and index by default?) |
40 |
|
|
|
41 |
|
|
Usual probles are: |
42 |
|
|
a) too much data in one tag (often usage of tags without type and with type="display" which will *BOTH* produce output) |
43 |
|
|
b) too little output in one tag (yor forgot to specify some fields) |
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
##FIXME## This document is not finished. |
48 |
|
|
|