Summary: | kst tries to load netCDF files with the ASCII datasource | ||
---|---|---|---|
Product: | [Applications] kst | Reporter: | Nicolas Brisset <nicolas.brisset> |
Component: | datasources | Assignee: | kst |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | syntheticpp |
Priority: | NOR | ||
Version: | 2.0.1 | ||
Target Milestone: | 2.0.1 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Nicolas Brisset
2010-09-01 23:35:40 UTC
I forgot to mention that kst2 is compiled from sources with the build-kst script and executed from the build dir with run-kst, in case it matters (I don't see why it should...) No problems under Windows with the released 2.0.1-beta1 binaries. Also no problems with a fresh build under Linux, but I've used QtCreator (could be installed as non-root). Hum. I have just tried it on my Linux PC at work (built with the script), and it works. Probably something broke during compilation at home. I'll close this as soon as I get a chance to try a complete fresh build at home. I think I did a first compilation run before installing netcdf and gsl devel packages and relaunched the script after installing them. It did not recompile everything, maybe something slipped through. I can confirm that even a completely clean build does not help here. The config is: openSuse 11.3, kst2 compiled from latest snapshot, netcdf-devel package installed and following message from qmake: Project MESSAGE: Found netcdf at -lnetcdf Project MESSAGE: Using netcdf headers in /usr/include The funny thing is that the .so file gets built and seems to be loaded (judging from the list in the debug dialog). Does anybody have an idea what could have gone wrong? I've found the explanation! This is due to the fact that my path contains special characters ("Téléchargements"), and the filename is transformed into something that NcFile does not understand: QByteArray bytes = filename.toLatin1(); NcFile *ncfile = new NcFile(bytes.constData()); I can work around it (by using a different path) but I don't know how to fix it properly. Yet. SVN commit 1181993 by brisset: Utf8 seems to be the way to go... At least it works here with French locale. BUG: 249803 M +2 -3 kstnetcdf.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1181993 There is no version list for "Version Fixed in". Use Target Milestone as indicator when the bug was fixed. |