Project

Profile

Help

Bug #146

A crash on opening the SharpScript console

Added by Vincent Le Goff over 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Category:
-
Sprint/Milestone:
% Done:

100%

Company:
-
Contact person:
-
Additional contact persons:
-

Description

In the fr translation, this problem arises due to a bad usage of braces:

Traceback (most recent call last):
  File "D:\src\cocomud\src\ui\window.py", line 385, in OnSharpScriptConsole
    dialog = SharpScriptConsoleDialog(self.session)
  File "D:\src\cocomud\src\ui\dialogs\sharp_script_console.py", line 123, in __init__
    self.panel = SharpScriptConsolePanel(self, session)
  File "D:\src\cocomud\src\ui\dialogs\sharp_script_console.py", line 57, in __init__
    self.Send(t("ui.dialog.sharp_script_console.banner"))
  File "C:\Users\Vincent Le Goff\.virtualenvs\cocomud-jujd1AS7\lib\site-packages\ytranslate\tools.py", line 98, in t
    return FSLoader.current_catalog.retrieve(address, count, **kwargs)
  File "C:\Users\Vincent Le Goff\.virtualenvs\cocomud-jujd1AS7\lib\site-packages\ytranslate\catalog.py", line 246, in retrieve
    return message.format(count=count, **kwargs)
KeyError: 'Et un message plus long'

History

#1 Updated by Vincent Le Goff 5 months ago

  • Status changed from Open to Closed
  • Assignee set to Vincent Le Goff
  • % Done changed from 0 to 100

It seems this bug was fixed almost immediately after the update. Testing in commit feed0779104f93ab2f7e8956fdc29ee1d25c9c55, I'm not able to see this error and the traceback shows it was a mistake.

#2 Updated by Vincent Le Goff 5 months ago

  • Sprint/Milestone set to 17

Please register to edit this issue

Also available in: Atom PDF Tracking page