I have been having issues with Kbasic 1 (releases 8 & 9) in openSUSE 11.2 KDE, yet, just checked it in another Linux Distro I no longer use, which did not have these issues...
I've been getting what appear to be "external errors" to KBasic using the
OpenDialog.GetFiles, OpenDialog.GetFile, OpenDialog.GetDir calls,
even though, in general, they still work - IOW, the string variables are still get filled with their values.
The errors pop up in dialogs (generally 3 of them, sometimes 2, sometimes 1), and at times (though not always), and also "yellow baloon popups" regarding an error like with
Code:
'Debug: kfilemodule(15396) / kde core (Services) now parsing Now Parsing '/home/opensuse/.local/share/mime/magic "
and at times, a kbrun error when this occurs, but not always.
One of them Dialog Errors is
Code:
Debug: (31629): Trying to open ksycoca from "/var/tmp/kdecache-opensuseVpx75k/ksycoca4"
I was wonder if there are issues with the 'kde' files, and/or, maybe it is an issue the chmod settings for these 'ksycoca4*' files...
Code:
-rw-r--r-- 1 opensuse users 1923350 2010-05-14 14:24 /var/tmp/kdecache-opensuseVpx75k/ksycoca4
-rw-r--r-- 1 opensuse users 686 2010-05-14 14:24 /var/tmp/kdecache-opensuseVpx75k/ksycoca4stamp
I tried deleting those files to see if the issue would be resolved, and woah, over 10 dialogs popped up with error messages - will not try that again!
Ironically, when this occurs, a KBasic Icon is placed in the system tray - curious, a no mouse clicks brings up anything when clicking on it.
Now, I did want to note that the errors occur only for the initial (first time) usage of OpenDialog.GetDirectory(...) during a program execution...
IOW, Once a OpenDialog.* is used the FIRST time while the program is running, the errors do NOT occur anythime you use it again, even when calling the very same method, i.e. OpenDialog.GetFile - it appears after the first usage, you can call the OpenDialog.GetDirectory(...) all day long as long as the program is running,
Another thing: When I compile a program to be an binary executable, the errors do NOT occur when executing the binary file from the Konsole/Bash command line - everything works fine there.
Regards,
Clifton