LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-24-2010, 05:24 PM   #1
Star_Gazer
Member
 
Registered: Aug 2009
Location: Virginia, United States
Distribution: openSUSE 11.2 KDE
Posts: 34

Rep: Reputation: 16
KBasic: ksycoca issues


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
 
Old 05-26-2010, 01:20 PM   #2
Star_Gazer
Member
 
Registered: Aug 2009
Location: Virginia, United States
Distribution: openSUSE 11.2 KDE
Posts: 34

Original Poster
Rep: Reputation: 16
Anyone?

Or No One?

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI Ain in Wonder 8500DV LINUX LIVE boot issues (and TV issues) Flashmahn Linux - Hardware 1 03-09-2009 06:40 AM
opening xls files in kbasic ashwinkumar Programming 1 01-25-2009 12:20 AM
help in kbasic!! ashwinkumar Linux - Software 2 01-24-2009 10:22 PM
LXer: KBasic Brings BASIC to Qt World LXer Syndicated Linux News 0 01-21-2009 01:10 PM
Dell m1210 Linux issues (having issues getting network working under Ubuntu) thebert Linux - Newbie 4 03-14-2008 03:47 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration