modelfoxdotdev / modelfox

ModelFox makes it easy to train, deploy, and monitor machine learning models.
Other
1.46k stars 64 forks source link

Running `modelfox app` gives "error: No such file or directory (os error 2)" #127

Closed Chuxiaof closed 2 years ago

Chuxiaof commented 2 years ago

I am following your tutorial, which asks me to run modelfox app, but it doesn't look right:

$ modelfox app
error: No such file or directory (os error 2)

This isn't very informative, so I did a quick check with dtruss

$ sudo dtruss -t open modelfox app
SYSCALL(args)            = return
error: No such file or directory (os error 2)
open("/Users/qys/Library/Application%20Support/modelfox/db/modelfox.db\0", 0x1000601, 0x1B6)             = -1 Err#2

Looks like you are URL-escape the path. I assume the Application%20Support segment should be Application Support instead?

nitsky commented 2 years ago

This has been fixed on main and will be included in the next release. Thanks!