leifeld / dna

Discourse Network Analyzer (DNA)
126 stars 41 forks source link

Unable to choose location of new database in DNA - prevents access to work #267

Closed KaiSteemers closed 1 year ago

KaiSteemers commented 1 year ago

Using Mac (M1, 2020)

When trying to create new DNA database there is no ability to choose the location of database, not able to click OK. (image 1)

When no location of database is chosen data structures are set up in private/var folders which is inaccessible. (image 2)

Screenshot 2023-02-21 at 18 12 32 Screenshot 2023-02-21 at 18 13 40

Feel like I'm missing something really obvious maybe? Have taken advice of previous issue raisers with regard to Pictures folder. Didn't have this problem with pre-existing sample files downloaded to practice on.

Thanks

leifeld commented 1 year ago

Thanks for reporting this. Looks like the same Mac Java security issue that plagued previous Mac users. I'll try to look into it by the end of the week.

One thing you could try in the meantime is to open a terminal and type java -jar dna-3.0.9.jar from the directory where the DNA JAR file is stored. There is a possibility that this gives DNA proper user rights. Can you try and report back? Thanks.

KaiSteemers commented 1 year ago

Thanks for reporting this. Looks like the same Mac Java security issue that plagued previous Mac users. I'll try to look into it by the end of the week.

One thing you could try in the meantime is to open a terminal and type java -jar dna-3.0.9.jar from the directory where the DNA JAR file is stored. There is a possibility that this gives DNA proper user rights. Can you try and report back? Thanks.

As so?:

Screenshot 2023-02-21 at 18 44 38
leifeld commented 1 year ago

Just like that, but either the JAR file needs to be in the home directory, or you need to navigate to the directory where the JAR file is located using the cd command on the terminal.

leifeld commented 1 year ago

You can display the files that are currently present using ls.

KaiSteemers commented 1 year ago

I have moved dna-3.0.9.jar from my desktop to the home directory

it now displays this:

Screenshot 2023-02-21 at 19 05 02
KaiSteemers commented 1 year ago

and opens the discourse network analyzer

leifeld commented 1 year ago

Great. And does opening DNA in this way fix the problem you reported above (as a work-around until I get to fix it properly)?

KaiSteemers commented 1 year ago

Unfortunately not. I am still not able to click 'ok'

Screenshot 2023-02-21 at 20 42 16
leifeld commented 1 year ago

OK, thanks. I'll look into it in the next few days and try to fix it.

KaiSteemers commented 1 year ago

thank you, I really appreciate it!

leifeld commented 1 year ago

Probably unrelated, but perhaps worthwhile to check out: #201.

leifeld commented 1 year ago

Hi again. Can you please check out this temporary version and report back if it fixes the problem? I will include it in the next release, probably next month, but it should be OK to work with it until then. The changes can be reviewed here.

(Edit: Found another bug; replaced the temporary version.)

KaiSteemers commented 1 year ago

Hi,

I just used it and it worked!

Thank you very much.

leifeld commented 1 year ago

Excellent! Thanks for your patience and testing it. Will close the issue now.