[Kmymoney-devel] Re: Investment Problem? - SOLVED

allan agander93 at gmail.com
Tue Jan 25 14:43:31 CET 2011


On 25/01/11 12:54, allan wrote:
> On 25/01/11 07:03, Thomas Baumgart wrote:
>> Hi,
> <big snip>
>
>>> As a secondary issue, all the svn builds I've made show Version
>>> 4.5.90-svn1213267,rather than the expected version,
>>> although that may indicate I have a build system problem.  If so, I
>>> don't know what I'm now doing incorrectly.
>> The number after svn is only updated if you run 'cmake' after an svn update.
>> Sometimes, running cmake is triggered because of a change in the build system.
>> On regular file content changes the cmake run is *not* triggered so the number
>> stays the same - even though it changed in SVN.
>>
>
> (Back on Thunderbird after KMail crashes every time I try to reply to
> this email!)
>
> Erm.....I don't know what this indicates, but...
>
> Yesterday, I created a new sandbox and tried that, but it failed still,
> so I reverted.  Now, yet again I've cleared build in the old and am
> rebuilding.
>
> Meanwhile, back to yesterday's new sandbox, and I ran KMM from the build
> folder instead of installing, and all appears well, including the svn
> rev!!!!  I've never tried doing this before, but it is the first glimmer
> of progress.
>
> Back on my first sandbox, the build has finished.  Did fulll cmake, etc
> and still running the installed version fails.  Running from the build
> folder works fine.
>
> I also noticed "'kwelcomepage.cpp' and 'main.cpp' " being built.
>
>   >  So I suspect something strange is going on at your site which you
> need to
> figure out.
>
> I think that is a slight understatement!  First, I'll go and lie down in
> a dark room
>
> Allan

Solved!!  I don't have to tell you what it was, do I?

Oh well...in case it helps someone else.

I did yet another uninstall, then, for the hell of it, ran KMM, and it 
ran, with the usual problems.  Ah ha, I'd installed into /opt
yesterday, for elimination purposes.  Uninstalled that one and ran KMM 
again, and still it ran, with the problems.  That left my
/home/bin, where I'm currently developing with the new UI, and which 
hasn't yet had the investment side attended to - that is,
the UI has been changed, but not the code, which, of course, I knew all 
about so never ran investments there.  What I didn't
realise was that, when I swapped to /usr/bin, my /home/bin still took 
precedence even when I was actually in /usr/bin,
which wasn't a problem until I went to production mode and attended to a 
backlog of investment imports.  In /usr/bin, running
'kmymoney' defaulted to /home/bin.

What a waste of time, and sorry to all concerned.  At least, I learned a 
few more little bits.

Allan


More information about the KMyMoney-devel mailing list