Re: [ecasound] erroneous error condition?

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Sun Mar 09 2008 - 13:31:21 EET


On Sat, 13 Oct 2007, Noah Mercer wrote:

> When I issue the following command:
[ writing to an mp3 file ]
> I get the following error:
> (eca-engine) WARNING: An output object has raised an error! Possible
> causes: Out ... of disk space, permission denied, unable to launch
> external applications needed in ... processing, etc.
> Yet the mp3 file is written out correctly and seems fine.

hmm, I've been trying to reproduce this today but so far without success.

> If this were just a one-time problem I wouldn't worry about it. But (a)
> it happens with multiple files (although not all files) and (b) this is
> happening in a scripted environment where I depend on the return code
> from ecasound to let me know whether things were successful or not.

Agreed, this should definitely be tracked down and fixed.

> Does anyone have any suggestions about how to track this down? Does
> ecasound attempt to do any file permission operations as part of
> finalizing the output write? (I have group write perms on the directory
> the file is being written to, but not ownership of it.)

Hmm, the only way for an error to be raised is if ecasound will fail to
write bytes to the pipe it uses to communicate with lame. Based on your
logs, this has indeed happened, but I have no idea why.

I now pushed some additional error reporting to the mp3-output related
codebase to the public git tree. If you have time, you could try pulling
the latest codes and testing whether the output (-ddd) contains some more
clues on what is happening. The git tree can be fetched with:

  sh> git clone ecasound-git
  sh> cd ecasound-git && sh && ./configure && make

Br, Kai

This email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
Ecasound-list mailing list
Received on Sun Mar 9 16:15:04 2008

This archive was generated by hypermail 2.1.8 : Sun Mar 09 2008 - 16:15:04 EET