Haidra-Org / horde-worker-reGen

The default client software to create images for the AI-Horde
https://aihorde.net/
GNU Affero General Public License v3.0
83 stars 35 forks source link

Putting the files into a path that contains spaces crashes on startup #118

Open RustyNova016 opened 7 months ago

RustyNova016 commented 7 months ago

I cloned the project into "/mnt/Margarine/File Storage/Apps/horde-worker-reGen/", except that when launching horde_bridge.sh, I get a crash with this log:

Using jemalloc from /usr/lib/x86_64-linux-gnu
/tmp/mambafFGSqIcPNmU: line 2: /mnt/Margarine/File: No such file or directory
/tmp/mambafFGSqIcPNmU: line 3: micromamba: command not found
/tmp/mambafFGSqIcPNmU: line 5: exec: python: not found
download_models.py exited with error code. Aborting

I suspect there is a missing pair of quotes in a script somewhere that makes the path get cut and thus not found. Would be great to get it fixed!

tazlin commented 7 months ago

I recommend you do not include any spaces in the filename for now.