mirror of
https://github.com/open-webui/pipelines.git
synced 2026-07-21 18:15:39 -04:00
BUG // protobuf #139
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nfparham on GitHub (Oct 13, 2024).
Bug Report
Installation Method
Environment
ProductName: macOS
ProductVersion: 15.0.1
BuildVersion: 24A348
Confirmation:
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:
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.