Entwined icon indicating copy to clipboard operation
Entwined copied to clipboard

Chromatic print when loading project file uses absolute path when file was saved

Open bbulkow opened this issue 3 years ago • 1 comments

When I load a project file on startup, I do it from a copy of the checkin directory

However, the stdout says

[LX 2022/11/19 15:35:59] Project loaded successfully from C:\Users\bbulk\dev\Entwined\chromatik\installations\ggp-2022\entwined.lxp

which is not the current directory (it's the project directory)

It would be far more normal to print the directory it loaded from, than the location is was saved to (and then moved out of for safety and sanity)

bbulkow avatar Nov 19 '22 23:11 bbulkow

I wonder if your startup script is not doing what you think it's doing? LX is definitely printing the absolute path of the file that it has actually loaded. LX doesn't know about any copying/moving/etc. you're doing beforehand.

Context: https://github.com/heronarts/LX/blob/dev/src/main/java/heronarts/lx/LX.java#L967

Do you have more info on exactly what CLI you are invoking to run here?

mcslee avatar Nov 20 '22 21:11 mcslee