but there are others functions, as https://openwebui.com/f/caplescrest/auto_memory/ with "from open_webui.apps.webui..." import in it which also generates errors (I haven't debugged the solution yet)
...
Originally created by @rgaricano on GitHub (Jan 11, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8479
# Bug Report
Error when importing/copying "olds" functions (from openwebui.com community plugins)
## Installation Method
git clone
## Environment
- **Open WebUI Version:** [v0.5.4]
- **Ollama (if applicable):** [v0.5.4]
- **Operating System:** [Ubuntu 24.04]
- **Browser (if applicable):** [Chromium]
## Expected Behavior:
Import/create function correctly or give and advise of incompatiblily with actual version.
## Actual Behavior:
It raise an error: [ERROR: No module named 'open_webui.apps']
## Description
**Bug Summary:**
Error uploading, creating (coping) some functions from openwebui community plugins page
Which functions with old "apps" import involved it raise an error: "[ERROR: No module named 'open_webui.apps']"
It seems to be a remnant of the restructuring of the openwebui file system and its adaptation (replace old.new) from
[["from apps": "from open_webui.apps",](https://github.com/open-webui/open-webui/blob/4269df041fef62208d59babe0faae866d2bfbc3c/backend/open_webui/utils/plugin.py#L60)](https://github.com/open-webui/open-webui/blob/4269df041fef62208d59babe0faae866d2bfbc3c/backend/open_webui/utils/plugin.py#L60)
I solved adding an aditional line to plugin.py
59 "from utils": "from open_webui.utils",
"from apps.webui": "from open_webui",
60 "from apps": "from open_webui.apps",
but there are others functions, as https://openwebui.com/f/caplescrest/auto_memory/ with "from open_webui.apps.webui..." import in it which also generates errors (I haven't debugged the solution yet)
...
## Reproduction Details
**Steps to Reproduce:**
importing functions with apps.webui import on its, e.g. autotools (https://openwebui.com/f/mhwhgm/auto_tool_v2/ )
## Additional Information
## Note
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @rgaricano on GitHub (Jan 11, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8479
Bug Report
Error when importing/copying "olds" functions (from openwebui.com community plugins)
Installation Method
git clone
Environment
Open WebUI Version: [v0.5.4]
Ollama (if applicable): [v0.5.4]
Operating System: [Ubuntu 24.04]
Browser (if applicable): [Chromium]
Expected Behavior:
Import/create function correctly or give and advise of incompatiblily with actual version.
Actual Behavior:
It raise an error: [ERROR: No module named 'open_webui.apps']
Description
Bug Summary:
Error uploading, creating (coping) some functions from openwebui community plugins page
Which functions with old "apps" import involved it raise an error: "[ERROR: No module named 'open_webui.apps']"
It seems to be a remnant of the restructuring of the openwebui file system and its adaptation (replace old.new) from
["from apps": "from open_webui.apps",](https://github.com/open-webui/open-webui/blob/4269df041fef62208d59babe0faae866d2bfbc3c/backend/open_webui/utils/plugin.py#L60)
I solved adding an aditional line to plugin.py
59 "from utils": "from open_webui.utils",
"from apps.webui": "from open_webui",
60 "from apps": "from open_webui.apps",
but there are others functions, as https://openwebui.com/f/caplescrest/auto_memory/ with "from open_webui.apps.webui..." import in it which also generates errors (I haven't debugged the solution yet)
...
Reproduction Details
Steps to Reproduce:
importing functions with apps.webui import on its, e.g. autotools (https://openwebui.com/f/mhwhgm/auto_tool_v2/ )
Additional Information
Note