/[webpac]/trunk/doc/no_work.txt
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/doc/no_work.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 227 - (hide annotations)
Sun Feb 22 23:31:00 2004 UTC (20 years, 1 month ago) by dpavlin
File MIME type: text/plain
File size: 1390 byte(s)
Beginning of documentation for debugging of changes in configuration
file. In short: what to do when WebPAC isn't behaving as you expected.

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    

Properties

Name Value
cvs2svn:cvs-rev 1.1

  ViewVC Help
Powered by ViewVC 1.1.26