Bug 4710 - yaflight does not start
Summary: yaflight does not start
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Matteo Pasotti
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2012-02-26 23:44 CET by José Jorge
Modified: 2012-03-01 14:52 CET (History)
0 users

See Also:
Source RPM: yaflight
CVE:
Status comment:


Attachments

Description José Jorge 2012-02-26 23:44:28 CET
yaflight.gambas 
gb.gui: unable to load 'gb.gtk' component
ERROR: #2: Cannot load class 'ButtonBox': Cannot load parent class: Cannot load class 'UserControl': Unable to load class file

yaflight-qt-0.1.9-1.mga2
Comment 1 José Jorge 2012-02-26 23:48:23 CET
urpmi gambas3-gb-gtk fixed the problem, looks like the qt uses gtk?

Still, it does not work against flightgear 2.6
Comment 2 Manuel Hiebel 2012-02-27 12:52:08 CET
Hi, thanks for reporting this bug.
Assigned to the package maintainer.

(Please set the status to 'assigned' if you are working on it)

Keywords: (none) => Triaged
Assignee: bugsquad => pasotti.matteo
Source RPM: (none) => yaflight

Comment 3 Matteo Pasotti 2012-02-27 22:11:48 CET
yaflight-qt 0.1.9 uses gambas3 gb.gui component that automatically switch to the available library (gtk or qt) so it should work installing qt4 libraries that are already required by the package itself (i.e. Requires: gambas3-gb-qt4).

José can you tell me in which desktop/window environment are you running yaflight, please? I mean KDE, GNOME or whatever else.
It would be useful if you attach the output of the command
rpm -qa | egrep '(gambas3|yaflight)'

In the meanwhile I'll investigate trying to reproduce the problem.

Regards
Comment 4 Matteo Pasotti 2012-02-27 22:45:46 CET
About the support for flightgear 2.6.0:

yaflight 0.1.9 still don't support flightgear 2.6.0 (see the upstream website).
The next release will do, so I'll try to package the svn version that seems to solve this bug hopying for a stable release before the package freezing.

Errata about comment #3: gb.gui uses the library of the desktop environment you're currently using so if you're using gnome or xfce or lxde you need yaflight-gtk rather than yaflight-qt, even if you have installed qt4 libs. This is a limit of the gb.gui component not a yaflight bug itself. I've developed two packages (-qt and -gtk) trying to help people but the behavior of gb.gui component doesn't help.

The next yaflight release will use qt4 libraries only, so this (apparent) inconsistence will be solved, too.
Comment 5 Matteo Pasotti 2012-02-28 17:30:21 CET
yaflight-0.1.10-0.svn.1 is now available on our repositories.
I've done some local test and it seems to work fine with flightgear 2.6.0. 
This version don't rely on gb.gui component. It rely on gb.qt4 component only.
I would ask José to help me giving some feedback about this upgrade to know if it solves the problems reported. 

I'll wait his reply before marking this br as solved.

Regards
Comment 6 José Jorge 2012-02-29 20:50:31 CET
That's it. I use LXDE, and new version works. Thanks, that's a nice tool.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 7 Matteo Pasotti 2012-03-01 14:52:03 CET
Fine :-)
I'm closing this bug report.
Thank you for reporting the problem.

Note You need to log in before you can comment on or make changes to this bug.