[Bug 213158] New: Can't change data file if it has columns headers

View: New views
6 Messages — Rating Filter:   Alert me  

[Bug 213158] New: Can't change data file if it has columns headers

by Bugzilla from eric.estievenart@free.fr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

           Summary: Can't change data file if it has columns headers
           Product: kst
           Version: unspecified
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst@...
        ReportedBy: eric.estievenart@...


Version:            (using KDE 4.3.2)
OS:                Linux
Installed from:    Debian testing/unstable Packages

Create a simple plot with the following data:
-----------
x y
1 1
2 3
-----------
(use the data wizard, say that first row is the column title)

Then Tools/Change data file...
Use the same file (or one with same structure)

=> Error like fields x, y are not available.

Indeed there is no way to specify the structure of the file,
but maybe it should be guessed from the original one ?

Tested with 1.7 (debian old binary, sic) and
latest svn from kde4 port branch.

Cheers, and go on, it is really a great tool !

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kst mailing list
Kst@...
https://mail.kde.org/mailman/listinfo/kst

[Bug 213158] Can't change data file if it has columns headers

by Bugzilla from eric.estievenart@free.fr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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





--- Comment #1 from Eric Estievenart <eric estievenart free fr>  2009-11-04 23:14:30 ---
Of course a possible work-around is to avoid
the use of column names in the files, but...
I don't really like to have them named 1,2,3,...

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kst mailing list
Kst@...
https://mail.kde.org/mailman/listinfo/kst

[Bug 213158] Can't change data file if it has columns headers

by Bugzilla from nicolas.brisset@eurocopter.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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





--- Comment #2 from Nicolas Brisset <nicolas brisset eurocopter com>  2009-11-05 09:04:06 ---
I believe it should work if you configure the ASCII datasource from Settings ->
Configure Kst -> Data Sources tab -> Data source: ASCII File Reader to always
accept files matching your name pattern (e.g. *.dat) and configure *.dat to
have that specific format.
At least it used to work with older versions, I haven't checked recently.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kst mailing list
Kst@...
https://mail.kde.org/mailman/listinfo/kst

[Bug 213158] Can't change data file if it has columns headers

by Bugzilla from arwalker@sumusltd.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Andrew Walker <arwalker@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arwalker@...




--- Comment #3 from Andrew Walker <arwalker sumusltd com>  2009-11-06 04:23:07 ---
It would seem worthwhile to at least have a Configure... button next to the
selected file, so that the user can override the default configuration.

The problem with guessing the file structure from the old one is that the input
vectors may come from several different files, all with different
configurations.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kst mailing list
Kst@...
https://mail.kde.org/mailman/listinfo/kst

[Bug 213158] Can't change data file if it has columns headers

by Bugzilla from arwalker@sumusltd.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Andrew Walker <arwalker@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from Andrew Walker <arwalker sumusltd com>  2009-11-06 05:30:12 ---
SVN commit 1045437 by arwalker:

BUG:213158 Allow the user to configure a datasource from within the 'Change
Data File' dialog

 M  +201 -149  changefiledialog.ui  
 M  +117 -5    kstchangefiledialog_i.cpp  
 M  +5 -7      kstchangefiledialog_i.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1045437

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kst mailing list
Kst@...
https://mail.kde.org/mailman/listinfo/kst

[Bug 213158] Can't change data file if it has columns headers

by Bugzilla from eric.estievenart@free.fr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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





--- Comment #5 from Eric Estievenart <eric estievenart free fr>  2009-11-06 20:54:25 ---
Whaou, you are very reactive, thanks a lot !
I'll test that as soon as I find some time to build it

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kst mailing list
Kst@...
https://mail.kde.org/mailman/listinfo/kst