frougon / ffgo Goto Github PK
View Code? Open in Web Editor NEWA powerful graphical launcher for FlightGear
License: Do What The F*ck You Want To Public License
A powerful graphical launcher for FlightGear
License: Do What The F*ck You Want To Public License
When I run ffgo from this git-repository, I get an error about some missing translation:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/ffgo/misc.py", line 244, in __init__
self.translator = gettext.translation(
File "/usr/lib/python3.9/gettext.py", line 592, in translation
raise FileNotFoundError(ENOENT,
FileNotFoundError: [Errno 2] No translation file found for domain: 'FFGo'
Error: unable to initialize the translation system. Your installation is
missing the file '/usr/lib/python3.9/site-
packages/ffgo/data/locale/en/LC_MESSAGES/FFGo.mo'. If you simply cloned or
downloaded FFGo's Git repository, it is quite normal that .mo files are
missing (they must be generated from their .po sources). Please refer to
FFGo's installation guide: docs/INSTALL/INSTALL_en. It has specific
instructions that must be followed for a successful installation from the Git
repository.
My locale is:
locale
:
LANG=C
LC_CTYPE=en_US.UTF8
LC_NUMERIC=C
LC_TIME=C
LC_COLLATE=C
LC_MONETARY=C
LC_MESSAGES=C
LC_PAPER=de_DE.UTF8
LC_NAME=C
LC_ADDRESS=C
LC_TELEPHONE=C
LC_MEASUREMENT=C
LC_IDENTIFICATION=C
LC_ALL=
Running the latest release, version 1.12.7 from here, does not produce the error but works.
I use the Arch Linux package from the AUR.
I was using ffgo per some time. Later, to test the translation, I deleted the ~/.ffgo/config
file and then ffgo crashed:
WARNING: Nie można znaleźć domyślnego samolotu: c172p
FFGo 1.12.7 uruchomiony
Używając:
- Python 3.8.10
- CondConfigParser 1.0.5
- Implementacja GeographicLib w Pythonie 3: wersja 1.50
- MagneticField: GeographicLib version 1.50.1
Wykryta wersja FlightGear: brak
Traceback (most recent call last):
File "./ffgo-launcher.py", line 14, in <module>
ffgo.main.main()
File "/media/romek/DATA/fgfs/FFGo/ffgo/main.py", line 190, in main
res = run(master, params)
File "/media/romek/DATA/fgfs/FFGo/ffgo/main.py", line 122, in run
app = App(master, config, params)
File "/media/romek/DATA/fgfs/FFGo/ffgo/gui/mainwindow.py", line 434, in __init__
self.updateImage()
File "/media/romek/DATA/fgfs/FFGo/ffgo/gui/mainwindow.py", line 2323, in updateImage
self.image = self.getImage(aircraft)
File "/media/romek/DATA/fgfs/FFGo/ffgo/gui/mainwindow.py", line 1185, in getImage
image = PhotoImage(file=NO_PIL_PIC)
File "/usr/lib/python3.8/tkinter/__init__.py", line 4064, in __init__
Image.__init__(self, 'photo', name, cnf, master, **kw)
File "/usr/lib/python3.8/tkinter/__init__.py", line 4009, in __init__
self.tk.call(('image', 'create', imgtype, name,) + options)
_tkinter.TclError: couldn't open "/media/romek/DATA/fgfs/FFGo/ffgo/data/pics/thumbnail-no-Pillow.gif": no such file or directory
Interestingly, after created a file thumbnail-no-Pillow.gif
(based on thumbnail-no-Pillow.svg
) it launched correctly :)
Dear maintainer,
a recent update of the python3-tk (in Debian bullseye) to version 3.8.2 is causing ffgo to crash. Attached is a patch solving the problem.
Best regards,
Pavel
I can't select the airport, but i can search in the meun airport tool
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.