[GH-ISSUE #10307] client2: pulling non-existent model prints duplicate "not found" error message #68824

Closed
opened 2026-05-04 15:22:08 -05:00 by GiteaMirror · 9 comments
Owner

Originally created by @bmizerany on GitHub (Apr 16, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/10307

Originally assigned to: @bmizerany on GitHub.

What is the issue?

From @mxyng

$ ollama run nonexistent
pulling manifest
error: model "nonexistent" not found
Error: model 'nonexistent' not found
exit status 1

The error gets printed twice.

This is the behavior without the flag:

$ ollama run nonexistent
pulling manifest
Error: pull model manifest: file does not exist
exit status 1

OS

Any

Ollama version

ollama/ollama@1e7f62cb42

Originally created by @bmizerany on GitHub (Apr 16, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/10307 Originally assigned to: @bmizerany on GitHub. ### What is the issue? From @mxyng ``` $ ollama run nonexistent pulling manifest error: model "nonexistent" not found Error: model 'nonexistent' not found exit status 1 ``` The error gets printed twice. This is the behavior without the flag: ``` $ ollama run nonexistent pulling manifest Error: pull model manifest: file does not exist exit status 1 ``` ### OS Any ### Ollama version ollama/ollama@1e7f62cb429e5a962dd9c448e7b1b3371879e48b
GiteaMirror added the bug label 2026-05-04 15:22:08 -05:00
Author
Owner

@bmizerany commented on GitHub (Apr 16, 2025):

@mxyng I'm unable to reproduce on main at ed4e139314. Do you mind trying?

<!-- gh-comment-id:2810852333 --> @bmizerany commented on GitHub (Apr 16, 2025): @mxyng I'm unable to reproduce on `main` at ed4e1393149e1ba5e8fbf5b6629d2658342e39d9. Do you mind trying?
Author
Owner

@bmizerany commented on GitHub (Apr 16, 2025):

@mxyng Oh! You may have a mixed setup of client and server?

<!-- gh-comment-id:2810853539 --> @bmizerany commented on GitHub (Apr 16, 2025): @mxyng Oh! You may have a mixed setup of client and server?
Author
Owner

@bmizerany commented on GitHub (Apr 16, 2025):

I think I can fix that without muddying things up too much.

<!-- gh-comment-id:2810855579 --> @bmizerany commented on GitHub (Apr 16, 2025): I think I can fix that without muddying things up too much.
Author
Owner

@bmizerany commented on GitHub (Apr 16, 2025):

@mxyng What is the output of your ollama --version when you are able to reproduce this?

I'm still unable to reproduce with latest ollama client + dev server:

; ollama pull llama39
pulling manifest 
error: model "llama39" not found 
; ollama --version
ollama version is 0.0.0
Warning: client version is 0.6.5
<!-- gh-comment-id:2810879194 --> @bmizerany commented on GitHub (Apr 16, 2025): @mxyng What is the output of your `ollama --version` when you are able to reproduce this? I'm still unable to reproduce with latest ollama client + dev server: ``` ; ollama pull llama39 pulling manifest error: model "llama39" not found ; ollama --version ollama version is 0.0.0 Warning: client version is 0.6.5 ```
Author
Owner

@igorschlum commented on GitHub (Apr 16, 2025):

I cannot reproduce too. Is it possible to close the issue?

<!-- gh-comment-id:2810940455 --> @igorschlum commented on GitHub (Apr 16, 2025): I cannot reproduce too. Is it possible to close the issue?
Author
Owner

@mxyng commented on GitHub (Apr 16, 2025):

Both client and server are on main 56dc316a57f07fbed80723d1ecd589da0906018e

<!-- gh-comment-id:2810963851 --> @mxyng commented on GitHub (Apr 16, 2025): Both client and server are on main `56dc316a57f07fbed80723d1ecd589da0906018e`
Author
Owner

@bmizerany commented on GitHub (Apr 16, 2025):

Still unable to reproduce:

OLLAMA_EXPERIMENT=client2 ollama serve
; git rev-parse HEAD
56dc316a57f07fbed80723d1ecd589da0906018e
; ollama --version
ollama version is 0.0.0
; ollama pull notexist
pulling manifest 
error: model "notexist" not found 
<!-- gh-comment-id:2811065775 --> @bmizerany commented on GitHub (Apr 16, 2025): Still unable to reproduce: ``` OLLAMA_EXPERIMENT=client2 ollama serve ``` ``` ; git rev-parse HEAD 56dc316a57f07fbed80723d1ecd589da0906018e ; ollama --version ollama version is 0.0.0 ; ollama pull notexist pulling manifest error: model "notexist" not found ```
Author
Owner

@bmizerany commented on GitHub (Apr 16, 2025):

I tested in a tight loop to see if it is intermittent, and I am still coming up empty.

<!-- gh-comment-id:2811068608 --> @bmizerany commented on GitHub (Apr 16, 2025): I tested in a tight loop to see if it is intermittent, and I am still coming up empty.
Author
Owner

@bmizerany commented on GitHub (Apr 16, 2025):

Keeping open during alpha testing of client2 in case anyone else is able to reproduce. So far @mxyng and @BruceMacD have be able to do so at fbe7039618.

I am unable to.

<!-- gh-comment-id:2811123452 --> @bmizerany commented on GitHub (Apr 16, 2025): Keeping open during alpha testing of client2 in case anyone else is able to reproduce. So far @mxyng and @BruceMacD have be able to do so at fbe70396181222e2d91ca1d8895b11c5fd464c3f. I am unable to.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#68824