Bug 217336

Summary: Cannot open data files
Product: [Applications] kst Reporter: Roger Oberholtzer <roger>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal CC: netterfield
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Roger Oberholtzer 2009-12-04 14:55:33 UTC
Version:           2.0 (using KDE 4.3.1)
Compiler:          gcc 
OS:                Linux
Installed from:    openSUSE RPMs

The Data Manager should allow one to open a data file. Perhaps with CSV content. Doing so results in a KDE dialog with the title "Find directory", but one can never choose a file. As such, it is not possible to get data into kst. Why it is looking for a directory when it should be looking for a data files is a mystery.
Comment 1 Roger Oberholtzer 2009-12-04 15:00:09 UTC
In my original description, I should have written "Data Wizard", not Data Manager. Sorry.
Comment 2 Nicolas Brisset 2009-12-04 15:17:34 UTC
I think I had that as well with an old 2.0.0 beta version. It has been fixed since then.
There is currently no 2.0.0 final version, and I suspect you have installed an old beta from your distro's packages. Could you try upgrading to a more recent version? The easiest way would be to compile from the sources, however if you don't feel comfortable with that we could possibly try to create a .rpm from a more recent source tarball. Let us know whether you can handle compiling on your own, need instructions to compile or a package as you don't want to compile from sources.
The currently active svn branch is at svn://anonsvn.kde.org/home/kde/branches/work/kst/portto4/kst
Comment 3 Roger Oberholtzer 2009-12-04 16:16:04 UTC
I can try to compile. I have re-compiled the 2.0 beta, so I think I have all needed parts installed. Is it possible to get the current source via http? When I try the svn: source, I get;

svn: Can't connect to host 'anonsvn.kde.org': Connection refused
Comment 4 Nicolas Brisset 2009-12-04 22:59:52 UTC
It should work, unless you are behind a firewall. In that case https works fine but you need a KDE SVN account, or you may try the following tip from techbase (http://techbase.kde.org/Getting_Started/Build/anonsvn.html):
"If your firewall doesn't allow access to arbitrary ports, substitute svn://anonsvn.kde.org/ with svn://websvn.kde.org:443/ above."

It can also be that svn:// does not work through the proxy, in that case I don't know how you can do, apart from doing the checkout from a machine directly connected to the Internet...
Comment 5 Roger Oberholtzer 2009-12-07 19:02:47 UTC
I have downloaded the latest via svn. Now I am able to select a file. However, the column list that one normally gets in the next dialog is empty. It is a text file with space delimiters, as I have always used with kst. I am fairly certain that the values in the Data Wizard dialog are correct. They look to be the same as in the 1.7 release I use.
Comment 6 Nicolas Brisset 2009-12-12 00:10:27 UTC
Interestingly, I'm seeing the same thing here. If you configure a datasource from within the wizard using the "Configure..." button, the values are not taken into account. But if you close kst, the next time it will work.
That's definitely a bug, which wasn't there not so long ago...
But I'd say it will be gone when bug #215931 is fixed for good!
Comment 7 Netterfield 2009-12-15 16:06:36 UTC
Appears to be fixed with the fix to 216574.  Please re-open if you still have troubles after updating to svn.