Bug 256913 - KMM 4.5 on Mac OS X prints out tons of warning on console
Summary: KMM 4.5 on Mac OS X prints out tons of warning on console
Status: RESOLVED UPSTREAM
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.6.1
Platform: MacPorts macOS
: NOR minor
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-14 19:23 UTC by Marko Käning
Modified: 2012-05-01 13:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Console output at startup (907 bytes, text/plain)
2010-11-14 21:06 UTC, Marko Käning
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Käning 2010-11-14 19:23:55 UTC
Version:           4.5 (using KDE 4.5.3) 
OS:                OS X

I get almost 3 thousand lines lines of warnings spit out when firing up KMM.
Stuff like this:
---
QPainter::setPen: Painter not active
QPainter::font: Painter not active
QPainter::setFont: Painter not active
---
See attached file for more details.

Reproducible: Always

Steps to Reproduce:
Start KMM4
Comment 1 Pino Toscano 2010-11-14 20:59:54 UTC
You did not attach anything yet.
Comment 2 Marko Käning 2010-11-14 21:06:16 UTC
Created attachment 53417 [details]
Console output at startup

Oops, sorry, I missed to upload the output. Here it is. :)
Comment 3 Cristian Oneț 2011-05-21 10:48:06 UTC
These warnings where also present on Linux until the ledger was ported to Qt4 and AFAIK they are harmless so I'm closing this.
Comment 4 Marko Käning 2011-05-21 10:52:43 UTC
Well, they still fill up the console with more than 1500 lines per start which by default fill up my allmessages log file. Not nice.

If you say it has disappeared on LInux it is fine, but since this is an OSX bug it has to be considered as still OPEN. Unfortunately. :-(
Comment 5 Marko Käning 2011-06-13 20:20:42 UTC
So, here is evidence that I DO SEE this kind of warning also popping up on Linux. :-( But, I have to admit, as you can see, there are only 3 lines instead of 1500... :-)
---
marko@localhost:~/WC/kmymoney/build> uname -a
Linux localhost 2.6.31.14-0.6-desktop #1 SMP PREEMPT 2010-12-10 11:18:32 +0100 x86_64 x86_64 x86_64 GNU/Linux
marko@localhost:~/WC/kmymoney/build> kmymoney
KMyMoney reconciliation report plugin loaded 
Calling appendChild() on a null node does nothing.
KMyMoney csvimport plugin loaded                  
KMyMoney printcheck plugin loaded                 
QFSFileEngine::open: No file name specified       
KMyMoney iCalendar plugin loaded                  
reading file                                      
start parsing file                                
startDocument                                     
reading accounts                                  
reading transactions                              
reading securities                                
reading currencies                                
reading prices                                    
reading reports                                   
endDocument                                       
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active                                    
QPainter::setClipRect: Painter not active                                  
marko@localhost:~/WC/kmymoney/build>      
---
Comment 6 Cristian Oneț 2012-01-06 12:23:35 UTC
Is this report still relevant?
Comment 7 Marko Käning 2012-01-08 21:11:00 UTC
Yes, very much so, Cristian!
Tested with a rather new git version 4.6.1 on MacOSX.
Must be connected with the homepage generation, since it only appears on the console when the homepage gets displayed!
Comment 8 Marko Käning 2012-04-29 22:55:14 UTC
Seems to have disappeared now also on Mac OSX.
git version: d90c04cb0a9fda770bfbb8dab0d522018031186a
Thanks
Comment 9 Marko Käning 2012-05-01 13:49:22 UTC
No, I just realized that it hasn't vanished due to the latest git version, but due to the fact that I did this test on Qt 4.8.0.

The issue still persists when running KMyMoney on Qt 4.7.4!