Error if Audacity started after Musicmuster #264

Closed
opened 2024-11-25 07:54:12 +00:00 by kae · 0 comments
Owner
File "/home/kae/mm/app/playlists.py", line 475, in <lambda>
    471      this_is_next_row = False
    472  track_path = self.source_model.get_row_info(model_row_number).path
    473  
    474  # Open/import in/from Audacity
--> 475  if track_row and not this_is_current_row:
    476      if track_path == self.musicmuster.audacity_file_path:
    ..................................................
     self.source_model.get_row_info = <method 'PlaylistModel.get_row_info' of <PlaylistModel: play
                                       list_id=164, 260 rows> playlistmodel.py:523>
     model_row_number = 11
     self.musicmuster.audacity_file_path = None
    ..................................................

File "/home/kae/mm/app/playlists.py", line 774, in _open_in_audacity

File "/home/kae/mm/app/playlists.py", line 414, in _audactity_command

File "/home/kae/mm/app/pipeclient.py", line 196, in write
    171  def write(self, command: str, timer: Optional[bool] = False) -> None:
 (...)
    192          self.timer = timer
    193      self._write_pipe.write(command + EOL)
    194      # Check that read pipe is alive
    195      if PipeClient.reader_pipe_broken.is_set():
--> 196          raise RuntimeError("PipeClient: Read-pipe error.")
    197      try:
    ..................................................
     self = <pipeclient.PipeClient object at 0x7f994db54fd0>
     command = 'Import2: Filename="/home/kae/music/Singles/The First Cut Is
                 The Deepest - Cat Stevens.mp3"'
     timer = True
     self.timer = True
     EOL = '\n'
     PipeClient.reader_pipe_broken.is_set = <method 'Event.is_set' of <threading.Event at 0x7f9977b62010
                                             : set> threading.py:568>
    ..................................................

RuntimeError: PipeClient: Read-pipe error.
``` File "/home/kae/mm/app/playlists.py", line 475, in <lambda> 471 this_is_next_row = False 472 track_path = self.source_model.get_row_info(model_row_number).path 473 474 # Open/import in/from Audacity --> 475 if track_row and not this_is_current_row: 476 if track_path == self.musicmuster.audacity_file_path: .................................................. self.source_model.get_row_info = <method 'PlaylistModel.get_row_info' of <PlaylistModel: play list_id=164, 260 rows> playlistmodel.py:523> model_row_number = 11 self.musicmuster.audacity_file_path = None .................................................. File "/home/kae/mm/app/playlists.py", line 774, in _open_in_audacity File "/home/kae/mm/app/playlists.py", line 414, in _audactity_command File "/home/kae/mm/app/pipeclient.py", line 196, in write 171 def write(self, command: str, timer: Optional[bool] = False) -> None: (...) 192 self.timer = timer 193 self._write_pipe.write(command + EOL) 194 # Check that read pipe is alive 195 if PipeClient.reader_pipe_broken.is_set(): --> 196 raise RuntimeError("PipeClient: Read-pipe error.") 197 try: .................................................. self = <pipeclient.PipeClient object at 0x7f994db54fd0> command = 'Import2: Filename="/home/kae/music/Singles/The First Cut Is The Deepest - Cat Stevens.mp3"' timer = True self.timer = True EOL = '\n' PipeClient.reader_pipe_broken.is_set = <method 'Event.is_set' of <threading.Event at 0x7f9977b62010 : set> threading.py:568> .................................................. RuntimeError: PipeClient: Read-pipe error. ```
kae added the
bug
label 2024-11-25 07:54:12 +00:00
kae referenced this issue from a commit 2024-11-27 10:54:29 +00:00
kae closed this issue 2024-11-27 10:54:29 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kae/musicmuster#264
No description provided.