Re: Spaces in full directory path not handled correctly when starting WEKA on Linux

Peter Reutemann <[email protected]> Fri, 25 Aug 2023 11:20:50 +1200
Newsgroups gmane.comp.ai.weka
Message-ID <CAHoQ12+e32qiRi9xL46O-hTCCsVD69vi_iSmfSw17NnsYUNTHg@mail.gmail.com>
> WEKA version 3.8.6
> OS: Debian sid
>
> Error output:
> ~/Path with spaces/Weka/weka-3-8-6$ ./weka.sh
> ./weka.sh: line 93: /home/skc/Path: No such file or directory
>
> Workaround:
> move weka-3-8-6/ folder to a parent that doesn't have spaces anywhere in
> the fullpath (eg: ~/)

I can confirm that the weka.sh script doesn't handle spaces in the parent path.
To fix it, you need to surround the $JCMD variable at the bottom of
the script with double quotes.
I've committed a fix to the git repo regarding this.

Cheers, Peter
-- 
Peter Reutemann
Dept. of Computer Science
University of Waikato, Hamilton, NZ
Mobile +64 22 190 2375
https://www.cs.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/
_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html