[Kst] Corrupted kst file

Ben Lewis egretengineering at gmail.com
Fri Apr 6 02:15:30 UTC 2012


I have fixed this problem:

Using a text editor I made the following changes to my .kst file:


_*ORIGINAL (WILL NOT OPEN)*_

<objects>
         ...
         ...
<equation expression="[T_MIN (X252)]*SIN(2*PI/[*Time:y:Last (X667)*]*x)" xvector="*Time:y (V60)*" 
interpolate="true" descriptiveNameIsManual="true" descriptiveName="REF-MIN-X" initialVNum="19" 
initialXNum="205" initialENum="7"/>
<equation expression="[T_MIN (X252)]*COS(2*PI/[*Time:y:Last (X667)*]*x)" xvector="*Time:y (V60)*" 
interpolate="true" descriptiveNameIsManual="true" descriptiveName="REF-MIN-Y" initialVNum="21" 
initialXNum="227" initialENum="8"/>
        ...
        ...
<equation expression="[T-MAX (X518)]*SIN(2*PI/[*Time:y:Last (X667)*]*x)" xvector="*Time:y (V60)*" 
interpolate="true" descriptiveNameIsManual="true" descriptiveName="REF-MAX-X" initialVNum="43" 
initialXNum="474" initialENum="19"/>
<equation expression="[T-MAX (X518)]*COS(2*PI/[*Time:y:Last (X667)*]*x)" xvector="*Time:y (V60)*" 
interpolate="true" descriptiveNameIsManual="true" descriptiveName="REF-MAX-Y" initialVNum="45" 
initialXNum="496" initialENum="20"/>
         ...
         ...
</objects>


_*NEW (WILL OPEN)*_

<objects>
         ...
         ...
<equation expression="[T_MIN (X252)]*SIN(2*PI/[*INDEX:Last (X3)*]*x)" xvector="*INDEX (V1)*" 
interpolate="true" descriptiveNameIsManual="true" descriptiveName="REF-MIN-X" initialVNum="19" 
initialXNum="205" initialENum="7"/>
<equation expression="[T_MIN (X252)]*COS(2*PI/[*INDEX:Last (X3)*]*x)" xvector="*INDEX (V1)*" 
interpolate="true" descriptiveNameIsManual="true" descriptiveName="REF-MIN-Y" initialVNum="21" 
initialXNum="227" initialENum="8"/>
        ...
        ...
<equation expression="[T-MAX (X518)]*SIN(2*PI/[*INDEX:Last (X3)]**x)" xvector="*INDEX (V1)*" 
interpolate="true" descriptiveNameIsManual="true" descriptiveName="REF-MAX-X" initialVNum="43" 
initialXNum="474" initialENum="19"/>
<equation expression="[T-MAX (X518)]*COS(2*PI/[*INDEX:Last (X3)]**x)" xvector="*INDEX (V1)*" 
interpolate="true" descriptiveNameIsManual="true" descriptiveName="REF-MAX-Y" initialVNum="45" 
initialXNum="496" initialENum="20"/>
         ...
         ...
</objects>

Viewing the scalers I can see that *Time:y:Last (X667)* exists and has the expected value.



The vector *Time:y (V60)* also exists and has sensible values.



So I'm not sure why kst will not open the original file, but it's working now.

Regards, Ben

-------- Original Message --------
Subject: 	Corrupted kst file
Date: 	Fri, 06 Apr 2012 11:21:44 +1000
From: 	Ben Lewis <egretengineering at gmail.com>
Reply-To: 	egretengineering at gmail.com
Organisation: 	Egret Engineering
To: 	kst at kde.org



I have a .kst file that seems to have become corrupted.

When I try to open it I can the following error:

*Error opening document 'Path/to/kst/file.kst':
Maybe it is a kst 1 file which could not be read by kst 2.*

I've been working on this file for the last couple of days and I really don't want to have to 
recreate it from scratch. Any help in resurrecting this file will be much appreciated.

Even if this file cannot be saved in time for me to use it, it is probably worth investigating what 
went wrong to prevent another occurrence in the future.

I cannot upload the file to the list as it contains customer data that I'm not able to make public. 
But I can email it directly to somebody if they are able to help me out.

Regards, Ben

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kst/attachments/20120406/ff09d551/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bcgjaijf.png
Type: image/png
Size: 28145 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kst/attachments/20120406/ff09d551/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hdghjcac.png
Type: image/png
Size: 40422 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kst/attachments/20120406/ff09d551/attachment-0003.png>


More information about the Kst mailing list