Board index FlightGear Development Scenery

Lyon Saint Exupery Scenery Project

Questions and discussion about enhancing and populating the FlightGear world.

Re: Lyon Saint Exupery Scenery Project

Postby rominet » Mon May 23, 2016 10:13 pm

Regarding your last output in this message, you should have something like:
Code: Select all
        self.translator = gettext.translation(
            MESSAGES, LOCALE_DIR, languages=[langCode])

at lines 239 and 240 of your file /data01/Flightgear/FFGo/ffgo/misc.py. It would certainly be helpful to add:
Code: Select all
        print("Locales debug: {!r}, {!r}, {!r}".format(
            MESSAGES, LOCALE_DIR, langCode))

just before these lines. Indentation matters: there must be 8 spaces before the word 'print'. Then you can rerun FFGo, copy the output and follow up on the the FFGo forum thread.
rominet
 
Posts: 550
Joined: Sat Nov 01, 2014 1:33 pm
Callsign: F-KATS
Version: Git next
OS: Debian GNU/Linux

Re: Lyon Saint Exupery Scenery Project

Postby rominet » Wed May 25, 2016 12:31 pm

For the record, the error here was, as far as I can tell, trying to run FFGo from a clone of its Git repository without following the instructions from the section Installation from the Git repository of docs/INSTALL/INSTALL_en. In short, the Git repository only contains source files, and thus must be "prepared" before one can run FFGo from a clone of the repo. This "preparation" (currently based on GNU Make and a few other tools), among other things, creates the .mo binary files from their .po sources in ffgo/data/locale/language-code/LC_MESSAGES. When the .mo files are absent, it is not surprising to get the error you had two days ago:
Code: Select all
FileNotFoundError: [Errno 2] No translation file found for domain: 'FFGo'

Mystery solved. :wink:
rominet
 
Posts: 550
Joined: Sat Nov 01, 2014 1:33 pm
Callsign: F-KATS
Version: Git next
OS: Debian GNU/Linux

Re: Lyon Saint Exupery Scenery Project

Postby legoboyvdlp » Fri May 27, 2016 11:23 am

rominet wrote in Mon May 23, 2016 9:06 pm:Unfortunately, legoboy did not give the debug output while he had the error, and he suddenly said it all worked without explaining what he had changed to get rid of the error...


Installing the upgrade using the command you gave me did it all :)
User avatar
legoboyvdlp
 
Posts: 5826
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: 2018.3.1
OS: Windows 10 HP

Re: Lyon Saint Exupery Scenery Project

Postby rominet » Sat May 28, 2016 3:11 pm

Okay, I understand now: I uploaded a tarball/zip file with debug statements for you at that time, and the simple fact of installing it made the problem disappear, since these always contain the .mo files. You are forgiven, my son. :wink:
rominet
 
Posts: 550
Joined: Sat Nov 01, 2014 1:33 pm
Callsign: F-KATS
Version: Git next
OS: Debian GNU/Linux

Re: Lyon Saint Exupery Scenery Project

Postby daweed » Wed Jun 15, 2016 11:41 am

TGV Station in progress


Image
Linux Mint 18.3
AMD FX 4300 Quad-Core Black Edition|20 Go RAMGeForce GTX 750 Ti
FG Interface
Lyon Saint Exupery Scenery
daweed
 
Posts: 264
Joined: Thu Dec 11, 2014 10:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Windows 10 Familly

Re: Lyon Saint Exupery Scenery Project

Postby daweed » Fri Nov 02, 2018 9:42 pm

New Visitor, AFR713 :

Image
Linux Mint 18.3
AMD FX 4300 Quad-Core Black Edition|20 Go RAMGeForce GTX 750 Ti
FG Interface
Lyon Saint Exupery Scenery
daweed
 
Posts: 264
Joined: Thu Dec 11, 2014 10:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Windows 10 Familly

Re: Lyon Saint Exupery Scenery Project

Postby nuno.seletti » Fri Nov 02, 2018 9:50 pm

:D Awesome scenery !
User avatar
nuno.seletti
 
Posts: 74
Joined: Wed Oct 12, 2016 2:01 pm
Location: Toulouse, France
Callsign: Foxtrot
Version: 3.4.0
OS: Windows

Re: Lyon Saint Exupery Scenery Project

Postby daweed » Sat Nov 17, 2018 7:18 pm

Some Visitor in Lyon Yesterday

AIB-A37 , Airbus A340

Image

Image

Image

DLH-09F, Lufthansa A320 Neo

Image

Image

Taxing to departure and Take Off

Image

Image

JESUS, Boeing 777-300

Image

Image

3 On Block

Image
Linux Mint 18.3
AMD FX 4300 Quad-Core Black Edition|20 Go RAMGeForce GTX 750 Ti
FG Interface
Lyon Saint Exupery Scenery
daweed
 
Posts: 264
Joined: Thu Dec 11, 2014 10:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Windows 10 Familly

Previous

Return to Scenery

Who is online

Users browsing this forum: No registered users and 3 guests

cron