[Kst] [Bug 234390] New: The ASCII datasource no longer saves its config in .kst files

Nicolas Brisset nicolas.brisset at eurocopter.com
Wed Apr 14 23:31:22 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=234390

           Summary: The ASCII datasource no longer saves its config in
                    .kst files
           Product: kst
           Version: 2.0.0_devel
          Platform: unspecified
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst at kde.org
        ReportedBy: nicolas.brisset at eurocopter.com


Version:           2.0.0_devel (using unspecified)
Compiler:          gcc (SUSE Linux) 4.4.1 
OS:                Linux

In recent kst 2 trunk versions (a few weeks/months back), the configuration of
each datasource used in a plot was saved to the .kst file. This is no longer
the case, so that very often when you reload a .kst session you see only empty
plots (unless for some reason a specific file has appropriate settings stored
from a previous usage).
The problem is best illustrated by the following .kst samples:

*** .kst sample from some time ago ***

<?xml version="1.0" encoding="UTF-8"?>
<kst version="2.0">
    <data>
        <source reader="ASCII file" file="5/5_NAV_SRC">
            <properties delimiters="#/c!;" columntype="0" headerstart="1"
fields="0" readfields="true"/>
        </source>
    [snip]
    <data/>
    <variables>
        <datavector file="5/5_NAV_SRC" field="Time" start="0" count="-1"
skip="-1" doAve="false" initialVNum="124" initialXNum="1355"/>
        <datavector file="5/5_NAV_SRC" field="5_NAV_SRC" start="0" count="-1"
skip="-1" doAve="false" initialVNum="125" initialXNum="1366"/>
    [snip]
    <variables/>
...


*** .kst sample from yesterday's trunk ***
<?xml version="1.0" encoding="UTF-8"?>
<kst version="2.0">
    <data/>
    <variables>
        <datavector file="1/1_L173_VOR_LOC_DEV" field="Time" start="0"
count="-1" skip="-1" doAve="false" initialVNum="1" initialXNum="1"/>
        <datavector file="1/1_L173_VOR_LOC_DEV" field="1_L173_VOR_LOC_DEV"
start="0" count="-1" skip="-1" doAve="false" initialVNum="2" initialXNum="12"/>
...

=> The <data> section is completely omitted!!!

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kst mailing list