Home My Page Projects MPTK: The Matching Pursuit ToolKit
Summary Activity Forums Tracker Lists Docs News SCM Files

Forum: help

Monitor Forum | Start New Thread Start New Thread
RE: Version and dictionaries [ Reply ]
By: Boris Mailhe on 2008-10-27 22:46
[forum:98813]
Hi Clothilde,

The Matlab scripts are old and not maintained anymore. Dictionary file format has changed since, and we only kept them in the release for backward compatibility.

This is the reason for the last error you get. The first messages are not relevant.

Regards,

Boris

Version and dictionaries [ Reply ]
By: Clothilde Melot on 2008-10-15 03:28
[forum:98699]
Dear MPTK developpers

I hope you are fine !
I get to you for I hope a not complicated problem. The situation is that I am running the version 5.6 on my Mac OS X but for some raisons it seems as if I am not able to run the new Matlab interface.
then I came back to the good old Matlab scripts but it seems as if there is a problem with the dictionary.
Anyway since I feel rather bad in the understanding of what happens I copy below the error message.
Let me know if it is possible what you think about it. Thank you very much
with best
Clothilde

x=linspace(0,2,1000);y=cos(x);
>> [Book]=mpd(y,1000,'n',10);
Warning: Data clipped during write to file:tempin.wav
> In wavwrite>PCM_Quantize at 247
In wavwrite>write_wavedat at 267
In wavwrite at 112
In mpd at 31

mystring =

setenv DYLD_LIBRARY_PATH /Users/melot/Documents/matlab/recherche/Matching_Pursuit/MPTK-0.5.6/lib/;setenv MPTK_CONFIG_FILENAME /Users/melot/Documents/matlab/recherche/Matching_Pursuit/MPTK-0.5.6/bin/path.xml;/Users/melot/Documents/matlab/recherche/Matching_Pursuit/MPTK-0.5.6/bin/bin/mpd tempin.wav tempbook.bin -D/Users/melot/Documents/matlab/recherche/Matching_Pursuit/default.xml -n10 -Etempdecay.txt tempres.wav

mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libcharset.1.0.0.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libcharset.1.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libcharset.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libfreetype.6.3.7.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libfreetype.6.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libfreetype.dylib' shared library.
mptk ERROR -- MP_Dll_Manager::load_dll - Error when loading the dll: 'dlopen(/usr/local/lib/libgdraw.1.0.8.dylib, 2): Symbol not found: _cu_strcpy
Referenced from: /usr/local/lib/libgdraw.1.0.8.dylib
Expected in: flat namespace
' .
mptk ERROR -- MP_Dll_Manager::load_dll - Error when loading the dll: 'dlopen(/usr/local/lib/libgdraw.1.dylib, 2): Symbol not found: _cu_strcpy
Referenced from: /usr/local/lib/libgdraw.1.0.8.dylib
Expected in: flat namespace
' .
mptk ERROR -- MP_Dll_Manager::load_dll - Error when loading the dll: 'dlopen(/usr/local/lib/libgdraw.dylib, 2): Symbol not found: _cu_strcpy
Referenced from: /usr/local/lib/libgdraw.1.0.8.dylib
Expected in: flat namespace
' .
mptk ERROR -- MP_Dll_Manager::load_dll - Error when loading the dll: 'dlopen(/usr/local/lib/libgunicode.2.0.2.dylib, 2): Symbol not found: _libiconv
Referenced from: /usr/local/lib/libgunicode.2.0.2.dylib
Expected in: flat namespace
' .
mptk ERROR -- MP_Dll_Manager::load_dll - Error when loading the dll: 'dlopen(/usr/local/lib/libgunicode.2.dylib, 2): Symbol not found: _libiconv
Referenced from: /usr/local/lib/libgunicode.2.0.2.dylib
Expected in: flat namespace
' .
mptk ERROR -- MP_Dll_Manager::load_dll - Error when loading the dll: 'dlopen(/usr/local/lib/libgunicode.dylib, 2): Symbol not found: _libiconv
Referenced from: /usr/local/lib/libgunicode.2.0.2.dylib
Expected in: flat namespace
' .
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libiconv.2.2.0.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libiconv.2.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libiconv.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libltdl.3.1.0.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libltdl.3.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libltdl.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libMagick++.6.1.7.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libMagick++.6.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libMagick++.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libMagick.6.1.7.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libMagick.6.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libMagick.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libsndfile.1.0.11.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libsndfile.1.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libsndfile.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libuninameslist.0.0.1.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libuninameslist.0.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libuninameslist.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libWand.6.1.7.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libWand.6.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libWand.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libwmf-0.2.7.1.0.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libwmf-0.2.7.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libwmf.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libwmflite-0.2.7.0.1.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libwmflite-0.2.7.dylib' shared library.
mptk WARNING -- MP_Dll_Manager::load_dll - No registry symbol in '/usr/local/lib/libwmflite.dylib' shared library.
mptk WARNING -- MP_FFT_Interface_c::init_fft_library_config() - fftw wisdom file with path /usr/local/bin/default_fftw_wisdom_file doesn't exist. It will be created.
mptk INFO -- mpd - ------------------------------------
mptk INFO -- mpd - MPD - MATCHING PURSUIT DECOMPOSITION
mptk INFO -- mpd - ------------------------------------
mptk INFO -- mpd - The command line was:
/Users/melot/Documents/matlab/recherche/Matching_Pursuit/MPTK-0.5.6/bin/bin/mpd -D/Users/melot/Documents/matlab/recherche/Matching_Pursuit/default.xml -n10 -Etempdecay.txt tempin.wav tempbook.bin tempres.wav
mptk INFO -- mpd - End command line.
mptk INFO -- mpd - Loading the dictionary...
mptk INFO -- mpd - (In the following, spurious output of dictionary pieces would be a symptom of parsing errors.)
mptk ERROR -- MP_Dict_c::load_xml_file(const char* fName) - Error while loading the dictionary file [/Users/melot/Documents/matlab/recherche/Matching_Pursuit/default.xml].
mptk ERROR -- MP_Dict_c::load_xml_file(const char* fName) - Error ID: 7 .
mptk ERROR -- MP_Dict_c::load_xml_file(const char* fName) - Error description: Error reading Attributes. .
mptk ERROR -- MP_Dict_c::init(dictFileName) - The dictionary scanned from file [/Users/melot/Documents/matlab/recherche/Matching_Pursuit/default.xml] contains no recognized blocks.
mptk ERROR -- mpd - Failed to create a dictionary from XML file [/Users/melot/Documents/matlab/recherche/Matching_Pursuit/default.xml].

ans =

3

Warning: This file is no longer maintained
> In bookread at 25
In mpd at 35
??? Error using ==> bookread
Can't open file [tempbook.bin]

Error in ==> mpd at 35
varargout{1} = bookread('tempbook.bin');