Error installing on ubuntu 14.04

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

Moderator: Renato

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

Re: Error installing on ubuntu 14.04

Post by Nikolay »

Please ask help fron Ubuntu connunity.
We have no resources to help here.

Thos article shoul help to build mmec from scratch https://sourceforge.net/p/moneymanagere ... 9%20Linux/
norbertt
New User
Posts: 2
Joined: Sun Dec 20, 2015 9:49 am
Are you a spam bot?: No

Re: Error installing on ubuntu 14.04

Post by norbertt »

GabrieleV wrote:Hi,
menawhile I create new package with stable wx you can solve the problem with this:

Code: Select all

sudo apt-add-repository 'deb http://repos.codelite.org/wx3.0.1/ubuntu/ trusty universe'
sudo apt-get install curl
curl http://repos.codelite.org/CodeLite.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install libwxbase3.0-0-unofficial
The codelite.org is offline. any other way?
norbertt
New User
Posts: 2
Joined: Sun Dec 20, 2015 9:49 am
Are you a spam bot?: No

Re: Error installing on ubuntu 14.04

Post by norbertt »

I did this way:

sudo apt-get install python-software-properties
sudo apt-add-repository ppa:dwrj87/mmex-test
sudo apt-get update && sudo apt-get install mmex


But i got errors:
Can't find language files (.mo) at "/usr/local/share/mmex/po/en"
../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.


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] navtree_images_list()
[3] mmGUIFrame::createControls()
[4] mmGUIFrame::mmGUIFrame(mmGUIApp*, wxString const&, wxPoint const&, wxSize const&)
[5] OnInitImpl(mmGUIApp*)
[6] mmGUIApp::OnInit()
[7] wxEntry(int&, wchar_t**)
[8] main
[9] __libc_start_main
[10] _start
Nikolay
Developer
Posts: 1535
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: Error installing on ubuntu 14.04

Post by Nikolay »

it may be becouse some XPM images has not 16x16 resolution.
javiermarcon
New User
Posts: 4
Joined: Fri Mar 31, 2017 5:35 pm
Are you a spam bot?: No

Re: Error installing on ubuntu 14.04

Post by javiermarcon »

To solve the error "Can't find language files (.mo) at "/usr/local/share/mmex/po/en" you should make a folder called en in /usr/local/share/mmex/po/ and copy or symlink the .mo files in that folder. For example if you wandt spanish and english languages, run:

Code: Select all

sudo mkdir /usr/local/share/mmex/po/en
sudo ln -s /usr/local/share/mmex/po/spanish.mo /usr/local/share/mmex/po/en/spanish.mo
sudo ln -s /usr/local/share/mmex/po/english.mo /usr/local/share/mmex/po/en/english.mo 
After doing that, you should restart mmex and the language chooser dialog will appear to select the desired language.
Post Reply