Skip to content

split MIDI client option units can't be unsplit in the in/out kinda way, can also lead to breaking the config #262

@mxmilkiib

Description

@mxmilkiib

it crashes the app

then I reopened from the terminal and, iirc, did something in the config, then it crashed again

Connecting GUI to existing ray-daemon port 16187
Traceback (most recent call last):
  File "/usr/share/raysession/src/gui/patchbay/calbacker.py", line 27, in receive
    self.__getattribute__(func_name)(*args)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/usr/share/raysession/src/gui/patchbay/calbacker.py", line 80, in _group_layout_change
    group.set_layout_mode(port_mode, layout_mode)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/raysession/src/gui/patchbay/base_elements.py", line 877, in set_layout_mode
    patchcanvas.set_group_layout_mode(self.group_id, port_mode, layout_mode)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/raysession/src/gui/patchbay/patchcanvas/patchcanvas.py", line 75, in wrapper
    return func(*args, **kwargs)
  File "/usr/share/raysession/src/gui/patchbay/patchcanvas/patchcanvas.py", line 715, in set_group_layout_mode
    box.update_positions()
    ~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/share/raysession/src/gui/patchbay/patchcanvas/box_widget.py", line 1091, in update_positions
    titles_dict = self._choose_title_layout(
        height_for_ports, height_for_ports_one,
        max_in_width, max_out_width)
  File "/usr/share/raysession/src/gui/patchbay/patchcanvas/box_widget.py", line 693, in _choose_title_layout
    area_size, lines_choice, one_column, title_on_side = sizes_tuples[0]
                                                         ~~~~~~~~~~~~^^^
IndexError: list index out of range
zsh: IOT instruction (core dumped)  raysession

edit: also managed to get

Traceback (most recent call last):
  File "/usr/share/raysession/src/gui/patchbay/patchcanvas/port_widget.py", line 556, in paint
    box_theme = parent.get_theme()
                ^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get_theme'
zsh: IOT instruction (core dumped)  raysession
raysession  15.73s user 1.43s system 2% cpu 10:03.21 total

but I'm not sure what I did. maybe related to my custom theme? with the bg alignment grid

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