LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 11-13-2009, 06:48 AM   #1
PL5
LQ Newbie
 
Registered: May 2004
Posts: 10

Rep: Reputation: 1
Kubuntu 9.10-some programs don't work


Programs compiled with Lazarus (and have been working on Kubuntu 6.10, 8.04, 9.04, Suse 10, Fedora 5 etc.) don't work on K_9.10 / KDE 4.3.
(Upgrade K_9.04 -> 9.10). They started, but after first trial to select file for reading ended.
Error after 'Smith4VNA' started:
l@CML:~/test1/Smith4VNA
TApplication.HandleException Invalid floating point operation
Stack trace:
$00DFE481
TApplication.HandleException: there was another exception during showing the first exception
Stack trace:
$0807409F
$08074518
$080CC085
$08080ABF
$0822289A
$0823E590
$0057E9FC
$00571072
$005867A8
$00587B2D
$00587FB6
$0018D88A
$0018EEA8
$0057E9FC
$0056F6F9
$00571072
$005860B0
[FORMS.PP] ExceptionOccurred

(Smith4VNA:2067): Gtk-CRITICAL **: gtk_style_detach: assertion `style->attach_count > 0' failed
[FORMS.PP] ExceptionOccurred
l@CML:~/test1$

Any similar oppinion?
 
Old 11-13-2009, 08:19 AM   #2
PL5
LQ Newbie
 
Registered: May 2004
Posts: 10

Original Poster
Rep: Reputation: 1
Now i found that all works OK with root privileges only.
 
Old 11-16-2009, 02:21 AM   #3
PL5
LQ Newbie
 
Registered: May 2004
Posts: 10

Original Poster
Rep: Reputation: 1
After libraries were updated (15.11.2009) it seems to be OK.
 
Old 11-18-2009, 04:15 AM   #4
wollepatong
LQ Newbie
 
Registered: Jul 2003
Location: Phuket, Thailand
Distribution: Karmic Koala
Posts: 4

Rep: Reputation: 0
Could you please tell me, where and which libraries you updated? I am stuck in a project and cannot continue because of this problem :-(
Thank you.
 
Old 11-18-2009, 07:56 AM   #5
PL5
LQ Newbie
 
Registered: May 2004
Posts: 10

Original Poster
Rep: Reputation: 1
Sorry, I don't know. It was common update from rep - about 30 packages. But the problem is not solved yet - on another comp it persists. The only difference is:
- new installation K_9.10 from DVD: now OK
- upgrade from 9.04 (CD 'alternate') - persists.

The problem occurs after the file for *reading* is selected in dialog. If the file is selected *without* dialog (its name is defined inside the program), it works OK.

The selection file name for *writing* works OK every time.

All is OK if the program is started with root privileges (i.e. sudo <prog_name> ).
 
Old 11-19-2009, 12:34 AM   #6
wollepatong
LQ Newbie
 
Registered: Jul 2003
Location: Phuket, Thailand
Distribution: Karmic Koala
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by PL5 View Post
But the problem is not solved yet - on another comp it persists. The only difference is:
- new installation K_9.10 from DVD: now OK
- upgrade from 9.04 (CD 'alternate') - persists.
I did an upgrade with the alternate CD, too. The fastest way to reproduce the error here is to open the menu 'Package', then select 'Open package file'. The follwing dialog will show for a blink of the eye and then it goes boom :-(

I am not in a mood to do a complete reinstall, but if that is the only way to get up and running...
 
Old 11-19-2009, 03:44 AM   #7
PL5
LQ Newbie
 
Registered: May 2004
Posts: 10

Original Poster
Rep: Reputation: 1
Yes. But what about 'sudo startlazarus' ? It works for me.
 
Old 11-19-2009, 11:55 PM   #8
wollepatong
LQ Newbie
 
Registered: Jul 2003
Location: Phuket, Thailand
Distribution: Karmic Koala
Posts: 4

Rep: Reputation: 0
sudo startlazarus works here, too. The problem is, you can compile programs using sudo, but these will only run as sudo, if run by a 'normal' user they will crash and burn :-( I will try lazarus now on another machine which is a clean setup, and if that works I will do a re-install of Karmic. Grrrr....
 
Old 11-20-2009, 05:16 AM   #9
PL5
LQ Newbie
 
Registered: May 2004
Posts: 10

Original Poster
Rep: Reputation: 1
May be solution: change Widget style from 'QtCurve' to 'Raleigh'.
( Appearance -> GTK+Appearance -> Widget style )
Now all works OK :-)
 
Old 11-20-2009, 05:32 AM   #10
wollepatong
LQ Newbie
 
Registered: Jul 2003
Location: Phuket, Thailand
Distribution: Karmic Koala
Posts: 4

Rep: Reputation: 0
Amazing! You are a genius! This is it! It works!

Whenever you come to Phuket, we will have some beers on your findings... Thank you for this hint.

Edited to add:

I tried to run Lazarus on a clean install from CD before I read your comment, I did not work. In another desperate move, I tried it on a live system running from the DVD, no dice. But re-thinking it was all this QTCurve-appearance, which - by the way - I don't like anyway. Now I will have to explain this to the customers :-( Hopefully it will be fixed some day. Raleigh does it.

Last edited by wollepatong; 11-20-2009 at 06:41 AM. Reason: Addition of facts
 
  


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
Removing programs from startup in Kubuntu Feisty? tferero Linux - Newbie 7 10-19-2007 09:44 PM
Kubuntu S.O.S: Cannot use any root authorization programs Archoniam Ubuntu 7 09-02-2007 09:23 AM
CAD programs for Kubuntu mickeyboa Ubuntu 2 06-03-2007 12:00 PM
Installing programs under Kubuntu scuba14c Linux - Software 9 06-22-2006 01:51 PM
How to (un)install programs easily (Kubuntu) Wuzzie Linux - Software 8 07-20-2005 09:03 AM


All times are GMT -5. The time now is 06:27 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration