Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bbulkow opened this issue Nov 19, 2022 · 1 comment
Assignees
Labels
2 MediumPriority - chromatik nice to fix but can go live without it

Comments

@bbulkow
Copy link
Collaborator

bbulkow commented Nov 19, 2022

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 bbulkow added the 2 MediumPriority - chromatik nice to fix but can go live without it label Nov 19, 2022
@mcslee
Copy link
Collaborator

mcslee commented Nov 20, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 MediumPriority - chromatik nice to fix but can go live without it
Projects
None yet
Development

No branches or pull requests

2 participants