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

Error on Mac OS: #1

Closed
Adafede opened this issue Sep 26, 2023 · 12 comments
Closed

Error on Mac OS: #1

Adafede opened this issue Sep 26, 2023 · 12 comments
Labels
bug Something isn't working

Comments

@Adafede
Copy link

Adafede commented Sep 26, 2023

Hi @rwst, since you asked for feedback on Windows and MacOS platforms, the app is not functional on MacOS, see:

image

I was able to build the app locally and worked.
(by doing the following:

org.gradle.java.home=/Library/Java/JavaVirtualMachines/temurin-20.jdk/Contents/Home # in gradle.properties
gradle run

)

I don't know from where the error comes from, so can't help much more, probably from your own IntelliJ settings?

Best,

@rwst
Copy link
Owner

rwst commented Sep 26, 2023

Thanks for reporting. The error looks like it couldn't write settings.json, which is written, on Linux, in the install directory, from which the app is run. I will have to find out how this is usually handled on Mac.

@Adafede
Copy link
Author

Adafede commented Sep 26, 2023

I can confirm have it created in the directory locally when running gradle run

@rwst rwst added the bug Something isn't working label Sep 26, 2023
@rwst
Copy link
Owner

rwst commented Sep 26, 2023

In this new release I use System.getProperties("user.dir") as path to the settings file:
https://github.com/rwst/LitBall/releases/tag/v2316
Could you please, when you have the occasion, try to install the Mac binary?

Your screenshot looks fine, except for the error, so I'm excited to hear about your results.

@Adafede
Copy link
Author

Adafede commented Sep 26, 2023

Sorry, changed the path of the error but did not solve it :(

Screenshot 2023-09-26 at 15 50 30

@rwst
Copy link
Owner

rwst commented Sep 26, 2023

Thanks.
OK, somone pointed me to a library that handles system-specific directories and so I would ask you to try this;
https://github.com/rwst/LitBall/releases/tag/v2317

@Adafede
Copy link
Author

Adafede commented Sep 26, 2023

Slowly getting there!

The initial bug is gone (👍🏼), but now the next generated file when creating a query is the issue...
see below (my query was named lotus)
Screenshot 2023-09-26 at 18 32 51

@rwst
Copy link
Owner

rwst commented Sep 26, 2023 via email

@Adafede
Copy link
Author

Adafede commented Sep 26, 2023

I did let the default one (/Query-).

Screenshot 2023-09-26 at 21 05 23

Changing it to nothing did not solve the issue.

I could not create new ones:

Screenshot 2023-09-26 at 21 06 12

@rwst
Copy link
Owner

rwst commented Sep 26, 2023 via email

@Adafede
Copy link
Author

Adafede commented Sep 26, 2023

after the above warning blocking the app, I could re-open it from the command line and it had mydir as default dir which then allowed me to perform the queries as with the local install:

Screenshot 2023-09-26 at 21 14 56

@rwst
Copy link
Owner

rwst commented Sep 26, 2023 via email

@rwst
Copy link
Owner

rwst commented Sep 27, 2023

OK thanks again. I believe all read-only problems of new installations are fixed in ths release:
https://github.com/rwst/LitBall/releases/tag/v2318

Also, your editing of the query prefix setting uncovered a design problem, which I will address in a later release, probably by introducing Advanced Settings, and of course, more documentation.

@rwst rwst closed this as completed Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants