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 // protobuf #295

Open
4 of 5 tasks
scythetrigger opened this issue Oct 13, 2024 · 0 comments
Open
4 of 5 tasks

BUG // protobuf #295

scythetrigger opened this issue Oct 13, 2024 · 0 comments

Comments

@scythetrigger
Copy link

scythetrigger commented Oct 13, 2024

Bug Report

Installation Method

  1. docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main
  2. docker run -d -p 9099:9099 --add-host=host.docker.internal:host-gateway -v pipelines:/app/pipelines --name pipelines --restart always ghcr.io/open-webui/pipelines:main

Environment

ProductName: macOS
ProductVersion: 15.0.1
BuildVersion: 24A348

  • Open WebUI Version: main
  • Operating System: macOS 15.0.1 (24A348)
  • Browser: Chrome Version 129.0.6668.100 (Official Build) (x86_64)

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

The pipeline will persist and be available in the web interface when uploaded successfully via a .py file.

Actual Behavior:

The pipelines are not persisting in the web interface when uploaded successfully via a .py file.

Description

Bug Summary:
A pipeline (.py) uploaded using the web interface disappears even though a green "successfully added" message displays.

Reproduction Details

Steps to Reproduce:

  1. Install using the two provided commands in "Installation Method"
  2. Navigate to settings > pipelines and upload a pipeline using the .py method.

Logs and Screenshots

Docker Container Logs:
2024-10-12 12:56:36 Error loading module: text2sql
2024-10-12 12:56:36 Descriptors cannot be created directly.
2024-10-12 12:56:36 If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
2024-10-12 12:56:36 If you cannot immediately regenerate your protos, some other possible workarounds are:
2024-10-12 12:56:36 1. Downgrade the protobuf package to 3.20.x or lower.
2024-10-12 12:56:36 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
2024-10-12 12:56:36
2024-10-12 12:56:36 More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

Additional Information

I have been able to resolve this bug by running "pip install protobuf==3.20.*" in the pipelines container and then restarting it.

@tjbck tjbck transferred this issue from open-webui/open-webui Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant