Repository navigation
Closed
Labels
Description
I do have running Unsloth Studio on macOS. When I try to create a new recipe and do a test run, the following message appears:
This is the console log:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/uvicorn/protocols/http/h11_impl.py", line 416, in run_asgi
result = await app( # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.scope, self.receive, self.send
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/uvicorn/middleware/proxy_headers.py", line 63, in __call__
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/fastapi/applications.py", line 1163, in __call__
await super().__call__(scope, receive, send)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/starlette/applications.py", line 90, in __call__
await self.middleware_stack(scope, receive, send)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/starlette/middleware/errors.py", line 186, in __call__
raise exc
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/starlette/middleware/errors.py", line 164, in __call__
await self.app(scope, receive, _send)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/starlette/middleware/cors.py", line 96, in __call__
await self.simple_response(scope, receive, send, request_headers=headers)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/starlette/middleware/cors.py", line 154, in simple_response
await self.app(scope, receive, send)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/studio/backend/core/inference/llama_keepwarm.py", line 204, in __call__
await self.app(scope, receive, send)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/studio/backend/main.py", line 893, in __call__
await self.app(scope, replay_receive, send)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/studio/backend/main.py", line 713, in __call__
await self.app(scope, receive, send_wrapper)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/studio/backend/loggers/handlers.py", line 118, in __call__
await self.app(scope, receive, send_wrapper)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/starlette/middleware/exceptions.py", line 63, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
raise exc
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
await self.app(scope, receive, send)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/starlette/routing.py", line 660, in __call__
await self.middleware_stack(scope, receive, send)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/fastapi/routing.py", line 2683, in app
await route.handle(scope, receive, send)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/fastapi/routing.py", line 1753, in handle
await self.original_router.handle(scope, receive, send)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/fastapi/routing.py", line 2738, in handle
await included_router._handle_selected(scope, receive, send)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/fastapi/routing.py", line 1764, in _handle_selected
await route.handle(scope, receive, send)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/fastapi/routing.py", line 1753, in handle
await self.original_router.handle(scope, receive, send)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/fastapi/routing.py", line 2738, in handle
await included_router._handle_selected(scope, receive, send)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/fastapi/routing.py", line 1773, in _handle_selected
await original_route.handle(scope, receive, send)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/fastapi/routing.py", line 1264, in handle
await app(scope, receive, send)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/fastapi/routing.py", line 150, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
raise exc
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/fastapi/routing.py", line 136, in app
response = await f(request)
^^^^^^^^^^^^^^^^
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/fastapi/routing.py", line 690, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/fastapi/routing.py", line 346, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/starlette/concurrency.py", line 34, in run_in_threadpool
return await anyio.to_thread.run_sync(func)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/anyio/to_thread.py", line 63, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
func, args, abandon_on_cancel=abandon_on_cancel, limiter=limiter
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 2518, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.13.13_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/asyncio/futures.py", line 286, in __await__
yield self # This tells Task to wait for completion.
^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.13.13_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/asyncio/tasks.py", line 375, in __wakeup
future.result()
~~~~~~~~~~~~~^^
File "/opt/homebrew/Cellar/[email protected]/3.13.13_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/asyncio/futures.py", line 199, in result
raise self._exception.with_traceback(self._exception_tb)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 1002, in run
result = context.run(func, *args)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/studio/backend/routes/data_recipe/validate.py", line 194, in validate
parsed_errors = _collect_validation_errors(recipe)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/studio/backend/routes/data_recipe/validate.py", line 89, in _collect_validation_errors
resource_provider = designer._create_resource_provider( # type: ignore[attr-defined]
"validate-configuration",
builder,
)
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/data_designer/interface/data_designer.py", line 453, in _create_resource_provider
ArtifactStorage.mkdir_if_needed(self._artifact_path)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/Users/myusername/.unsloth/studio/unsloth_studio/lib/python3.13/site-packages/data_designer/engine/storage/artifact_storage.py", line 153, in mkdir_if_needed
path.mkdir(parents=True, exist_ok=True)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.13.13_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/pathlib/_local.py", line 722, in mkdir
os.mkdir(self, mode)
~~~~~~~~^^^^^^^^^^^^
OSError: [Errno 30] Read-only file system: '/artifacts'
Activity
awaescher commentedon Jul 9, 2026
I could get it to work by temporarily routing
/artifactsto~/.unsloth/studio/artifacts:Remove the corresponding line from
/etc/synthetic.conf(or the entire file) once this is not required anymore.Lyxot commentedon Jul 9, 2026
Confirmed a bug. I'm working to fix it