|
71 | 71 | PathInput, |
72 | 72 | UpButton, |
73 | 73 | ) |
74 | | -from rovr.screens import Dismissible |
75 | 74 | from rovr.screens.typed import ShellExecReturnType |
76 | 75 | from rovr.state_manager import StateManager |
77 | 76 | from rovr.variables.constants import MaxPossible, config, log_name, os_type |
@@ -683,35 +682,11 @@ def watch_for_changes_and_update(self) -> None: |
683 | 682 | except Exception as exc: |
684 | 683 | self.notify( |
685 | 684 | f"{type(exc).__name__}: {exc}", |
686 | | - title="Drives Watcher", |
| 685 | + title="Change Watcher", |
687 | 686 | severity="warning", |
688 | 687 | markup=False, |
689 | 688 | ) |
690 | | - |
691 | | - def already_displaying_multiprocessing_issue() -> bool: |
692 | | - return ( |
693 | | - isinstance(self.screen, Dismissible) |
694 | | - and "multiprocessing-issue" in self.screen.classes |
695 | | - ) |
696 | | - |
697 | | - if not already_displaying_multiprocessing_issue(): |
698 | | - dump_exc(self, exc) |
699 | | - if ( |
700 | | - isinstance(exc, ValueError) and "fds_to_keep" in str(exc) |
701 | | - ) and not already_displaying_multiprocessing_issue(): |
702 | | - self.call_from_thread( |
703 | | - self.push_screen, |
704 | | - Dismissible( |
705 | | - "You have this issue as well!\n" |
706 | | - "There seems to be an issue on [i]certain systems[/] where multiprocessing decides to just like die, or something\n" |
707 | | - "I still don't exactly know the full cause or know why that happens\n" |
708 | | - "I'm really desperate because I cannot replicate this issue\n" |
709 | | - "Can you please attempt a fix for this\n" |
710 | | - "(I don't care if it is vibecoded, I'm that desperate)\n" |
711 | | - f"Log is available at {log_name} in the rovr config folder", |
712 | | - additional_classes="multiprocessing-issue", |
713 | | - ), |
714 | | - ) |
| 689 | + dump_exc(self, exc) |
715 | 690 | if i_should_shut_down(): |
716 | 691 | return |
717 | 692 |
|
|
0 commit comments