Rendering to WAV using "dro_player -r" or "dro_split" throws an exception

Issue #11 resolved
jestar jokin repo owner created an issue

Exception is:

Traceback (most recent call last):
  File "E:\Apps\Programming\Python27\lib\", line 551, in __bootstrap_inner
  File "D:\temp\hg\DROTrimmer_v3\src\", line 45, in inner_func
    func(self, *args, **kwds)
  File "D:\temp\hg\DROTrimmer_v3\src\", line 484, in run
  File "D:\temp\hg\DROTrimmer_v3\src\", line 117, in render
  File "D:\temp\hg\DROTrimmer_v3\src\", line 250, in render
    if ostream.is_active():
AttributeError: 'WavRenderer' object has no attribute 'is_active'

This is due to a regression introduced in changeset 63fbecf98e9d; to avoid errors writing to a closed output stream, we first check if the stream is still active, however the WavRenderer doesn't implement an "is_active" method.

Comments (2)

  1. Log in to comment