The MMEX does not start after update on linux

MMEX4Desktop, incl. Windows, macOS (10.10 or newer), and Most Unix variants using the GTK+ toolkit

Moderator: Renato

Post Reply
ni1son
New User
Posts: 1
Joined: Thu Dec 15, 2016 9:15 am
Are you a spam bot?: No

The MMEX does not start after update on linux

Post by ni1son »

Hi!

My platform Linux 4.8.13-1-ARCH x86_64. After attempting to start the application appear this error:

Code: Select all

ASSERT INFO:
./src/generic/imaglist.cpp(66): assert "(bitmap.GetWidth() >= m_width && bitmap.GetHeight() == m_height) || (m_width == 0 && m_height == 0)" failed in Add(): invalid bitmap size in wxImageList: this might work on this platform but definitely won't under Windows.

BACKTRACE:
[1] wxGenericImageList::Add(wxBitmap const&)
[2] std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[3] std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[4] std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[5] std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[6] std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[7] wxEntry(int&, wchar_t**)
[8] __libc_start_main


And after I click the continue button see next error:

Code: Select all

12:21:13: ACCOUNTLIST_V1: Exception SQL logic error or missing database[1]: no such column: STATEMENTLOCKED
12:21:13: ACCOUNTLIST_V1: Exception SQL logic error or missing database[1]: no such column: STATEMENTLOCKED
Attached mmex.xml to this post.
Attachments
mmex.xml
(38.09 KiB) Downloaded 484 times
mmex.xml
(38.09 KiB) Downloaded 521 times
Nikolay
Developer
Posts: 1535
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: The MMEX does not start after update on linux

Post by Nikolay »

mmexsidhu
New User
Posts: 11
Joined: Tue Jan 10, 2017 12:31 am
Are you a spam bot?: No

Re: The MMEX does not start after update on linux

Post by mmexsidhu »

That fix does not work on my manjaro setup. The suggested file to be modified does not exist.
mmexsidhu
New User
Posts: 11
Joined: Tue Jan 10, 2017 12:31 am
Are you a spam bot?: No

Re: The MMEX does not start after update on linux

Post by mmexsidhu »

The file referenced for modification does not exist on my Manjaro system.
Nikolay
Developer
Posts: 1535
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: The MMEX does not start after update on linux

Post by Nikolay »

The fix I've provided is not for system but for mmex source code.
mmex v1.3.1 is this bug free.
mmexsidhu
New User
Posts: 11
Joined: Tue Jan 10, 2017 12:31 am
Are you a spam bot?: No

Re: The MMEX does not start after update on linux

Post by mmexsidhu »

Thanks for the bug fix Nickolay. The startup windows comes up error-free. However a data file cannot be opened. See attached debug report.
Attachments
mmex.xml
(37.86 KiB) Downloaded 534 times
mmex.xml
(37.86 KiB) Downloaded 493 times
Nikolay
Developer
Posts: 1535
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: The MMEX does not start after update on linux

Post by Nikolay »

Here is a short instraction how to use debugger   https://github.com/moneymanagerex/money ... an-Ubuntu)
mmexsidhu
New User
Posts: 11
Joined: Tue Jan 10, 2017 12:31 am
Are you a spam bot?: No

Re: The MMEX does not start after update on linux

Post by mmexsidhu »

[sidhu@manjaro ~]$ gdb mmex
GNU gdb (GDB) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from mmex...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/mmex
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
19:18:56: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8).
[New Thread 0x7fffe038e700 (LWP 13326)]
[New Thread 0x7fffdfb8d700 (LWP 13327)]
[Thread 0x7fffdfb8d700 (LWP 13327) exited]
[Thread 0x7ffff7f87e00 (LWP 13322) exited]
[Inferior 1 (process 13322) exited with code 0377]
(gdb) run
Starting program: /usr/bin/mmex
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
19:19:08: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8).
19:19:08: Debug: Coping file:
 /usr/share/mmex/res/mmex.ico
to
 /tmp/mmex_sidhu_tmp/mmex.ico
19:19:08: Debug: Coping file:
 /usr/share/mmex/res/home_page.htt
to
 /tmp/mmex_sidhu_tmp/home_page.htt
19:19:08: Debug: Coping file:
 /usr/share/mmex/res/kaching.wav
to
 /tmp/mmex_sidhu_tmp/kaching.wav
19:19:08: Debug: Coping file:
 /usr/share/mmex/res/sorttable.js
to
 /tmp/mmex_sidhu_tmp/sorttable.js
19:19:08: Debug: Coping file:
 /usr/share/mmex/res/master.css
to
 /tmp/mmex_sidhu_tmp/master.css
19:19:08: Debug: Coping file:
 /usr/share/mmex/res/ChartNew.js
to
 /tmp/mmex_sidhu_tmp/ChartNew.js
19:19:09: Debug: 2016-08-16 - 2017-01-05
19:19:09: Debug: 2016-08-16 - 2016-12-28
19:19:09: Debug: 2016-08-16 - 2016-12-09
19:19:09: Debug: 2016-08-16 - 2016-09-08
19:19:09: Debug: 2016-08-16 - 2016-08-14
19:19:09: Debug: 2016-08-16 - 2016-04-25
19:19:09: Debug: 2016-08-16 - 2016-04-14
19:19:09: Debug: 2016-08-16 - 2016-02-29
19:19:09: Debug: 2016-08-16 - 2015-12-21
19:19:09: Debug: 2016-08-16 - 2015-06-05
[New Thread 0x7fffe00cf700 (LWP 13360)]
[New Thread 0x7fffd78ce700 (LWP 13361)]
[New Thread 0x7fffdf1f7700 (LWP 13362)]
http://www.google-analytics.com/collect ... 1761-6&v=1
User-Agent: Linux 4.7.10-1-MANJARO x86_64

Got reply:
GIF89a
[Thread 0x7fffdf1f7700 (LWP 13362) exited]
mmexsidhu
New User
Posts: 11
Joined: Tue Jan 10, 2017 12:31 am
Are you a spam bot?: No

Re: The MMEX does not start after update on linux

Post by mmexsidhu »

bt
^C
Thread 1 "mmex" received signal SIGINT, Interrupt.
0x00007ffff4acc48d in poll () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff4acc48d in poll () at /usr/lib/libc.so.6
#1  0x00007ffff3bdd786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffff3bddb12 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff44db3a7 in gtk_main () at /usr/lib/libgtk-x11-2.0.so.0
#4  0x00007ffff65c4165 in wxGUIEventLoop::DoRun() ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#5  0x00007ffff5afc223 in wxEventLoopBase::Run() ()
    at /usr/lib/libwx_baseu-3.0.so.0
#6  0x00007ffff664746d in wxDialog::ShowModal() ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#7  0x00000000005f12c7 in  ()
#8  0x00000000005f2e68 in  ()
#9  0x00000000005ce129 in  ()
#10 0x00000000005cf058 in  ()
#11 0x00007ffff5b4e202 in wxEntry(int&, wchar_t**) ()
    at /usr/lib/libwx_baseu-3.0.so.0
#12 0x0000000000477152 in  ()
#13 0x00007ffff4a0d291 in __libc_start_main () at /usr/lib/libc.so.6
#14 0x000000000048487a in  ()
(gdb)
mmexsidhu
New User
Posts: 11
Joined: Tue Jan 10, 2017 12:31 am
Are you a spam bot?: No

Re: The MMEX does not start after update on linux

Post by mmexsidhu »

Not being a developer, I'm curious if this warning has any relevance to the non working of the application. 19:19:08: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8).

Sent from my Nexus 6 using Tapatalk
mmexsidhu
New User
Posts: 11
Joined: Tue Jan 10, 2017 12:31 am
Are you a spam bot?: No

Re: The MMEX does not start after update on linux

Post by mmexsidhu »

I'll try to answer my own question... Different versions of compilers were used to compile the program and wxWidgets. The solution seems to be to downgrade the compiler and compile the program. My compiler is gcc (GCC) 6.3.1 20170109. I'm guessing I have the right version and the program was compiled with a new version.

Therefore, I'll try compiling with my version. 

a) Did a "git clone https://github.com/moneymanagerex/moneymanagerex"
b) I'm lost

Someone help!
Nikolay
Developer
Posts: 1535
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: The MMEX does not start after update on linux

Post by Nikolay »

mmexsidhu
New User
Posts: 11
Joined: Tue Jan 10, 2017 12:31 am
Are you a spam bot?: No

Re: The MMEX does not start after update on linux

Post by mmexsidhu »

Nikolay wrote:I am trying to create wiki page 

https://github.com/moneymanagerex/money ... nux-distro
Tried your instructions on Manjaro without luck. I think my make environment is not set up correctly. I only have a gcc package which handles g++ compiler as well. However the configure script is looking for a g++ binary. Or so I'm guessing.

Tried using the Debian install instructions on an Arm machine. It does not not have the apt-get-repository command and I don't know how to add the ppa repository to the etc repository file.

Oh well, not the end of the world. I'm wondering if there is an equivalent open source project similar to mmex out there?

Sent from my Nexus 6 using Tapatalk
Nikolay
Developer
Posts: 1535
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: The MMEX does not start after update on linux

Post by Nikolay »

I've installed Manjaro into VM.
I can't run mmex as well.
mmexsidhu
New User
Posts: 11
Joined: Tue Jan 10, 2017 12:31 am
Are you a spam bot?: No

Re: The MMEX does not start after update on linux

Post by mmexsidhu »

I'm sticking with MMEX for this tax season and looking towards GnuCash(GC) as a possible replacement.

GNUCASH
I don't like the double entry system and GC forces you to account for everything. I can't just delete transfers; it will alert me. I don't like doing reconciling because I dont know what it is. However, I have the categories working in GC and most of them are standardized. It forces me to see things as expenses, liabilities and assets. I have to get used to handling loans and payoffs, transfers, cash account - i.e. ATM withdrawls etc. Maybe MMEX is a good step towards a more formal accounting system like GC. I think GC will be a better handoff to my accountant and ultimately TurboTax if I take my tax prep back. I'd go with Quicken for handling my financing but don't trust them for anything more than basic tax prep.

AUTO CATEGORIZE
Both these products need to automatically categorize like Quicken and allow the user to then make changes and customize. MMEX sees imported entries and categorizes as best it can. Better than GC.However it misses all the SAFEWAY GAS entries because each transaction has it's own code. I tired getting it to only look at the first few letters but there is no way of users controlling that.

THANKS
Thanks MMEX and the community for making a great product. I was hoping it would work on Manjaro Linux. And thanks for the great support here!
Nikolay
Developer
Posts: 1535
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: The MMEX does not start after update on linux

Post by Nikolay »

I've started mmex on Manjaro distr.
I'll create step by step instructions.
mmexsidhu
New User
Posts: 11
Joined: Tue Jan 10, 2017 12:31 am
Are you a spam bot?: No

Re: The MMEX does not start after update on linux

Post by mmexsidhu »

Nikolay wrote:I've started mmex on Manjaro distr.
I'll create step by step instructions.
That would be ideal. Thanks for all you've done!
mmexsidhu
New User
Posts: 11
Joined: Tue Jan 10, 2017 12:31 am
Are you a spam bot?: No

Re: The MMEX does not start after update on linux

Post by mmexsidhu »

The manjaro version has been fixed. I'm on version 1.3.2, DB v. 7. Thanks Nikolay. I'm in finance heaven.
Nikolay
Developer
Posts: 1535
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: The MMEX does not start after update on linux

Post by Nikolay »

Post Reply