Kubuntu problem

4 posts / 0 new
Last post
PA2BX
PA2BX's picture
Kubuntu problem

I have a vanilla Kubuntu 10.4 installation with a twist: CQRlog will start, but file windows, like Import and Export ADIF crash the program. The backtrace is as follows:

./cqrlog
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
IniFile:/home/hans/cqrlog/log_data/cqrlog.cfg
Starting CQRLOG ...
An error has occured setting the serial speed:9600
An error has occured setting the serial speed:9600
TApplication.HandleException Invalid floating point operation
Stack trace:
$00A14761
$00A313BC
$0117F0E1
$01213350
$01214F59
$010FD424
$0031B8B9
$0031D252
$003315E6
$00332C33
$00333256
$0122A636
$010F711B
$00ADE84B
$00ADE7FA
$00ADE7FA
$00B07AD4

(cqrlog:8387): Gtk-CRITICAL **: gtk_style_detach: assertion `style->attach_count > 0' failed
TApplication.HandleException: there was another exception during showing the first exception
Stack trace:
$010EE949
$010EF0B4
$010FA58F
$0031B8B9
$0031D252
$003315E6
$00332DB4
$00333256
$0122E341
$0116363F
$0032A2D8
$0031B8B9
$0031D252
$0033123A
$00332DB4
$00333256
$0106CDA1
[FORMS.PP] ExceptionOccurred

I'd check for dependencies, but no luck yet. Anyone any idea's?

Tnx and 73,

Hans

ok2cqr
ok2cqr's picture
Re: Kubuntu problem

Hi Hans,

somewhere in KDE preferences is settings where you can choose theme for GTK apps. Please try another theme. I know there was a problem with clearlooks theme. But I'm not sure. Please let me know if it helps. Thank you.

73 Petr, OK2CQR

PA2BX
PA2BX's picture
You nailed it Petr! However,

You nailed it Petr! However, the default GTK+ Style is QTcurve, not Clearlooks for Kubuntu 10.4. I changed it to the other installed style (Raleigh) and now the windows open like normal without crashing the program. I'm good to go now. Thanks and 73 de PA2BX

N0NB
GTK theme per application

I fought this and found that a given theme can be specified in the application menu or desktop icon's properties. As I am using QtCurve by default, I really didn't like having to forgo visual integration of GTK apps into KDE just for CQRlog. So here is the trick, prepend the application path with a local environment variable in the Command entry box:

GTK2_RC_FILES=$HOME/.themes/Nates/gtk-2.0 /home/nate/cqrlog/cqrlog

Where the theme is a color customized theme of Raleigh, in my case, but could be any GTK theme that works well with CQRlog. This way only CQRlog uses the odd/ugly/out of place theme and the rest of the apps can continue to use QtCurve or the user's preference.