-
Notifications
You must be signed in to change notification settings - Fork 1
Not able to handle linux abbreviation for home directory (~) #104
Copy link
Copy link
Open
Description
For this example, assume we are launching KINC in the directory ExampleDir1, and ExampleDir2 has the file we need to reference (In this example, I have an imaginary KINC AMX file)
ACE is able to handle relative paths to files:
../ExampleDir2/AMX.tsv
And absolute paths to files:
home/usr/Documents/ExampleDir2/AMX.tsv
But cannot recognize the standard abbreviation for the home directory used by linux systems (which is ~) :
~/Documents/ExampleDir2/AMX.tsv
Here is the error which is thrown when a user attempts to use the ~ in a reference path:
Invalid MIT-MAGIC-COOKIE-1 key../../src/core/ace_analytic_abstractmanager.cpp:666
QFile* Ace::Analytic::AbstractManager::addInputFile(const QString&)
SYSTEM ERROR
Failed opening file ~/Documents/05-galaapple_postharvesttreatment/01-input_data/GA-1-18_MetaData.tsv: No such file or directory
This is a minor annoyence, but I have happened on it twice by accident now.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels