ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: how to use function web_crawl

Open NgocKhanhC311 opened this issue 1 year ago • 1 comments

Describe your problem

I built using Docker according to your description. But when I use the function web_crawl, I get docker log:

ragflow-server | [INFO] [2024-10-19 21:14:26,679] [_internal._log] [line:97]: 172.18.0.6 - - [19/Oct/2024 21:14:26] 'POST /v1/document/web_crawl HTTP/1.1' 200 - 
ragflow-server | /bin/sh: 1: google-chrome: not found 
ragflow-server | /bin/sh: 1: google-chrome-stable: not found 
ragflow-server | /bin/sh: 1: google-chrome-beta: not found 
ragflow-server | /bin/sh: 1: google-chrome-dev: not found 
ragflow-server | /bin/sh: 1: google-chrome: not found 
ragflow-server | /bin/sh: 1: google-chrome-stable: not found 
ragflow-server | /bin/sh: 1: google-chrome-beta: not found 
ragflow-server | /bin/sh: 1: google-chrome-dev: not found.

and response

HTTP/1.1 200 OK
Server: nginx/1.24.0 (Ubuntu)
Date: Sat, 19 Oct 2024 13:14:29 GMT
Content-Type: application/json
Content-Length: 102
Connection: keep-alive
Vary: Cookie

{"data":null,"retcode":100,"retmsg":"AttributeError(\"'NoneType' object has no attribute 'split'\")"}

Help me please!!

NgocKhanhC311 avatar Oct 19 '24 13:10 NgocKhanhC311

This function is not fully developed.

KevinHuSh avatar Oct 21 '24 01:10 KevinHuSh