[Kmymoney-devel] [Bug 247912] Slow performance related to use of KHolidays in KDE 4.5

Thomas Baumgart thb at net-bembel.de
Sun Aug 15 17:51:24 CEST 2010


Hi,

on Sunday 15 August 2010 17:31:48 Alvaro Soliverez wrote:

> On Sun, Aug 15, 2010 at 12:18 PM, Jack <ostroffjh at sbcglobal.net> wrote:
> > On 2010.08.15 11:13, David Houlden wrote:
> >> On Sunday 15 August 2010 Alvaro Soliverez wrote:
> >> > https://bugs.kde.org/show_bug.cgi?id=247912
> >> >
> >> >
> >> > Alvaro Soliverez <asoliverez at gmail.com> changed:
> >> >
> >> >            What    |Removed                     |Added
> >>
> >> ------------------------------------------------------------------------
> >>-
> >>
> >> >--- Status|NEW                         |RESOLVED
> >> >          Resolution|                            |FIXED
> >> >
> >> > --- Comment #2 from Alvaro Soliverez <asoliverez gmail com>
> >>
> >> 2010-08-15
> >>
> >> > 15:58:49 --- SVN commit 1163993 by asoliverez:
> >>>
> >>> Added a cache to store the holidays for the next 2 years, which
> >>> works around the slow performance of HolidayRegion class.
> >>>
> >> > BUG:247912
> >> >
> >> >  M  +55 -3     kmymoney.cpp
> >> >  M  +5 -0      kmymoney.h
> >> >
> >> > WebSVN link: http://websvn.kde.org/?view=rev&revision=1163993
> >>
> >> This isn't compiling for me. I deleted my build directory and tried
> >> again but got the same error.
> >>
> >> [ 94%] Building CXX object
> >> kmymoney/CMakeFiles/kmymoney.dir/kmymoney.cpp.o
> >> /usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/kmymoney.cpp:
> >> In
> >> member function 'void KMyMoneyApp::setHolidayRegion(const QString&)':
> >> /usr/local/src/extras/kmymoney-svn-kde4/kmymoney/kmymoney/kmymoney.cpp:6
> >>902: error: 'class KHolidays::HolidayRegion' has no member named
> >> 'regionCode'
> >> make[2]: *** [kmymoney/CMakeFiles/kmymoney.dir/kmymoney.cpp.o] Error 1
> >> make[1]: *** [kmymoney/CMakeFiles/kmymoney.dir/all] Error 2
> >> make: *** [all] Error 2
> >>
> >> Using KDE 4.4.5.
> >>
> >> Regards,
> >> Dave.
> >
> > I got the same error, which led to my trying from scratch and getting
> > the error in my other message.
> 
> Hello,
> I submitted a fix for pre KDE 4.5 users. Can you update to latest svn
> (r1164020) and try again from scratch?
> Sorry about the mess. This performance bug caught us by surprise.

It's actually r1164030. Not a type because I added some more for the pre 4.5 
usage.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
A clearly defined problem is half the solution!
(found in a chinese fortune cookie)
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20100815/754d3db7/attachment.sig 


More information about the KMyMoney-devel mailing list