Board index FlightGear Development New features

Simple FG GUI front-end for Linux

Discussion and requests for new features. Please note that FlightGear developers are volunteers and may or may not be able to consider these requests.

Re: Simple FG GUI front-end for Linux

Postby hamster » Fri Oct 01, 2010 9:11 pm

FGo! is now avaible in the "ArchLinux User Repository".
just search for "FlightGear" or "fgo".

hamster :mrgreen:
hamster
 
Posts: 26
Joined: Tue Sep 28, 2010 7:50 pm
Location: Germany
Callsign: hamster
Version: Git
OS: Arch Linux

Re: Simple FG GUI front-end for Linux

Postby skyop » Sat Oct 02, 2010 5:19 am

I'm having some problems with my FGo! installation. The aircraft and airport lists always come up empty, and I can only start the program if I delete any preexisting configuration files.

Code: Select all
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1413, in __call__
    return self.func(*args)
  File "/home/****/Downloads/fgo/src/gui.py", line 958, in searchAircrafts
    self.buildAircraftList()
  File "/home/****/Downloads/fgo/src/gui.py", line 298, in buildAircraftList
    for i in self.config.aircraft_list:
AttributeError: Config instance has no attribute 'aircraft_list'

Code: Select all
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1413, in __call__
    return self.func(*args)
  File "/home/****/Downloads/fgo/src/gui.py", line 985, in searchAirports
    self.buildAirportList()
  File "/home/****/Downloads/fgo/src/gui.py", line 302, in buildAirportList
    L = zip(self.config.airport_icao, self.config.airport_name)
AttributeError: Config instance has no attribute 'airport_icao'


Any idea what's going on? I'd REALLY like to try this program out, the "get airport data from scenery" feature has me sold.
Aircraft: [ CRJ700-family | DC-10-30 ] Scenery: [ KBFL ]
skyop
 
Posts: 3040
Joined: Mon Jun 14, 2010 1:40 am
Location: Austin, Texas, USA
IRC name: skyop
Version: next
OS: Fedora 23/Windows 10

Re: Simple FG GUI front-end for Linux

Postby chris_blues » Sat Oct 02, 2010 8:06 pm

Do you have all depencies satisfied? You can look it up in the help, or /fgo/src/help/**
Do you have entered the paths to your binaries etc?
Which OS do you use? - I've never seen something like this... :shock:
Last edited by chris_blues on Sat Oct 02, 2010 8:07 pm, edited 1 time in total.
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian stable 64bit - i7 8x2.8GHz - 20GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
Retired
 
Posts: 1577
Joined: Mon May 03, 2010 2:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian stable 64

Re: Simple FG GUI front-end for Linux

Postby skyop » Sat Oct 02, 2010 8:07 pm

chris_blues wrote:Do you have all depencies satisfied? You can look it up in the help, or /fgo/src/help/**


Yeah, I believe so.

chris_blues wrote:Which OS do you use? - I've never seen something like this... :shock:


Ubuntu 10.04.
Aircraft: [ CRJ700-family | DC-10-30 ] Scenery: [ KBFL ]
skyop
 
Posts: 3040
Joined: Mon Jun 14, 2010 1:40 am
Location: Austin, Texas, USA
IRC name: skyop
Version: next
OS: Fedora 23/Windows 10

Re: Simple FG GUI front-end for Linux

Postby chris_blues » Sat Oct 02, 2010 8:12 pm

Boy! You're quick! :)

Do you have entered the paths to your binaries etc?
Which version of FGo are you running? 1.3.1?
I'm still on 1.3.0 ... maybe thats why I hanven't seen it before... I'll upgrade...
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian stable 64bit - i7 8x2.8GHz - 20GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
Retired
 
Posts: 1577
Joined: Mon May 03, 2010 2:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian stable 64

Re: Simple FG GUI front-end for Linux

Postby skyop » Sat Oct 02, 2010 8:13 pm

Yeah, paths entered correctly. :(

I'm using the latest (1.3.1).
Aircraft: [ CRJ700-family | DC-10-30 ] Scenery: [ KBFL ]
skyop
 
Posts: 3040
Joined: Mon Jun 14, 2010 1:40 am
Location: Austin, Texas, USA
IRC name: skyop
Version: next
OS: Fedora 23/Windows 10

Re: Simple FG GUI front-end for Linux

Postby skyop » Sat Oct 02, 2010 8:16 pm

WAIT a minute, I think I might know the problem- apparently you can't use a Terrasync directory as your regular scenery directory. :o

I'll retest using my GIT copy of FG instead of my 2.0.0 copy.
Aircraft: [ CRJ700-family | DC-10-30 ] Scenery: [ KBFL ]
skyop
 
Posts: 3040
Joined: Mon Jun 14, 2010 1:40 am
Location: Austin, Texas, USA
IRC name: skyop
Version: next
OS: Fedora 23/Windows 10

Re: Simple FG GUI front-end for Linux

Postby skyop » Sat Oct 02, 2010 8:21 pm

Yeah, looks like FGo isn't compatible with FlightGear Git. I wonder why...

One option I'd like to see is getting the parking positions from the Terrasync directory, so you can use the latest AI ground networks. :)

EDIT: Okay, it works with GIT, but only if I run the program using the 2.0.0 data the first time to generate the APT database.
Aircraft: [ CRJ700-family | DC-10-30 ] Scenery: [ KBFL ]
skyop
 
Posts: 3040
Joined: Mon Jun 14, 2010 1:40 am
Location: Austin, Texas, USA
IRC name: skyop
Version: next
OS: Fedora 23/Windows 10

Re: Simple FG GUI front-end for Linux

Postby chris_blues » Sat Oct 02, 2010 8:28 pm

Strange! I have now 1.3.1 running and it works just fine. I've renamed my ~/.fgo -folder and so started with a new one and also have set $FGSCENERY to my terrasync-folder. It just works here...
Also running git...
:?:
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian stable 64bit - i7 8x2.8GHz - 20GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
Retired
 
Posts: 1577
Joined: Mon May 03, 2010 2:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian stable 64

Re: Simple FG GUI front-end for Linux

Postby erobo » Mon Oct 04, 2010 6:01 pm

Hi skyop,

sorry to hear that you are having problems with FGo.
...it works with GIT, but only if I run the program using the 2.0.0 data the first time to generate the APT database.

Maybe your copy of fgdata/Airports/apt.dat.gz file in Git is somehow corrupted? FGo is using this file to generate apt database. I'm also using Git and all works fine on my machine.

Regards,
Robert
erobo
 
Posts: 98
Joined: Thu Mar 20, 2008 12:10 am
Location: Poland

Re: Simple FG GUI front-end for Linux

Postby skyop » Tue Oct 05, 2010 12:40 am

erobo wrote:Maybe your copy of fgdata/Airports/apt.dat.gz file in Git is somehow corrupted? FGo is using this file to generate apt database. I'm also using Git and all works fine on my machine.


I downloaded the latest apt.dat.gz from the mapserver, so maybe that had something to do with it. Let me try it using the original data.
Aircraft: [ CRJ700-family | DC-10-30 ] Scenery: [ KBFL ]
skyop
 
Posts: 3040
Joined: Mon Jun 14, 2010 1:40 am
Location: Austin, Texas, USA
IRC name: skyop
Version: next
OS: Fedora 23/Windows 10

Re: Simple FG GUI front-end for Linux

Postby chris_blues » Thu Oct 07, 2010 1:08 am

skyop wrote:Let me try it using the original data.


...and??? Did it work out?

Anyway, I've had some strange phenomena concerning scenery, using the latest GIT-Versions... look-a-here:Image
Very nicely done anyway (the scenery), this is EDDF, when you drive 07R straight ahead...
These walls you see, should be even ground, but I guess this belongs to another topic... or could it be the "airport-data-source == scenery" - option?

Grateful for opinions...
chris
Last edited by chris_blues on Sat Oct 16, 2010 12:19 pm, edited 1 time in total.
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian stable 64bit - i7 8x2.8GHz - 20GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
Retired
 
Posts: 1577
Joined: Mon May 03, 2010 2:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian stable 64

Re: Simple FG GUI front-end for Linux

Postby erobo » Thu Oct 07, 2010 2:09 am

These walls you see, should be even ground, but I guess this belongs to another topic... or could it be the "airport-data-source == scenery" - option?

I think it's rather a glitch in landmass shader...

But the real question is, what you are doing in Cessna Citation on public road? :D
erobo
 
Posts: 98
Joined: Thu Mar 20, 2008 12:10 am
Location: Poland

Re: Simple FG GUI front-end for Linux

Postby chris_blues » Thu Oct 07, 2010 10:26 am

I just had to see! :shock: I've seen the signs as I took off EDDF, and I had to make sure I've seen what I've seen... :D
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian stable 64bit - i7 8x2.8GHz - 20GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
Retired
 
Posts: 1577
Joined: Mon May 03, 2010 2:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian stable 64

Re: Simple FG GUI front-end for Linux

Postby chris_blues » Fri Oct 15, 2010 12:36 pm

So folks! Yet another experiment has passed 8) and I can announce that FGo! runs pretty easy on Windows. Though FlightGear on windows is not so nice. Veery slow and laggy... Maybe I didn't fine-tune it right... anyway...

Here ya go:
Just download and install python-2.6.6.msi and PIL-1.1.7.win32-py2.6.exe, install them (in this order!), and have fun flying via FGo! :)

To start FGo! in command-window, navigate to your FGo!-folder (via "cd folder") and then start FGo! with
Code: Select all
c:\path\to\python26\python.exe fgo


I'm sure there are more elegant ways to start it, but this was my first attempt...
I tested this on Win XP-SP3. I have no idea if there are problems on other Wins...

Cheers!
chris

EDIT: If you rename the file "c:\path\to\fgo\fgo" to "c:\path\to\fgo\fgo.py" it works just out of the box... no command-terminal etc needed...
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian stable 64bit - i7 8x2.8GHz - 20GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
Retired
 
Posts: 1577
Joined: Mon May 03, 2010 2:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian stable 64

PreviousNext

Return to New features

Who is online

Users browsing this forum: No registered users and 7 guests