Beremiz Launcher

Issue #22 resolved
Павел Бельтюков created an issue

Hi, Andrey!

We started to port IDE to new launcher, but we suddenly are having some problems with it.

First of all we have locale issue when using launcher (locale is set to english) on startup.

Looks like problem is that code:

def LoadExtensions(self):
    for extfilename in self.extensions:
        from util.TranslationCatalogs import AddCatalog
        from util.BitmapLibrary import AddBitmapFolder
        extension_folder = os.path.split(os.path.realpath(extfilename))[0]
        sys.path.append(extension_folder)
        AddCatalog(os.path.join(extension_folder, "locale"))
        AddBitmapFolder(os.path.join(extension_folder, "images"))
        # execfile(extfilename, locals())

We found a workaround but it's ugly:https://github.com/nucleron/IDE/commit/dc6f673c809b9e3a8e6db8755c90abf39250e487

Can you tell us the correct way of using the launcher?

Thanks in advance!

Best regards, Paul Beltyukov

Comments (5)

  1. Andrey Skvortsov

    This exactly what I asked for, when asked for patch review. Actually your problem is not related to Beremiz launcher at all.

    Could you more precisely tell what is not working and what is your "ugly workaround"? Your patch commit touches many thing at the same time.

  2. Log in to comment