Originally created by @ntrouve-onera on GitHub (Jun 5, 2024).
Bug Report
Description
I struggle to go through the 'npm run build' part of the manual installation process because micropip from pyodide fail to download the necessary packages.
I'm behind a proxy that is properly set up through bashrc and export through my terminal.
All other internet accessing/downloading operations worked (pip, git, npm i).
Here is a cropped error message (the middle of the error message is unreadable).
Setting up pyodide + micropip
Loading micropip, packaging
Loaded micropip, packaging
Downloading Pyodide packages: [
'requests',
'beautifulsoup4',
'numpy',
'pandas',
'matplotlib',
'scikit-learn',
'scipy',
'regex',
'seaborn'
]
/home/ntrouve/install/open-webui/node_modules/pyodide/pyodide.asm.js:9
[..... cropping here because there are 8 pages of unreadable content]
PythonError: Traceback (most recent call last):
File "/lib/python3.12/site-packages/micropip/_commands/install.py", line 142, in install
await transaction.gather_requirements(requirements)
File "/lib/python3.12/site-packages/micropip/transaction.py", line 55, in gather_requirements
await asyncio.gather(*requirement_promises)
File "/lib/python3.12/site-packages/micropip/transaction.py", line 62, in add_requirement
return await self.add_requirement_inner(Requirement(req))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.12/site-packages/micropip/transaction.py", line 151, in add_requirement_inner
await self._add_requirement_from_package_index(req)
File "/lib/python3.12/site-packages/micropip/transaction.py", line 186, in _add_requirement_from_package_index
metadata = await package_index.query_package(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.12/site-packages/micropip/package_index.py", line 286, in query_package
raise ValueError(
ValueError: Can't fetch metadata for 'seaborn'. Please make sure you have entered a correct package name and correctly specified index_urls (if you changed them).
at new_error (/home/ntrouve/install/open-webui/node_modules/pyodide/pyodide.asm.js:9:10022)
at wasm://wasm/0266153e:wasm-function[302]:0x16c69d
at wasm://wasm/0266153e:wasm-function[458]:0x174406
at _PyEM_TrampolineCall_JS (/home/ntrouve/install/open-webui/node_modules/pyodide/pyodide.asm.js:9:122442)
at wasm://wasm/0266153e:wasm-function[1102]:0x1bf978
at wasm://wasm/0266153e:wasm-function[3572]:0x2c206c
at wasm://wasm/0266153e:wasm-function[2135]:0x207214
at wasm://wasm/0266153e:wasm-function[1110]:0x1c005a
at wasm://wasm/0266153e:wasm-function[1113]:0x1c0369
at wasm://wasm/0266153e:wasm-function[1114]:0x1c03e7
at wasm://wasm/0266153e:wasm-function[3378]:0x29acb8
at wasm://wasm/0266153e:wasm-function[3379]:0x2a141d
at wasm://wasm/0266153e:wasm-function[1116]:0x1c0527
at wasm://wasm/0266153e:wasm-function[1111]:0x1c0190
at wasm://wasm/0266153e:wasm-function[445]:0x173a91
at Module.callPyObjectKwargs (/home/ntrouve/install/open-webui/node_modules/pyodide/pyodide.asm.js:9:64654)
at Module.callPyObjectMaybeSuspending (/home/ntrouve/install/open-webui/node_modules/pyodide/pyodide.asm.js:9:65885)
at Immediate.wrapper (/home/ntrouve/install/open-webui/node_modules/pyodide/pyodide.asm.js:9:33024)
at process.processImmediate (node:internal/timers:476:21) {
type: 'ValueError',
__error_address: 22142800
}
Node.js v18.19.1`
Steps to Reproduce:
Run manual installation process up to "npm run build" instruction.
Expected Behavior:
Pyodide install its necessary packages and frontend is built
Actual Behavior:
Pyodide fail to install the packages
Environment
Open WebUI Version: v0.2.4
Ollama (if applicable): v0.1.41
**Operating System:**Ubuntu 20.04
Browser (if applicable): Not there yet
Reproduction Details
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.
Logs and Screenshots
Installation Method
Manual installation
Additional Information
I'm behind a company proxy, ollama works fine in a terminal
Originally created by @ntrouve-onera on GitHub (Jun 5, 2024).
# Bug Report
## Description
I struggle to go through the 'npm run build' part of the manual installation process because micropip from pyodide fail to download the necessary packages.
I'm behind a proxy that is properly set up through bashrc and export through my terminal.
All other internet accessing/downloading operations worked (pip, git, npm i).
Here is a cropped error message (the middle of the error message is unreadable).
`" open-webui@0.2.4 build
> npm run pyodide:fetch && vite build
> open-webui@0.2.4 pyodide:fetch
> node scripts/prepare-pyodide.js
Setting up pyodide + micropip
Loading micropip, packaging
Loaded micropip, packaging
Downloading Pyodide packages: [
'requests',
'beautifulsoup4',
'numpy',
'pandas',
'matplotlib',
'scikit-learn',
'scipy',
'regex',
'seaborn'
]
/home/ntrouve/install/open-webui/node_modules/pyodide/pyodide.asm.js:9
[..... cropping here because there are 8 pages of unreadable content]
PythonError: Traceback (most recent call last):
File "/lib/python3.12/site-packages/micropip/_commands/install.py", line 142, in install
await transaction.gather_requirements(requirements)
File "/lib/python3.12/site-packages/micropip/transaction.py", line 55, in gather_requirements
await asyncio.gather(*requirement_promises)
File "/lib/python3.12/site-packages/micropip/transaction.py", line 62, in add_requirement
return await self.add_requirement_inner(Requirement(req))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.12/site-packages/micropip/transaction.py", line 151, in add_requirement_inner
await self._add_requirement_from_package_index(req)
File "/lib/python3.12/site-packages/micropip/transaction.py", line 186, in _add_requirement_from_package_index
metadata = await package_index.query_package(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.12/site-packages/micropip/package_index.py", line 286, in query_package
raise ValueError(
ValueError: Can't fetch metadata for 'seaborn'. Please make sure you have entered a correct package name and correctly specified index_urls (if you changed them).
at new_error (/home/ntrouve/install/open-webui/node_modules/pyodide/pyodide.asm.js:9:10022)
at wasm://wasm/0266153e:wasm-function[302]:0x16c69d
at wasm://wasm/0266153e:wasm-function[458]:0x174406
at _PyEM_TrampolineCall_JS (/home/ntrouve/install/open-webui/node_modules/pyodide/pyodide.asm.js:9:122442)
at wasm://wasm/0266153e:wasm-function[1102]:0x1bf978
at wasm://wasm/0266153e:wasm-function[3572]:0x2c206c
at wasm://wasm/0266153e:wasm-function[2135]:0x207214
at wasm://wasm/0266153e:wasm-function[1110]:0x1c005a
at wasm://wasm/0266153e:wasm-function[1113]:0x1c0369
at wasm://wasm/0266153e:wasm-function[1114]:0x1c03e7
at wasm://wasm/0266153e:wasm-function[3378]:0x29acb8
at wasm://wasm/0266153e:wasm-function[3379]:0x2a141d
at wasm://wasm/0266153e:wasm-function[1116]:0x1c0527
at wasm://wasm/0266153e:wasm-function[1111]:0x1c0190
at wasm://wasm/0266153e:wasm-function[445]:0x173a91
at Module.callPyObjectKwargs (/home/ntrouve/install/open-webui/node_modules/pyodide/pyodide.asm.js:9:64654)
at Module.callPyObjectMaybeSuspending (/home/ntrouve/install/open-webui/node_modules/pyodide/pyodide.asm.js:9:65885)
at Immediate.wrapper (/home/ntrouve/install/open-webui/node_modules/pyodide/pyodide.asm.js:9:33024)
at process.processImmediate (node:internal/timers:476:21) {
type: 'ValueError',
__error_address: 22142800
}
Node.js v18.19.1`
**Steps to Reproduce:**
Run manual installation process up to "npm run build" instruction.
**Expected Behavior:**
Pyodide install its necessary packages and frontend is built
**Actual Behavior:**
Pyodide fail to install the packages
## Environment
- **Open WebUI Version:** v0.2.4
- **Ollama (if applicable):** v0.1.41
- **Operating System:**Ubuntu 20.04
- **Browser (if applicable):** Not there yet
## Reproduction Details
**Confirmation:**
- [x] I have read and followed all the instructions provided in the README.md.
- [x] I am on the latest version of both Open WebUI and Ollama.
- [x] I have included the browser console logs.
- [x] I have included the Docker container logs.
## Logs and Screenshots
## Installation Method
Manual installation
## Additional Information
I'm behind a company proxy, ollama works fine in a terminal
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 @ntrouve-onera on GitHub (Jun 5, 2024).
Bug Report
Description
I struggle to go through the 'npm run build' part of the manual installation process because micropip from pyodide fail to download the necessary packages.
I'm behind a proxy that is properly set up through bashrc and export through my terminal.
All other internet accessing/downloading operations worked (pip, git, npm i).
Here is a cropped error message (the middle of the error message is unreadable).
`" open-webui@0.2.4 build
Setting up pyodide + micropip
Loading micropip, packaging
Loaded micropip, packaging
Downloading Pyodide packages: [
'requests',
'beautifulsoup4',
'numpy',
'pandas',
'matplotlib',
'scikit-learn',
'scipy',
'regex',
'seaborn'
]
/home/ntrouve/install/open-webui/node_modules/pyodide/pyodide.asm.js:9
[..... cropping here because there are 8 pages of unreadable content]
PythonError: Traceback (most recent call last):
File "/lib/python3.12/site-packages/micropip/_commands/install.py", line 142, in install
await transaction.gather_requirements(requirements)
File "/lib/python3.12/site-packages/micropip/transaction.py", line 55, in gather_requirements
await asyncio.gather(*requirement_promises)
File "/lib/python3.12/site-packages/micropip/transaction.py", line 62, in add_requirement
return await self.add_requirement_inner(Requirement(req))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.12/site-packages/micropip/transaction.py", line 151, in add_requirement_inner
await self._add_requirement_from_package_index(req)
File "/lib/python3.12/site-packages/micropip/transaction.py", line 186, in _add_requirement_from_package_index
metadata = await package_index.query_package(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.12/site-packages/micropip/package_index.py", line 286, in query_package
raise ValueError(
ValueError: Can't fetch metadata for 'seaborn'. Please make sure you have entered a correct package name and correctly specified index_urls (if you changed them).
type: 'ValueError',
__error_address: 22142800
}
Node.js v18.19.1`
Steps to Reproduce:
Run manual installation process up to "npm run build" instruction.
Expected Behavior:
Pyodide install its necessary packages and frontend is built
Actual Behavior:
Pyodide fail to install the packages
Environment
Open WebUI Version: v0.2.4
Ollama (if applicable): v0.1.41
**Operating System:**Ubuntu 20.04
Browser (if applicable): Not there yet
Reproduction Details
Confirmation:
Logs and Screenshots
Installation Method
Manual installation
Additional Information
I'm behind a company proxy, ollama works fine in a terminal