1.1.0-RC3 crashed at start

Money Manager Ex Development related posts for both Android and Desktop

Moderator: Renato

Post Reply
jtmh
New MMEX User
Posts: 18
Joined: Tue Aug 16, 2011 4:08 pm
Are you a spam bot?: No
Location: Taiwan

1.1.0-RC3 crashed at start

Post by jtmh »

I downloaded, built and installed MMEX 1.1.0-RC3 on Mageia Linux. The building and installing process was okay, but when I ran mmex, it immediately crashed with the following info:
ASSERT INFO:
../src/common/file.cpp(328): assert "(pBuf != __null) && IsOpened()" failed in Read().

BACKTRACE:
[1] wxFile::Read(void*, unsigned int)
[2] wxFileInputStream::OnSysRead(void*, unsigned int)
[3] wxInputStream::Read(void*, unsigned int)
[4] wxInputStream::GetC()
[5] wxTextInputStream::NextChar()
[6] wxTextInputStream::ReadLine()
[7] mmAboutDialog::InitControls()
[8] mmAboutDialog::Create(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long, int const&)
[9] mmAboutDialog::mmAboutDialog(wxWindow*, int const&)
[10] mmGUIFrame::mmGUIFrame(mmGUIApp*, wxString const&, wxPoint const&, wxSize const&)
[11] OnInitImpl(mmGUIApp*)
[12] mmGUIApp::OnInit()
[13] wxEntry(int&, wchar_t**)
[14] main
[15] __libc_start_main
[16] _start /home/iurt/rpmbuild/BUILD/glibc-2.19/csu/../sysdeps/i386/start.S:118
Could you please help me figure out what went wrong? Thank you.
User avatar
GabrieleV
MMEX Developer
Posts: 158
Joined: Wed Apr 09, 2014 7:45 pm
Are you a spam bot?: No
Location: Italy

Re: 1.1.0-RC3 crashed at start

Post by GabrieleV »

Hi, in Linux you need to copy these files:
- all doc folder files into /usr/share/doc/mmex
- contrib.txt, license.txt, version.txt into /usr/share/mmex
- po/en folder into /usr/share/mmex/po/en
- home_page.htt,katching.wav, master.css, mmex.ico from resources folder into /usr/share/mmex/res
- chart.js and sorttable.js files from their 3d subfolder into /usr/share/mmex/res

Anyway you can extract deb paackage from here:
http://sourceforge.net/projects/moneyma ... 1.1.0-RC3/
and see folder structure..
Nikolay
MMEX Developer
Posts: 1535
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: 1.1.0-RC3 crashed at start

Post by Nikolay »

It's not a crash but alert.
After build I usually cretate share/mmex/res folder and copy master.css Chart.js sortable.js *.htt into it

more details here
https://github.com/moneymanagerex/money ... _files.bat

info from help file:
On Unix (assume /media/disk is mounted USB flash drive)</B><BR>Compile
mmex from sources as usually,<BR>and make
install prefix=/media/disk<BR>cp ~/.mmex/mmexini.db3
/media/disk/mmex/share/mmex<BR><BR>or if you want to copy mmex which
has already installed in /usr<BR>cp /usr/bin/mmex
/media/disk/mmex/bin<BR>cp /usr/share/mmex /media/disk/mmex/share<BR>cp
/usr/share/doc/mmex /media/disk/mmex/share/doc<BR>cp
~/.mmex/mmexini.db3 /media/disk/mmex/share/mmex

Also you can chech mmex.dev file structure if open it in archivator.
jtmh
New MMEX User
Posts: 18
Joined: Tue Aug 16, 2011 4:08 pm
Are you a spam bot?: No
Location: Taiwan

Re: 1.1.0-RC3 crashed at start

Post by jtmh »

I've followed the instructions in the file INSTALL.txt:

Code: Select all

./bootstrap
mkdir release
cd release
../configure --with-wxdir=/home/jtmh/code/mmex/wxWidgets-3.0.1/buildgtk/
make
make check
mkdir share
mkdir share/doc/
mkdir share/doc/mmex
mkdir share/mmex
mkdir share/mmex/res
ln -s ../../../../doc/help share/doc/mmex/
ln -s ../../../../doc/version.txt share/doc/mmex/
ln -s ../../../../doc/contrib.txt share/doc/mmex/
ln -s ../../../../doc/license.txt share/doc/mmex/
ln -s ../../../po share/mmex/
ln -s ../../../../resources/mmex.ico share/mmex/res/
ln -s ../../../../resources/splash.png share/mmex/res/
su
make install
And the output of the last instruction "make install" is:
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c mmex /usr/local/bin
/usr/bin/install -c -d /usr/local/share/mmex/res
(cd ../resources ; /usr/bin/install -c -m 644 kaching.wav mmex.ico master.css home_page.htt /usr/local/share/mmex/res)
/usr/bin/install -c -d /usr/local/share/mmex/res
(cd ../3rd/Chart.js ; /usr/bin/install -c -m 644 Chart.js /usr/local/share/mmex/res)
/usr/bin/install -c -d /usr/local/share/mmex/res
(cd ../3rd/sorttable.js ; /usr/bin/install -c -m 644 sorttable.js /usr/local/share/mmex/res)
/usr/bin/install -c -d /usr/local/share/..
(cd ../resources ; /usr/bin/install -c -m 644 Info.plist /usr/local/share/..)
/usr/bin/install -c -d /usr/local/share
(cd ../doc ; /usr/bin/install -c -m 644 version.txt contrib.txt license.txt /usr/local/share)
/usr/bin/install -c -d /usr/local/share/../Resources
(cd ../graphics ; /usr/bin/install -c -m 644 mmex.icns mmdb.icns /usr/local/share/../Resources)
/usr/bin/install -c -d /usr/local/share/mmex/po/en
(cd ../po ; /usr/bin/install -c -m 644 *.mo /usr/local/share/mmex/po/en)
/usr/bin/install -c -d /usr/local/share/doc/mmex
(cd ../doc ; /usr/bin/install -c -m 644 *.txt /usr/local/share/doc/mmex)
/usr/bin/install -c -d /usr/local/share/doc/mmex/help
(cd ../doc/help ; /usr/bin/install -c -m 644 *.html *.png /usr/local/share/doc/mmex/help)
/usr/bin/install -c -d /usr/local/share/doc/mmex/help/german
(cd ../doc/help/german ; /usr/bin/install -c -m 644 * /usr/local/share/doc/mmex/help/german)
/usr/bin/install -c -d /usr/local/share/doc/mmex/help/french
(cd ../doc/help/french ; /usr/bin/install -c -m 644 * /usr/local/share/doc/mmex/help/french)
/usr/bin/install -c -d /usr/local/share/doc/mmex/help/hungarian
(cd ../doc/help/hungarian ; /usr/bin/install -c -m 644 * /usr/local/share/doc/mmex/help/hungarian)
/usr/bin/install -c -d /usr/local/share/doc/mmex/help/italian
(cd ../doc/help/italian ; /usr/bin/install -c -m 644 * /usr/local/share/doc/mmex/help/italian)
/usr/bin/install -c -d /usr/local/share/doc/mmex/help/polish
(cd ../doc/help/polish ; /usr/bin/install -c -m 644 * /usr/local/share/doc/mmex/help/polish)
/usr/bin/install -c -d /usr/local/share/doc/mmex/help/russian
(cd ../doc/help/russian ; /usr/bin/install -c -m 644 * /usr/local/share/doc/mmex/help/russian)
/usr/bin/install -c -d /usr/local/share/doc/mmex/help/spanish
(cd ../doc/help/spanish ; /usr/bin/install -c -m 644 * /usr/local/share/doc/mmex/help/spanish)
/usr/bin/install -c -d /usr/local/share/applications
(cd ../resources ; /usr/bin/install -c -m 644 mmex.desktop /usr/local/share/applications)
/usr/bin/install -c -d /usr/local/share/icons/hicolor/scalable/apps
(cd ../graphics ; /usr/bin/install -c -m 644 mmex.svg /usr/local/share/icons/hicolor/scalable/apps)
/usr/bin/install -c -d /usr/local/share/man/man1
(cd ../doc ; /usr/bin/install -c -m 644 mmex.1.gz /usr/local/share/man/man1)
It seems that the associated files have all been copied to their corresponding directories, except that my installed root dir is /usr/local instead of /usr. But when I run mmex, it still immediately shows the same info, and I can only continue with closing mmex. Any ideas? Thanks.
Nikolay
MMEX Developer
Posts: 1535
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: 1.1.0-RC3 crashed at start

Post by Nikolay »

try 
../configure
not
../configure --with-wxdir=/home/jtmh/code/mmex/wxWidgets-3.0.1/buildgtk/
make -j2
./mmex

not make install
Working?
PS for wx30 use ./configure && make
su 
make install
jtmh
New MMEX User
Posts: 18
Joined: Tue Aug 16, 2011 4:08 pm
Are you a spam bot?: No
Location: Taiwan

Re: 1.1.0-RC3 crashed at start

Post by jtmh »

Still not working.

I've tried "make install" wx3.0 and the following:

Code: Select all

./bootstrap
mkdir release
cd release
../configure
make -j2
./mmex
And the output of the "./mmex" is:
00:27:00: Debug: /tmp/mmex_rep/index.html

(mmex:10132): GLib-GObject-WARNING **: The property GtkMisc:xalign is deprecated and shouldn't be used anymore. It will be removed in a future version.

(mmex:10132): GLib-GObject-WARNING **: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version.

(mmex:10132): GLib-GObject-WARNING **: The property GtkImageMenuItem:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version.

(mmex:10132): GLib-GObject-WARNING **: The property GtkImageMenuItem:accel-group is deprecated and shouldn't be used anymore. It will be removed in a future version.

(mmex:10132): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height -3

(mmex:10132): GLib-GObject-WARNING **: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version.

(mmex:10132): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height -3
../src/common/file.cpp(328): assert "(pBuf != __null) && IsOpened()" failed in Read().
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

(mmex:10132): Gtk-WARNING **: gtk_window_set_titlebar() called on a realized window
There is no mmex window showing, and I have to type Ctrl+C to terminate the mmex process.
Post Reply