Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Pull the latest version of ragflow and start error #4477

Closed
1 task done
lizheng419 opened this issue Jan 14, 2025 · 3 comments · Fixed by #4497
Closed
1 task done

[Bug]: Pull the latest version of ragflow and start error #4477

lizheng419 opened this issue Jan 14, 2025 · 3 comments · Fixed by #4497
Assignees
Labels
bug Something isn't working

Comments

@lizheng419
Copy link
Contributor

Is there an existing issue for the same bug?

  • I have checked the existing issues.

RAGFlow workspace code commit ID

latest

RAGFlow image version

latest

Other environment information

No response

Actual behavior

git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
docker build --build-arg LIGHTEN=1 --build-arg NEED_MIRROR=1 -f Dockerfile -t infiniflow/ragflow:nightly-slim .
docker compose -f docker/docker-compose.yml up -d

Traceback (most recent call last):
File "/ragflow/rag/svr/task_executor.py", line 47, in
from api.db.services.dialog_service import keyword_extraction, question_proposal, content_tagging
File "/ragflow/api/db/services/init.py", line 18, in
from .user_service import UserService as UserService
File "/ragflow/api/db/services/user_service.py", line 22, in
from api.db.db_models import DB, UserTenant
File "/ragflow/api/db/db_models.py", line 35, in
from api import settings
File "/ragflow/api/settings.py", line 19, in
import rag.utils.es_conn
File "/ragflow/rag/utils/es_conn.py", line 15, in
import polars as pl
File "/ragflow/.venv/lib/python3.10/site-packages/polars/init.py", line 21, in
from polars import api, exceptions, plugins, selectors
File "/ragflow/.venv/lib/python3.10/site-packages/polars/api.py", line 6, in
import polars._reexport as pl
File "/ragflow/.venv/lib/python3.10/site-packages/polars/_reexport.py", line 5, in
from polars.lazyframe import LazyFrame
File "/ragflow/.venv/lib/python3.10/site-packages/polars/lazyframe/init.py", line 2, in
from polars.lazyframe.frame import LazyFrame
File "/ragflow/.venv/lib/python3.10/site-packages/polars/lazyframe/frame.py", line 50, in
from polars.datatypes import (
ImportError: cannot import name 'Int128' from 'polars.datatypes' (/ragflow/.venv/lib/python3.10/site-packages/polars/datatypes/init.py)
2025-01-14 15:28:22,161 INFO 2596 ragflow_server log path: /ragflow/logs/ragflow_server.log, log levels: {'peewee': 'WARNING', 'pdfminer': 'WARNING', 'root': 'INFO'}

Expected behavior

No response

Steps to reproduce

git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
docker build --build-arg LIGHTEN=1 --build-arg NEED_MIRROR=1 -f Dockerfile -t infiniflow/ragflow:nightly-slim .

docker compose -f docker/docker-compose.yml up -d

Additional information

No response

@lizheng419 lizheng419 added the bug Something isn't working label Jan 14, 2025
@JinHai-CN
Copy link
Contributor

@yuzhichang This issue is raised after the UV PR.

@yuzhichang
Copy link
Member

yuzhichang commented Jan 15, 2025

@lizheng419 I cannot reproduce. What's RAGFlow workspace code commit ID? Did you change RAGFLOW_IMAGE in docker/.env to use infiniflow/ragflow:nightly-slim?

@lizheng419
Copy link
Contributor Author

@lizheng419 I cannot reproduce. What's RAGFlow workspace code commit ID? Did you change RAGFLOW_IMAGE in docker/.env to use infiniflow/ragflow:nightly-slim?

Yes, I use infiniflow/ragflow:nightly-slim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants