Skip to content

Problems running on Windows and Linux. #2

Description

@carlosdelfino

Problems running on Windows and Linux.

When I try to run it on Windows, it didn't recognize direct access to the module by calling it directly from the command line kb-manager list-kbs, I had to use python -m kbmanager.main list-bks but even so, it didn't find openapi-python-client, I tried to install it manually, and through pyproject, nothing worked.

In Linux, everything started well. I had to create a virtual area to install the packages, since I use Ubuntu and it doesn't let me use pip directly, but in the middle of the process it gave the following error message:

...
Enter your OpenWebUI API Key:
✅ Configuration saved to /home/carlosdelfino/.kbmanager/config.yaml

Next, we'll fetch the OpenAPI specification to generate the API client.
  Downloaded: http://localhost:8080/openapi.json to /home/carlosdelfino/workspace/pesquisas/OpenWebUI-KB-Manager/openapi.json
  Found OpenAPI spec at: http://localhost:8080/openapi.json

📦 Installing API generator (openapi-python-client)...
Generator installed.

🔨 Generating API client...
  Running: openapi-python-client generate --path /home/carlosdelfino/workspace/pesquisas/OpenWebUI-KB-Manager/openapi.json --output-path /tmp/tmpwcovj7k7 --config /tmp/tmpwcovj7k7/.openapi-generator-config.yml --overwrite
❌ Expected 'open_web_ui_client' folder not found in temporary directory: /tmp/tmpwcovj7k7. Generation failed.

❌ Setup incomplete. For manual setup, see:
   https://github.com/your/kb-manager#api-client-setup
(venv) carlosdelfino@estudio-6b:~/workspace/pesquisas/OpenWebUI-KB-Manager$

Please guide me, as I have little experience with Python, but I will do everything I can to help you, as I am very interested in your software.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions