Bug 143350 - Debug message displayed every time JavaScript extension initiated
Summary: Debug message displayed every time JavaScript extension initiated
Status: RESOLVED LATER
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-22 18:29 UTC by Andrew Walker
Modified: 2007-03-30 20:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Walker 2007-03-22 18:29:28 UTC
Version:           HEAD (using KDE KDE 3.5.1)
Installed from:    Compiled From Sources
OS:                Linux

PROBLEM:

Every time the JS extension is initiated (the first time it is shown in a session or every time it is shown after the user closes it by typing "exit") a debug message reading "Uh oh.. can't write data.." is displayed

STEPS TO REPRODUCE:

Start Kst
Enable the JavaScript extension if necessary
Select Tools... Show JavaScript Console

RESULTS:

Debug message "Uh oh.. can't write data.." is displayed

EXPECTED RESULTS:

No such debug message is displayed
Comment 1 Netterfield 2007-03-29 00:16:36 UTC
I can't confirm this exact bug, but instead I get the following "useful" collection of comments (with --disable-debug or with --enable-debug=no):

kst: WARNING: KGenericFactory: instance requested but no instance name or about data passed to the constructor!
kio (KMimeType): WARNING: KServiceType::offers : servicetype JSBindingPlugin/Binding not found
kst: WARNING: addBindingsClass() KJSEmbed::KJSEmbedPart not known
kst: WARNING: addBindingsClass() KJSEmbed::Bindings::Config not known
kst: WARNING: addBindingsClass() KstUIMerge not known

I can find most of these as kdWarning() in jsobjectproxy.cpp in kjsembed.
Comment 2 George Staikos 2007-03-29 00:24:50 UTC
There is nothing we can do about these.

--
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/
Comment 3 Netterfield 2007-03-29 00:40:35 UTC
Why not? (just curious).

On Wednesday 28 March 2007 6:24:51 pm George Staikos wrote:
> There is nothing we can do about these.

Comment 4 George Staikos 2007-03-29 01:09:56 UTC
We don't control KJSEmbed.  We don't even use our fork of it unless  
absolutely necessary and it's only one strange combination that  
triggers it. (KDE recent enough to use kjsembed but too old for our  
purposes)

--
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/
Comment 5 George Staikos 2007-03-30 20:31:07 UTC
Sorry, we really can't do anything here.  Eventually we'll use something else which won't display these messages.  For what it's worth some people might get even more warnings because of kjsembed loading plugins.