- marked as enhancement
Beremiz Launcher
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)
-
reporter -
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.
-
And the best place for discussions is mailing list. ;-)
-
link to the discussion on ML https://sourceforge.net/p/beremiz/mailman/message/35752071/
-
- changed status to resolved
- Log in to comment