Moneymanagerex: MMEX is already running

Created on 16 Jul 2018  路  4Comments  路  Source: moneymanagerex/moneymanagerex

Describe the bug
MMEX is already running.

To Reproduce
Install latest nightly
Restart PC
Try to open MMEX

Expected behavior
Running MMEX

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
The terminal shows me
Gtk-Message: 17:30:38.467: GtkDialog mapped without a transient parent. This is discouraged.
But I don't think, that this has anything to do with this weird behavior.

Your OS:

  • [X] Linux

MMEX version:

  • [X] development version (git master branch) nightly 16. July 2018 03:27 MESZ
linux solution found

Most helpful comment

From wxSingleInstanceChecker documentation:

Note
One of possible reasons while Create() may fail on Unix is that the lock file used for checking already exists but was not created by the user. Therefore applications shouldn't treat failure of this function as fatal condition, because doing so would open them to the possibility of a Denial of Service attack. Instead, they should alert the user about the problem and offer to continue execution without checking if another instance is running.

Please rename/remove $HOME/mmex-$USER file or direcotry and try again. mmex-username in user home directory is used as lockfile by default.

All 4 comments

From wxSingleInstanceChecker documentation:

Note
One of possible reasons while Create() may fail on Unix is that the lock file used for checking already exists but was not created by the user. Therefore applications shouldn't treat failure of this function as fatal condition, because doing so would open them to the possibility of a Denial of Service attack. Instead, they should alert the user about the problem and offer to continue execution without checking if another instance is running.

Please rename/remove $HOME/mmex-$USER file or direcotry and try again. mmex-username in user home directory is used as lockfile by default.

I removed mmex-martin and mmex-root in the home folder martin and everything works well, now.
Thank you!

Maybe the app crashed the last time.

This file is removed at next app start if previously crashed (dedicated pop-up is displayed).
There could be permissions problem in your case or file content was not simple number (PID) and wxgtk was not sure it should remove this file.

Was this page helpful?
0 / 5 - 0 ratings