Re: [Hamfax-devel] HamFax can't open sample file
Brought to you by:
cschmitt
|
From: Christof S. <csc...@us...> - 2012-12-27 21:48:31
|
On Thu, Dec 27, 2012 at 04:46:29PM +0100, Guillaume Sueur wrote: > Thanks for your reply Christof. I've installed hamfax from source on > Debian Squeeze and Ubuntu 10.04. On both environments, I've got the > same "can't open file" message. > the checksum is OK, and I can hear the nice music the file gives > throught mplayer. > I thought maybe some dependancy was missing, making the software > unable to open the file. > > I'm going to try in another environment. Hi Guillaume, audio files in hamfax are handled through the libaudiofile library. You should see a dependency on the compiled binary. Since you get the "can't open file message" this should be the case. $ ldd /usr/bin/hamfax | grep audiofile libaudiofile.so.1 => /usr/lib/i386-linux-gnu/libaudiofile.so.1 (0x005c7000) I just extended the code to also include the error message from the libaudiofile library in the GUI dialog. You can get the latest code here: git clone git://git.code.sf.net/p/hamfax/code hamfax-code (The location of the git repository changed and the webpage has not yet been updated.) Alternatively, you could remove the line afSetErrorHandler(0); from src/File.cpp. You should then see the error from libaudiofile on the stderr output in a terminal window. 73 Christof |