Hi.

Actually, this is two bugs. I've hunted it down with a debugger. It 
applies
to udmsearch-3.0.23 with enabled news extension.

1. sql.c:1980 and :1973 refers to the attribute msg_id of the table url.
   This field does not get created during installation. I've found no
   reference to it anywhere but in the source code. It should get 
created
   in an adapted create/*/create.txt (create-with-newsextension.txt or
   something). 

   There are missing some more attributes. These *do* trigger error
   messages, after you've added msg_id. See below.

2. The database correctly complains about this attribute, and 
UdmAddURL()
   returns an error code, but the error is ignored later. No error 
message
   is being produced, and the indexer just finishes as if it had nothing 

   to do. 

   #0  sql_query (db=0x80717e8, 
       query=0xbfef96fc "INSERT INTO url 
(url,referrer,hops,crc,last_index_
       time,next_index_time,status,msg_id) VALUES 
('http://localhost/',0,
       0,'',978363106,978363106,0,'')") at sql.c:271
   #1  0x8050758 in UdmAddURL (Indexer=0x8071538, url=0x806f018 
       "http://localhost/", referrer=0, hops=0, msg_id=0x805eb69 "") 
       at sql.c:1986
   #2  0x8058031 in UdmStoreHrefs (Indexer=0x8071538) at hrefs.c:109
   #3  0x804be61 in UdmIndexNextURL (Indexer=0x8071538, index_flags=0)
       at indexer.c:817
   #4  0x8049966 in thread_main (arg=0x0) at main.c:220
   #5  0x804a0a6 in main (argc=1, argv=0xbffffaa4) at main.c:521


Workaround: Manually add the missing attributes.

alter table url add column msg_id varchar(128);
alter table url add column header_date varchar(30);
alter table url add column header_subj varchar(80);
alter table url add column header_group varchar(80);
alter table url add column header_refs varchar(80);
alter table url add column header_from varchar(80);

bye

______________
If you want to unsubscribe send "unsubscribe udmsearch"
to [EMAIL PROTECTED]

Reply via email to