Solved - Problems with Release 1.5.9 and git version 1.5.10-Beta.1

Almost any Unix workstation with GTK+ 2.0 and above.

Moderator: Renato

PMaff
Super MMEX User
Posts: 69
Joined: Sun Aug 11, 2019 1:57 pm
Are you a spam bot?: No

Solved - Problems with Release 1.5.9 and git version 1.5.10-Beta.1

Post by PMaff »

I got the moneymanagerex-1.5.9.tar.gz source code from here:
https://github.com/moneymanagerex/money ... x/releases
but when I try cmake with that I get:

"The source directory

/[...]/moneymanagerex-1.5.9/3rd/fmt

does not contain a CMakeLists.txt file."

So I tried
git clone --recursive https://github.com/moneymanagerex/moneymanagerex
which compiled fine as
Version : 1.5.10-Beta.1
but when I executed
$ ../src/mmex
for testing this crashed "Aborted (core dumped)" because it did not find some themes (->?).
There are several warning messages:
1) "Theme default not found, it may no longer be supported. Reverting to default theme"
2) "File 'master.css' missing or invalid in chosen theme 'default'"
3) "Metadata '/theme/name' missing in chosen theme 'default'"
4) "Metadata '/theme/description' missing in chosen theme 'default'"
5) "There are 96 missing or invalid icons in chosen theme 'default':
NEW_DB.svg,[...]" and then several icon names are named.
6) "Theme default has missing items and is incompatible. Reverting to default theme"
7) at the end there is a "Debug report" and "Aborted (core dumped)".

Current version 1.5.6 is still working though.
Then I tried to change the theme in 1.5.6 to colorful theme and now 1.5.6 also crashes with a
"mmex Error std::bad_alloc" dialog.
:cry:
Removed $HOME/.mmex and restarted 1.5.6. This worked.
Chose dark mode in theme manager, this works with 1.5.6
Then I tried 1.5.10 but this also says that the theme is not found, switches
to default theme and crashes.
Version 1.5.6 has the default theme afterwards.
:|

Removing $HOME/.mmex also does not help: 1.5.10-Beta.1 crashes.

I will try now to get version 1.5.9 via git clone...
Last edited by PMaff on Fri Nov 26, 2021 5:27 pm, edited 2 times in total.
PMaff
Super MMEX User
Posts: 69
Joined: Sun Aug 11, 2019 1:57 pm
Are you a spam bot?: No

Re: Problems with Release 1.5.9 and git version 1.5.10-Beta.1

Post by PMaff »

Getting
git clone --recursive https://github.com/moneymanagerex/moneymanagerex --branch v1.5.9
git clone --recursive https://github.com/moneymanagerex/moneymanagerex --branch v1.5.8
does not help.
They all core dump because of that theme problem.
PMaff
Super MMEX User
Posts: 69
Joined: Sun Aug 11, 2019 1:57 pm
Are you a spam bot?: No

Re: Problems with Release 1.5.9 and git version 1.5.10-Beta.1

Post by PMaff »

I forgot the 3 troublesome versions under Ubuntu 18.04:

-- MMEX configuration summary
-- ==========================
-- Version : 1.5.8
-- Commit : f97696e94 (2021-10-02)
-- Host system : Linux x86_64
-- Target system : Linux x86_64
-- Build types :
-- Generator : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption : ON
--
-- Versions
-- --========--
-- Linux 4.15.0-161-generic
-- Ubuntu 18.04 'bionic'
-- CMake 3.10.2
-- GNU Make 4.1
-- ccache
-- GNU 7.5.0
-- wxWidgets 3.1.5
-- wxSQLite3 4.6.0
-- Lua 5.3.3
-- curl 7.58.0
-- gettext 0.19.8.1

and:
-- MMEX configuration summary
-- ==========================
-- Version : 1.5.9
-- Commit : f3f56cc35 (2021-10-29)

and:
-- MMEX configuration summary
-- ==========================
-- Version : 1.5.10-Beta.1
-- Commit : aa16501ba (2021-11-07)
PMaff
Super MMEX User
Posts: 69
Joined: Sun Aug 11, 2019 1:57 pm
Are you a spam bot?: No

Re: Problems with Release 1.5.9 and git version 1.5.10-Beta.1

Post by PMaff »

PMaff
Super MMEX User
Posts: 69
Joined: Sun Aug 11, 2019 1:57 pm
Are you a spam bot?: No

Re: Problems with Release 1.5.9 and git version 1.5.10-Beta.1

Post by PMaff »

Debug output helped me today.
I have a running 1.5.11-Beta.1 on Ubuntu 18.04 LTS now.

See:
https://github.com/moneymanagerex/money ... -979958323

So maybe a graceful exit when not finding any themes would be the next step. ;)
cupdrat
New MMEX User
Posts: 8
Joined: Sun Nov 07, 2021 4:04 pm
Are you a spam bot?: No

Re: Solved - Problems with Release 1.5.9 and git version 1.5.10-Beta.1

Post by cupdrat »

?? where did you get ... _CPack_Packages/Linux/DEB/mmex-1.5.11-Beta.1-Linux/usr/share
PMaff
Super MMEX User
Posts: 69
Joined: Sun Aug 11, 2019 1:57 pm
Are you a spam bot?: No

Re: Solved - Problems with Release 1.5.9 and git version 1.5.10-Beta.1

Post by PMaff »

cupdrat wrote: Sat Nov 27, 2021 12:24 am ?? where did you get ... _CPack_Packages/Linux/DEB/mmex-1.5.11-Beta.1-Linux/usr/share
That's the structure after you compile mmex from the sources on GIT.
See:
https://github.com/moneymanagerex/money ... ssues/2472

But of course you will also have a mmex_1.5.11-Beta.1-1~bionic_amd64.deb then which you can install on
Ubuntu 18.04 .
cupdrat
New MMEX User
Posts: 8
Joined: Sun Nov 07, 2021 4:04 pm
Are you a spam bot?: No

Re: Solved - Problems with Release 1.5.9 and git version 1.5.10-Beta.1

Post by cupdrat »

I used -> git clone --recursive …. --branch v1.5.x and it does compile as

MMEX configuration summary
[cmake] -- ==========================
[cmake] -- Version : 1.5.10
[cmake] -- Commit : c07f17477 (2021-11-23)
[cmake] -- Branch : v1.5.x
[cmake] -- Host system : Linux x86_64
[cmake] -- Target system : Linux x86_64
[cmake] -- Build types : Debug

version 1.5.10

but gives the theme errors and will not run. Core dumped.

The above link ….issues/2472. Is old and does not address the theme issue.

I do not get a:…. CPack_Packages/Linux/DEB/mmex-1.5.11-Beta.1-Linux/usr/share ….dir?! After compiling.
Nikolay
MMEX Developer
Posts: 1529
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: Solved - Problems with Release 1.5.9 and git version 1.5.10-Beta.1

Post by Nikolay »

Possible solution is to download the latest zipped mmex from
https://github.com/moneymanagerex/money ... ag/v1.5.10

the extract themes to /usr/share/mmex (or ~/.mmex/themes) <- I don't know actual path, sorry.
cupdrat
New MMEX User
Posts: 8
Joined: Sun Nov 07, 2021 4:04 pm
Are you a spam bot?: No

Re: Solved - Problems with Release 1.5.9 and git version 1.5.10-Beta.1

Post by cupdrat »

zip files never compile because the sub dirs are empty:
downzipfiles.png
downzipfiles.png (61.58 KiB) Viewed 1354 times
has to be: git clone --recursive
Post Reply