[Kst] [Bug 157448] New: Kst unexpectedly terminated after accessing property: valid in Plugin class.

Yiwen Mao yiwenv at live.ca
Fri Feb 8 19:39:18 CET 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=157448         
           Summary: Kst unexpectedly terminated after accessing property:
                    valid in Plugin class.
           Product: kst
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: yiwenv live ca


Version:           1.6.0 (using KDE 3.5.3)
OS:                Linux

I try to use KstScript to apply the bin plugin to a vector importing from a data source file. After accessing the  property:valid by typing bin.valid in an external terminal, Kst crashes instead of giveing me a true or false value. 


Here are the steps to reproduce the crash:

kst> var s = new Scalar(5); //scalar input for bin plugin
kst> var source = new DataSource("/home/vyiwen/datafiles/random.dat"); //vector source file
kst> var v = new DataVector(source, "1"); //import the vector
kst> v.tagName = "v";
v

kst> var bin = new Plugin(Kst.pluginManager.modules["Bin"]); //getting the bin plugin
kst> bin.setInput(0,v);   //setting input vector and scalar for bin plugin
true
kst> bin.setInput(1,s);
true
kst> bin.valid       //access valid
Kst application process has terminated.


More information about the Kst mailing list