Skip to content

HowTo What to do if the app crashes

Robert Spiegel edited this page Mar 14, 2020 · 5 revisions

Most often there a two sources:

  • corrupted config/data directory
  • some local library/dependency problem

Corrupted config/data directory

First thing I recommend is to start from scratch. From terminal enter nixnote2 --logLevel=1 --configDir=/home/user/.nixnote-temp (adjust the path to your need). This will create new config and data directory in /home/user/.nixnote-temp. Then you will need to login and do the initial sync.

If it will work, then you can delete old/existing directory in /home/user/.nixnote and move the temp directory under the old name (e.g. mv /home/user/.nixnote-temp /home/user/.nixnote). To check what directory was originally in use check Help/Data and Log location info. In case you have some unsaved notes in existing data directory - copy the manually e.g. by copy/paste.

More info Relocation of config and data directory.

Some local library/dependency problem

Reinstall

This depends on the distribution used, e.g. Ubuntu

  • uninstall nixnote by using package manager
  • uninstall qt4/5
  • reinstall from repository

Try to use the AppImage version

Download the AppImage file, mark as executable and run. It can accept the same command line params as the native package. If this would work and the native package doesn't, then this would indicate some problem with your local libraries (e.g. Qt).

More info: HowTo - Run AppImage.

In very special case the AppImage which is by default build with Qt 5.5 crashes with "floating point exception" - see more info in Issue 55. Then try the experimental AppImage build with Qt 5.11 - there is one e.g. in release 2.1.1.

Etc

If both did not work, then create new Issue and attach log file with DEBUG level.

More info: HowTo - Add log file to the github issue