Skip to content

uv run llamactl deploy llama_deploy.yml error #711

Description

@MuXueMaster

I use the version of 0.63 , and create the RAG project .

When I run "uv run llamactl deploy llama_deploy.yml", I encounter an error.

error info :

Error: Server error '500 Internal Server Error' for url 'http://localhost:4501/deployments/create?reload=false&local=false&base_path=D%3A%5Cgithub%5Ccreate-llama-create-llama-0.6.3%5Cmy-app6'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500

webapi error info :

eate-llama-0.6.3%5Cmy-app6 HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 409, in run_asgi
result = await app( # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in call
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\fastapi\applications.py", line 1054, in call
await super().call(scope, receive, send)
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\starlette\applications.py", line 113, in call
await self.middleware_stack(scope, receive, send)
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\starlette\middleware\errors.py", line 186, in call
raise exc
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\starlette\middleware\errors.py", line 164, in call
await self.app(scope, receive, _send)
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\starlette\middleware\cors.py", line 85, in call
await self.app(scope, receive, send)
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\starlette\middleware\exceptions.py", line 63, in call
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\starlette_exception_handler.py", line 53, in wrapped_app
raise exc
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\starlette_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\starlette\routing.py", line 716, in call
await self.middleware_stack(scope, receive, send)
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\starlette\routing.py", line 736, in app
await route.handle(scope, receive, send)
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\starlette\routing.py", line 290, in handle
await self.app(scope, receive, send)
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\starlette\routing.py", line 78, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\starlette_exception_handler.py", line 53, in wrapped_app
raise exc
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\starlette_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\starlette\routing.py", line 75, in app
response = await f(request)
^^^^^^^^^^^^^^^^
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\fastapi\routing.py", line 302, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\fastapi\routing.py", line 213, in run_endpoint_function
return await dependant.call(**values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\llama_deploy\apiserver\routers\deployments.py", line 72, in create_deployment
await manager.deploy(config, base_path, reload, local)
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\llama_deploy\apiserver\deployment.py", line 476, in deploy
await deployment.start()
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\llama_deploy\apiserver\deployment.py", line 138, in start
await self._start_ui_server()
File "D:\github\create-llama-create-llama-0.6.3\my-app6.venv\Lib\site-packages\llama_deploy\apiserver\deployment.py", line 176, in _start_ui_server
install = await asyncio.create_subprocess_exec(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\study0\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\Lib\asyncio\subprocess.py", line 224, in create_subprocess_exec
transport, protocol = await loop.subprocess_exec(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\study0\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\Lib\asyncio\base_events.py", line 1756, in subprocess_exec
transport = await self._make_subprocess_transport(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\study0\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\Lib\asyncio\windows_events.py", line 400, in _make_subprocess_transport
transp = _WindowsSubprocessTransport(self, protocol, args, shell,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\study0\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\Lib\asyncio\base_subprocess.py", line 36, in init
self._start(args=args, shell=shell, stdin=stdin, stdout=stdout,
File "C:\Users\study0\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\Lib\asyncio\windows_events.py", line 878, in _start
self._proc = windows_utils.Popen(
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\study0\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\Lib\asyncio\windows_utils.py", line 153, in init
super().init(args, stdin=stdin_rfd, stdout=stdout_wfd,
File "C:\Users\study0\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\study0\AppData\Roaming\uv\python\cpython-3.12.10-windows-x86_64-none\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions