blackhole89 / notekit

A GTK3 hierarchical markdown notetaking application with tablet support.
GNU General Public License v3.0
1.44k stars 61 forks source link

through compiling it, the app won't run #139

Open MaxBrandtner opened 1 year ago

MaxBrandtner commented 1 year ago

here is the error FATAL: config.json not found in note tree, and default_config.json not found in data tree!

I tried to move the json file to the correct dir, but it didn't work

blackhole89 commented 1 year ago

What directory are you running it from, and what is the directory you moved the json file (which one?) to? Have you run make install? Notekit should be capable of running without this if the current working dir is the root directory of the git repository, but if you are running it from a different working directory and did not make install, you may observe the error that you mentioned.

It is also a possibility to manually make it run from a portable directory of the same shape as the git repository by passing NK_DEVEL in the environment, like NK_DEVEL=/path/to/git/repo /path/to/notekit/binary.

I will try to improve some debug output shortly, so it becomes possible to see what paths it tries to operate in even if it could not find a config file.