[Eric] Re: KDE DEBUG Message Inundation

Peter Alexander vel.accel at gmail.com
Sat Jul 25 11:43:54 BST 2009


On Sat, Jul 25, 2009 at 5:35 AM, Peter Alexander<vel.accel at gmail.com> wrote:
> Hi Detlev,
>
> I'm on a Gentoo linux system with a KDE4 desktop. Eric4 source pkg
> installed by package manager (but, I think I remeber it happens
> regardless of how it's installed).
> Just about every action (e.g: open file dialog) that eric4 takes,
> display's a pop up window showing the stdout DEBUG message.
> I'm talking like 20-30 (consecutive) pop windows for each message.
> (e.g: Debug Message: (12450) KFileWidget::KFileWidget: startDir
> KUrl("file:///home/travlr/src/pytables-trunk.gitsvn")).
> Now, these are the type of messages typically displayed in the
> interactive shell when launching an app from the shell.
> How do I shut it off? Unchecking "Show this message again" does not
> disable any future messages.
> I searched through the sources too.. too much in there to pinpoint it myself.
>
> Thank you,
> Pete
>

Well I tried this[1] but it didn't help.
No more time right now to trace it down.
You're help is always very much appreciated.

~Pete

[1] ############# stderrlog.patch ##################

travlr at glacier /tmp/eric4-4.3.5 $ cat stderrlog.patch
diff --git a/eric/UI/UserInterface.py b/eric/UI/UserInterface.py
index 54d15e2..99e00ff 100644
--- a/eric/UI/UserInterface.py
+++ b/eric/UI/UserInterface.py
@@ -1,4 +1,4 @@
-# -*- coding: utf-8 -*-
+# -*- coding: iso-8859-1 -*-

 # Copyright (c) 2002 - 2009 Detlev Offenbach <detlev at die-offenbachs.de>
 #
@@ -247,7 +247,7 @@ class UserInterface(KQMainWindow):

         # Generate the redirection helpers
         self.stdout = Redirector(False)
-        self.stderr = Redirector(True)
+        self.stderr = Redirector(False)

         # Genrae the programs dialog
         self.programsDialog = ProgramsDialog(self)


More information about the Eric mailing list