[Kmymoney] Re: File access problems under VMWare

Thomas Baumgart thb at net-bembel.de
Sun Jun 5 08:51:06 CEST 2011


Hi,

on Sunday 05 June 2011 04:47:57 Doug Brown wrote:

> Thanks for the extremely clear instructions Thomas. Just what I needed
> 
> :-) Apparently on Ubuntu the strace install is "apt-get install strace".
> 
> Zipped file attached. The error shown in KMyMoney was "File <bla>
> contains an unknown file format."

OK, this shows that it can open and somehow read the file. That's what I see 
in the trace log as well. Can you repeat the process with the following 
modification:

  strace -e trace=open,close,read -s 64 -o open.txt -p PID

Again, gzip the output file before sending.

I expect the problem to happen during reads. So let's see what the new trace 
shows.


> My terminal looked like:
> 
> doug at ubuntu:~$ kmymoney -n &
> [1] 11279

[...]

> QPainter::setBrush: Painter not active
> QPainter::drawRects: Painter not active
> QPainter::setPen: Painter not active
> QPainter::worldTransform: Painter not active
> doug at ubuntu:~$
> doug at ubuntu:~$ sudo strace -e trace=file -o open.txt -p 11279
> Process 11279 attached - interrupt to quit
> QFile::at: Cannot set file position 0
> QFile::at: Cannot set file position 0
> ^CProcess 11279 detached
> doug at ubuntu:~$
> 
> Note that that was the second time through, so actually a differnt pid
> than will be in out.txt.

Yep, that does not matter.

> I detached strace before closing KMyMoney. After closing I got:
> 
> doug at ubuntu:~$ kmymoney(11279)/kdecore (KConfigSkeleton)
> KCoreConfigSkeleton::writeConfig:

That looks OK. KDE saves all the configuration settings.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
With every day I come closer to the grave and learn something new.
It all happens because I have wandered around too much and stumbled into
the Linux world - which is a fantastic place to be! (Algis Kabaila)
-------------------------------------------------------------
-------------- 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/attachments/20110605/2953d591/attachment.sig 


More information about the KMyMoney mailing list