[Kst] Strange problem using the change data file tool

George Staikos staikos at kde.org
Wed Jan 25 18:46:06 CET 2006


  file = KstDataSource::loadSource(filename);
  if (!file || !file->isValid() || file->isEmpty()) {

So either the datasource could not be loaded, it's not valid, or it's 
empty. ;-)

On Wednesday 25 January 2006 12:29, Brisset, Nicolas wrote:
> Hi,
>
> I have a problem which is driving me crazy: I have implemented a
> datasource for an internal format, and it works very well with the
> datawizard or the data manager. However, when I use d2asc or the "Change
> data file" tool, even though the plugin is called correctly, for some
> reason kst complains. D2asc says "d2asc error: file enreg.res.B has no
> data" and the GUI says "Impossible to load data file" (or something
> equivalent, I have it in French :-)).
> I'm really wondering why there is a difference here ??? Any hint as to
> where the problem could lie would be greatly appreciated.


-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/


More information about the Kst mailing list