Coder Social home page Coder Social logo

ffgo's People

Contributors

carmen890 avatar chris-blues avatar frougon avatar incorrectvalue avatar playerom avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ffgo's Issues

File `data/locale/en/LC_MESSAGES/FFGo.mo` missing, ffgo does not start up.

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.

thumbnail-no-Pillow.gif

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 :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.