Skip to content

Ошибка при открытии окна проектора #169

@Oreolek

Description

@Oreolek

программа открывается но вместо окна проектора выскакивает окно с ошибкой:

Traceback (most recent call last):
  File "FestEngine/src/main.pyw", line 569, in ensure_proj_win
    self.proj_win = ProjectorWindow(self, self.config[Config.PROJECTOR_SCREEN])
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "FestEngine/src/projector.py", line 140, in __init__
    self.countdown_panel = CountdownPanel(self)
                           ^^^^^^^^^^^^^^^^^^^^
  File "FestEngine/src/projector.py", line 92, in __init__
    self._recalculate_font_size()
  File "FestEngine/src/projector.py", line 101, in _recalculate_font_size
    font.SetPixelSize(wx.Size(0, font_height))
                      ^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Size(): arguments did not match any overloaded call:
  overload 1: too many arguments
  overload 2: argument 2 has unexpected type 'float'
  overload 3: argument 1 has unexpected type 'int'

Arch Linux, python-wxpython 4.2.1, python-vlc 3.0.20123, Python 3.11.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions