Page 1 of 1

MMEX crashes: MMEX Instance Check

Posted: Tue Apr 28, 2020 9:53 am
by Wirmike
CURRENTLY UNABLE TO USE MMEX!!!
======================
I have just today started to get the following error on launching MMEX.

I have been using my current version (mmex-1.3.4_rc7-Darwin.dmg) since 14APR20 with no apparent issue.

Not sure why this has started to happen. System reports have been generated and sent to Apple.

The small window I see when trying to launch MMEX has the following text ...

"Settings DB is already opened by another instance of MMEX.
It's strongly recommended to close all other applications that can use the DB.
Possible it may be as result of a programm crash in previous usage.

Would you like to continue?"

As far as I can see there is no other instance running.

I have restarted the machine, but I still get the same results.

Not sure where to go. Advice accepted.
--------------------------------------------------------
I an running v.1.3.4-rc7 under Mac OS 10.13.6

Re: MMEX crashes: MMEX Instance Check

Posted: Tue Apr 28, 2020 9:57 am
by Nikolay
Preass OK (It means continue). Restart does not help.

Re: MMEX crashes: MMEX Instance Check

Posted: Tue Apr 28, 2020 11:32 am
by Wirmike
Thanks for your reply!
I tried pressing OK - but I still end up not being able to access the file.
(I took a look at Activity Monitor and there was nothing showing for MMEX).

I have other MMEX data files.
Would trying to open one of those be a useful guide as to where the issue may be.
Or is there a 'flag' set in the program itself against a particular filename?

Might re-installing my version of 1.3.4-rc7 using the Darwin.dmg, that I still have in Downloads, be one way of re-setting anything that might be set in the current install of the MMEX app?

Re: MMEX crashes: MMEX Instance Check

Posted: Tue Apr 28, 2020 7:55 pm
by Nikolay
There are not needed to reinstall app.

Possible solution is to install, for example, https://sqlitebrowser.org/dl/
then open mmb file and change the following data from 1 to 0:
isused.PNG
isused.PNG (14.3 KiB) Viewed 5771 times
The same for mmexini.db3 file as well. But mmexini.db3 may be just deleted, not big deal.

I will think about what to do next with this warning. On my tests after it, the application starts without any problems.

Re: MMEX crashes: MMEX Instance Check

Posted: Wed Apr 29, 2020 1:00 pm
by Wirmike
Thanks for that.
Before I go ahead, would the following be useful to know?

1:
--
I re-installed the app on to the Mac using the v1.3.4-rc7Darwin dmg and it appeared as "MMEX 2".
This too reported the "MMEX Instance Check'.
Other MMEX data files ran fine.
Conclusion: Common factor - the particular data file.
2:
--
I then put a copy of my file on a borrowed standby WIN7 machine running MMEX v1.3.3.
As the database version is the same, I don't see an issue w/this.
There has not been any issue with Instance Checks.
This ran just fine and will be okay whilst I get the Mac sorted out.
3:
--
So I wonder if the Windows app looks at the staus data differently.

Thanks for your time in preparing the guidance re the running of sqlitebrowser - all seems clear and hopefully trouble-free...
.. and, hoping to find the flag set as you think it may be!

Regards

Re: MMEX crashes: MMEX Instance Check

Posted: Wed Apr 29, 2020 3:32 pm
by Wirmike
I downloaded SQLlite and had a look, using your screen-shot as a guide.

The INFONAME "ISUSED" was at row 49, as opposed to 7 in your view. The INFOVALUE was already set to "0"!

Is it possible some flag is set in the App itself? If so, then deleting the App and re-installing may work?

Regards

Re: MMEX crashes: MMEX Instance Check

Posted: Wed Apr 29, 2020 4:10 pm
by Nikolay
MMEX v1.3.3 does not know about infovalue ISUSED.
This is >= 1.3.4 feature.

Re: MMEX crashes: MMEX Instance Check

Posted: Wed Apr 29, 2020 10:59 pm
by Wirmike
Ah! Thanks for that.

Might there be some unstable handling of ISUSED in 1.3.4?

I could set ISUSED=1, launch MMEX, then maybe the app will ACTUALLY see ISUSED=1.
The launch will fail - this time presumably, but for a valid reason. Then set ISUSED=0, launch the app again and hope it behaves itself this time(!)

Should the mmexini.db3 file exist in the same folder as the .mmb files?
I have checked and not found mmexini.db3 anywhere in 'Documents'. So I assume it has been deleted.

Thanks again.


Regards.

Re: MMEX crashes: MMEX Instance Check

Posted: Thu Apr 30, 2020 10:03 am
by Nikolay
https://github.com/moneymanagerex/money ... ssues/2387

The reason why I implement this warning message is to avoid loss data when DB shared trough Dropbox and to avoid to open the same DB on the same PC.
Perhaps this is unnecessary concern and these warnings can be removed.

You could set mmexini.db3 file location in 1.3.4 (new feature).
By default the mmexini.db3 placed somewhere in the user directory. Or in the same folder where mmex started in case if portable mode.

Re: MMEX crashes: MMEX Instance Check

Posted: Tue May 05, 2020 11:30 am
by Wirmike
Thank you.
Following from that I have added a few thoughts and questions.

1>:
==
When you say that perhaps the warnings are an 'unnecessary concern and can be removed', does this suggest that this will require a new issue of 1.3.4?
Otherwise I cannot see how I can access that particular database.
2>:
==
I cannot find the 1.3.4 feature of choosing the location of the mmexini.db3 file: can you advise?
Other than knowing where they are, is their location actually significant?
2.1>;
===
I am a little mystified over the purpose of this db3 file.
It seems that it holds certain 'ini' details re the configuration of a an MMEX Instance, yet in the post to you from 'josh555' in General Discussion on 30 Apr2020, the solution there was to actually find it and delete it, so as to clear the "On selecting database, MMEX will not display' problem.
Was this a Win10 issue, or does it relate to MacOS as well?
Can you advise?
3>:
==
Would any entries in the (db3) file have any bearing on the Greek column headings, button legends and menu texts that appear in some parts of my current release?
3.1>:
===
In looking at locations for the 'mmexini.db3' file, I discovered your conversation w/- Renato re the matter on your post on 16APR20.
You said that you 'believe most users use one DB for personal needs'.
I thought that you may like to know that I am one of those who actually use more - I work with ten(10!), albeit sporadically!
3.2>:
===
There does seem to be an issue here anyway in that the way v1.3.4-rc7 'remembers' these in the Recent Files list is erratic - as mentioned on an earlier post - as it seems to ‘forget’ previously recognised files.
In view of the numbers of DBs I use, the Recent Files list was not large enough anyway - and in v1.3.3 there was always one(1) that seemed to fall off the bottom of the list.
[As an aside and allied to this was a thought of making a Feature Request that the Recent Files list be morphed into a Favourites list with each file being able to be ascribed a position in it.]

I trust that these thoughts will be of interest.

Regards

Re: MMEX crashes: MMEX Instance Check

Posted: Tue May 05, 2020 1:38 pm
by Nikolay
It's very interesting to read. I need time t analyze this information.

Re: MMEX crashes: MMEX Instance Check

Posted: Tue Jun 02, 2020 12:24 pm
by Wirmike
Nikolay,

I have just become aware of MMEX v1.3.5!

Since I last posted, I have transferred my data FROM the standby Win7 running MMEX v1.3.3 BACK to my Mac and “Hey Presto” - no MMEX Instance Check failure.

All went well until there was a Mac OS update and then for some reason the MMEX Instance Check issue appeared again.

So I transferred the data to the Win7/MMEX 1.3.3 machine. Worked on it for a short while, then transferred back to my Mac. “Hey Pesto” again. All was then well!

It seems that as v!.3.3 has no interest in 'Instances' it appears to reset something in the database?

Do I understand correctly that v1.3.5 should now manage such issues better.
Is this a stable release and would it be a good idea to try this version out?

Wishing you well!

Re: MMEX crashes: MMEX Instance Check

Posted: Tue Jun 02, 2020 7:37 pm
by Nikolay
I recommend 1.3.5-rc.2
https://sourceforge.net/projects/moneym ... .3.5-rc.2/
There is no dmg file for MAC.
@guanlisheng can help with this issue.

Re: MMEX crashes: MMEX Instance Check

Posted: Sun Jun 07, 2020 12:25 am
by harrygray
Hello I am getting MMEX InstanceCheck bug on Mac with latest OS installed plus I can't post recurring transactions? Please advise fix, also navigation tab only works sometimes

Re: MMEX crashes: MMEX Instance Check

Posted: Sun Jun 07, 2020 9:35 am
by Nikolay