[MacPorts] #31295: KMyMoney starts with an error
#31295: KMyMoney starts with an error -------------------------------------+-------------------------------------- Reporter: vazspam-forum@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.0.4 Component: ports | Version: 2.0.3 Keywords: kmymoney | Port: -------------------------------------+-------------------------------------- When I start KMyMoney it opens an error dialog and then exits. The dialog mentions incorrect decimal symbol that is not correctly set in the KDE System Settings module kmymoney4 @4.6.0 -- Ticket URL: <https://trac.macports.org/ticket/31295> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31295: kmymoney4 starts with an error -------------------------------------+-------------------------------------- Reporter: vazspam-forum@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: kmymoney4 -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * cc: pixilla@… (added) * owner: macports-tickets@… => mk@… * milestone: MacPorts 2.0.4 => * keywords: kmymoney => * port: => kmymoney4 -- Ticket URL: <https://trac.macports.org/ticket/31295#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31295: kmymoney4 starts with an error -------------------------------------+-------------------------------------- Reporter: vazspam-forum@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: kmymoney4 -------------------------------------+-------------------------------------- Comment(by mk@…): I'll contact KMM's mailing list to figure out how to properly set a valid currency for KDE. -- Ticket URL: <https://trac.macports.org/ticket/31295#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31295: kmymoney4 starts with an error -------------------------------------+-------------------------------------- Reporter: vazspam-forum@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: kmymoney4 -------------------------------------+-------------------------------------- Comment(by mk@…): In a full KDE system, there is an item on the main menu for "System Settings." (I believe the app name is systemsettings.) On the main page that comes up, click "locales" and then under "Country/Region & Language" there is a "Money" tab, where you set the currency, currency symbol, and some other format items. I haven't yet found where the settings are stored, but I assume somewhere under ~/.kde4. Jack -- Ticket URL: <https://trac.macports.org/ticket/31295#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31295: kmymoney4 starts with an error -------------------------------------+-------------------------------------- Reporter: vazspam-forum@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: kmymoney4 -------------------------------------+-------------------------------------- Comment(by mk@…): and the code you mention checks that the decimal symbol is not empty: {{{ if (KGlobal::locale()->monetaryDecimalSymbol().isEmpty()) { KMessageBox::error(0, i18n("The monetary decimal symbol is not correctly set in the KDE System Settings module Country/Region & Language. Please set it to a reasonable value and start KMyMoney again."), i18n("Invalid settings")); delete a; exit(1); } }}} There needs to be a value, otherwise the whole application would not work properly.
Jack wrote:
I haven't yet found where the settings are stored, but I assume somewhere under ~/.kde4.
They are stored in ~/.kde4/share/config/kdeglobals. Here you see the German version :) {{{ [Locale] DecimalSymbol=, MonetaryDecimalSymbol=, MonetaryThousandsSeparator=. ThousandsSeparator=. }}} There can also be global places, but the exact location depend on the distro as it seems to me. In case the value returned is empty, there must be a setting somewhere, as the default in code when no entry is found is ',' and '.' as used in the US locale. Note: On my openSUSE system, I found /etc/kde4/share/config/kdeglobals. Hope that helps. Thomas -- Ticket URL: <https://trac.macports.org/ticket/31295#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31295: kmymoney4 starts with an error -------------------------------------+-------------------------------------- Reporter: vazspam-forum@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: kmymoney4 -------------------------------------+-------------------------------------- Comment(by mk@…): I hope the above two comments from Jack & Thomas help to solve your issue. Greets, Marko -- Ticket URL: <https://trac.macports.org/ticket/31295#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31295: kmymoney4 starts with an error -------------------------------------+-------------------------------------- Reporter: vazspam-forum@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: kmymoney4 -------------------------------------+-------------------------------------- Comment(by mk@…): BTW, I've found the global config in ~/.kde/share/config/kdeglobals but the [Locale] entries mentioned above aren't in there either... -- Ticket URL: <https://trac.macports.org/ticket/31295#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31295: kmymoney4 starts with an error -------------------------------------+-------------------------------------- Reporter: vazspam-forum@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: kmymoney4 -------------------------------------+-------------------------------------- Comment(by vazspam-forum@…): Guys, thanks for the support so far, but I wasn't able to make this issue go away. Does anyone has more ideas? -- Ticket URL: <https://trac.macports.org/ticket/31295#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31295: kmymoney4 starts with an error -------------------------------------+-------------------------------------- Reporter: vazspam-forum@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: kmymoney4 -------------------------------------+-------------------------------------- Comment(by kurtjaeke@…): From a Terminal window, launch kmymoney4 like this: {{{ /Applications/MacPorts/KDE4/kmymoney.app/Contents/MacOS/kmymoney }}} and see if the error persists. If you already do that, play with your locales: {{{ export LANG=en_US.UTF-8 }}} ...or whatever your home/preferred language may be. Please report back if that helps. -- Ticket URL: <https://trac.macports.org/ticket/31295#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31295: kmymoney4 starts with an error -------------------------------------+-------------------------------------- Reporter: vazspam-forum@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: kmymoney4 -------------------------------------+-------------------------------------- Comment(by mk@…): vazspam-forum, did you try out kurtjaeke's hint? Any news on this issue? -- Ticket URL: <https://trac.macports.org/ticket/31295#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31295: kmymoney4 starts with an error -------------------------------------+-------------------------------------- Reporter: vazspam-forum@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: kmymoney4 -------------------------------------+-------------------------------------- Comment(by mk@…): But what happens if you set in your ~/Library/Preferences/KDE/share/config/kdeglobals deliberately {{{ [Locale] MonetaryDecimalSymbol=. }}} Does that change anything? In my kdeglobals I actually do not have such an entry, but when I insert it without the dot after the equal sign I also get exactly your error message. -- Ticket URL: <https://trac.macports.org/ticket/31295#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31295: kmymoney4 starts with an error --------------------------------------+------------------------------------- Reporter: vazspam-forum@… | Owner: mk@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: kmymoney4 | --------------------------------------+------------------------------------- Changes (by mk@…): * status: new => closed * resolution: => fixed Comment: The above addition to kdeglobals obviously solved the issue for the original poster. It's a workaround and it stays unclear why he suffered this rather singular case of this error. -- Ticket URL: <https://trac.macports.org/ticket/31295#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts