-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
╭───────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────╮
│ C:\Users\walke\AppData\Roaming\PrismLauncher\instances\managed magic\modlist-bisector\src\modlist_bisector\app.py:65 │
│ in start │
│ │
│ 62 │ setup_logging(verbosity) │
│ 63 │ graph = DependencyGraph.load(dependency_graph_path) │
│ 64 │ state = setup_binary_reduction(graph, set(required_mods)) │
│ ❱ 65 │ get_and_apply_modlist(state) │
│ 66 │ state.dump(state_path) │
│ 67 │
│ 68 │
│ │
│ C:\Users\walke\AppData\Roaming\PrismLauncher\instances\managed │
│ magic\modlist-bisector\src\modlist_bisector\binary_reduction.py:79 in get_and_apply_modlist │
│ │
│ 76 │
│ 77 def get_and_apply_modlist(state: State) -> tuple[set[str], set[str]]: │
│ 78 │ enabled, disabled = get_modlist(state) │
│ ❱ 79 │ apply_modlist(state, enabled, disabled) │
│ 80 │ return enabled, disabled │
│ 81 │
│ 82 │
│ │
│ C:\Users\walke\AppData\Roaming\PrismLauncher\instances\managed │
│ magic\modlist-bisector\src\modlist_bisector\binary_reduction.py:103 in apply_modlist │
│ │
│ 100 │ │
│ 101 │ for modid in disabled: │
│ 102 │ │ for enabled_path in state.jars[modid]: │
│ ❱ 103 │ │ │ disabled_path = enabled_path.with_suffix(".jar.disabled") │
│ 104 │ │ │ if enabled_path.exists(): │
│ 105 │ │ │ │ enabled_path.rename(disabled_path) │
│ 106 │ │ │ │ newly_disabled.add(modid) │
│ │
│ C:\Users\walke\AppData\Roaming\uv\python\cpython-3.12-windows-x86_64-none\Lib\pathlib.py:654 in with_suffix │
│ │
│ 651 │ │ │ raise ValueError("Invalid suffix %r" % (suffix)) │
│ 652 │ │ name = self.name │
│ 653 │ │ if not name: │
│ ❱ 654 │ │ │ raise ValueError("%r has an empty name" % (self,)) │
│ 655 │ │ old_suffix = self.suffix │
│ 656 │ │ if not old_suffix: │
│ 657 │ │ │ name = name + suffix │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
ValueError: WindowsPath('.') has an empty name
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels