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

Krystal Clarke <[email protected]> Mon, 21 Aug 2023 15:36:29 +1000
Newsgroups gmane.comp.ai.weka
Message-ID <[email protected]>
Hi all,


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: ~/)


Notes:

I edited weka.sh to add 'ECHO $DIR' on the line after $DIR is assigned, 
to confirm that that line was getting the correct directory - it is, as 
shown below (before I moved weka to the top of my home directory):

~/Path with spaces/weka-3-8-6$ ./weka.sh
/home/skc/Path with spaces/weka-3-8-6
./weka.sh: line 94: /home/skc/Path: No such file or directory


Regards,

Krystal.

_______________________________________________
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