-
-
Notifications
You must be signed in to change notification settings - Fork 819
Open
Description
#9276 is trying to fix the fat binary build, so it includes the cockpit functionality (and s3/sftp also).
cockpit functionality is still broken in the binary it builds though:
(borg-env) tw@MacBook-Pro borg % dist/binary/borg.exe --cockpit create --list arch src
╭───────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────────────────────────────────────╮
│ in render_lines:4235 │
│ │
│ in render_widget:115 │
│ │
│ in render:217 │
│ │
│ in render_line:447 │
│ │
│ in render_line:4213 │
│ │
│ in _render_content:4196 │
│ │
│ in to_strips:230 │
│ │
│ in render_strips:730 │
│ │
│ in _wrap_and_format:680 │
│ │
│ in divide_line:45 │
│ │
│ in cell_len:106 │
│ │
│ in cached_cell_len:92 │
│ │
│ in _cell_len:128 │
│ │
│ in <genexpr>:129 │
│ │
│ in get_character_cell_size:58 │
│ │
│ in load:90 │
│ │
│ in import_module:126 │
│ in _gcd_import:1204 │
│ ╭─────────────────── locals ───────────────────╮ │
│ │ level = 1 │ │
│ │ name = 'rich._unicode_data.unicode17-0-0' │ │
│ │ package = 'rich._unicode_data' │ │
│ ╰──────────────────────────────────────────────╯ │
│ in _find_and_load:1176 │
│ ╭────────────────── locals ───────────────────╮ │
│ │ module = <object object at 0x103d9c050> │ │
│ │ name = 'rich._unicode_data.unicode17-0-0' │ │
│ ╰─────────────────────────────────────────────╯ │
│ in _find_and_load_unlocked:1140 │
│ ╭──────────────────────────────────────────────────────────────────────────────────── locals ─────────────────────────────────────────────────────────────────────────────────────╮ │
│ │ child = 'unicode17-0-0' │ │
│ │ name = 'rich._unicode_data.unicode17-0-0' │ │
│ │ parent = 'rich._unicode_data' │ │
│ │ parent_module = <module 'rich._unicode_data' from '/var/folders/61/qtqwzmxd7t1fb19zck5k3q0h0000gn/T/_MEI0AoCJk/rich/_unicode_data/__init__.py'> │ │
│ │ parent_spec = ModuleSpec(name='rich._unicode_data', loader=<pyimod02_importers.PyiFrozenLoader object at 0x1119e7e90>, │ │
│ │ origin='/var/folders/61/qtqwzmxd7t1fb19zck5k3q0h0000gn/T/_MEI0AoCJk/rich/_unicode_data/__init__.py', │ │
│ │ submodule_search_locations=['/var/folders/61/qtqwzmxd7t1fb19zck5k3q0h0000gn/T/_MEI0AoCJk/rich/_unicode_data']) │ │
│ │ path = ['/var/folders/61/qtqwzmxd7t1fb19zck5k3q0h0000gn/T/_MEI0AoCJk/rich/_unicode_data'] │ │
│ │ spec = None │ │
│ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'rich._unicode_data.unicode17-0-0'
I tried some potential fixes, but no success yet:
- adding rich or rich._unicode_data to hiddenimports
- using collect_all or collect_submodules
They either did not fix the issue or caused another issue: borg confusing its commandline arguments, option "borg" not found (or so).