I can compile , but I can't run
I attach my problem in tetail
maybe you can help me^_^

thankx

kayjean
[EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Alexander F. Avdonkin
Sent: Friday, March 16, 2001 5:31 PM
To: [EMAIL PROTECTED]
Subject: Re: [aseek-users] compress2


compress2 is function of "zlib" (compression library).
Can you tell the problem in details, aren't you able to compile or to run
ASPseek ?

Alexander.

----- Original Message -----
From: "kayjean" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 16, 2001 5:20 PM
Subject: [aseek-users] compress2


> Hi Alexander
>
> I try to run aspseek. But there is still have a problem in database.cpp.
> I found you use a function compress2(XX) in database.cpp.
> Can you tell me how ocmpress2 work?
>
> thankx
>
> kayjean
> [EMAIL PROTECTED]
Sorry this is the first I try to join the mail-list.
I don't know how to make a detail report.

1. I try to index www.aspseek.com
2. I use aspseek-1.0.4 and gdb debug environment and my OS is linux 7.0 mysql is 
3.23.32
3. I live in taiwan, so my mysql is big5 environment.

4. step
step 1 Adding URL: http://www.aspseek.com/robots.txt

step 2 in database.cpp line 1416
(gdb) print query
$1 = 0xbfff74e0 "INSERT INTO urlwords01(url_id, wordcount, totalcount, docsize,
lang, content_type, charset, words, hrefs, title, txt, keywords, description) VA
LUES(1, 56, 75, 5596, 'en', 'text/html','"

step 3 in database.cpp line 1419
(gdb) print query
$3 = 0xbfff74e0 "INSERT INTO urlwords01(url_id, wordcount, totalcount, docsize,
lang, content_type, charset, words, hrefs, title, txt, keywords, description) VA
LUES(1, 56, 75, 5596, 'en', 'text/html','','�\025"

>> I think something wrong with compressed

step 4 in database.cpp line 1432
(gdb) print query
$5 = 0xbfff74e0 "INSERT INTO urlwords01(url_id, wordcount, totalcount, docsize,
lang, content_type, charset, words, hrefs, title, txt, keywords, description) VA
LUES(1, 56, 75, 5596, 'en', 'text/html','','�\025"

>> because query is not ok, so 
Error: You have an error in your SQL syntax near '�x���7�sl#1�M��4Y�
�F�m�Dd�a$e<�|T�[�Y���٥+(nh�y�ɼ����@' at line 1                   �X�R�C�&7�u

>> the compressed is
(gdb) print compressed
$6 = (
    BYTE *) 0x8716fe8 "x\234�X[o�6\024~\236\177\005�a�\006�V\034'i\222Z\032��]/I
\0214\006\212>\r\224D[l$Q#i�\031��w\016IY��8nQ=آD\236��/�\214\236�21�\025'\231)
rR��\\$\204�\202���2\b^M^\2217\223�+r�? \023�J-\214\220%�\203`�\201F\235�\b\217E
�\214�4�\214b�\201\220��\220f�T�A�\\.�LW\232�~\"\213"


>> the content->m_content is
(gdb) print content->m_content
$7 = 0x4028c0db "\n<!doctype html public \"-//W3C//DTD HTML 4.0 Transitional//EN
\">\n\n<html><head>\n<base href=\"http://www.aspseek.com/\">\n<title>ASPseek: Se
arch through Application Service Providers</title>\n\n<META name=\"De"...

can you help me ??

Reply via email to