view bugs.m @ 186:9c418bea7f6a bug_386

Addresses Bug #386: removed the 4th output variable (versn) in all calls of function fileparts.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 09 Feb 2012 17:25:14 +0000
parents 298fa66fe344
children
line wrap: on
line source
% MDP: File "COPYING" is not included in the distribution?

% I encountered an error while running SMALL_solver_test_Audio :

%??? Error using ==>
%problems\private\completeOps>@(x)reshape(data.B(x,1),data.signalSize)
%Too many input arguments.
%Error in ==> SMALL_playAudio at 17
%SMALL.solver.reconstructed  = SMALL.Problem.reconstruct(SMALL.solver.solution);
%Error in ==> SMALL_solver_test_Audio at 96
%SMALL_playAudio(SMALL);
 

% version of Matlab used: 7.9.0.529  - 64 bits



Bugs by Raja Giryes:
Using the tollbox on windows with Matlab R2010b:
bug1:
running SMALL_solver_test_Audio.m 
I get:
Starting solver SMALL_cgp... 
Solver SMALL_cgp finished task in 251.208410 seconds (cpu time). 
Solver SMALL_cgp finished task in 159.905633 seconds (tic-toc time). 

Starting solver SolveBP... 
??? Error using ==> eval
Undefined function or method 'SolveBP' for input arguments of type
'function_handle'.

Error in ==> SMALL_solve at 46
    y = eval([solver.name,'(SparseLab_A, b, n,',solver.param,');']);

Error in ==> SMALL_solver_test_Audio at 93
SMALL.solver(i)=SMALL_solve(SMALL.Problem, SMALL.solver(i));

running SMALL_solver_test.m
I get:
Starting solver SMALL_cgp... 
Solver SMALL_cgp finished task in 2.839218 seconds (cpu time). 
Solver SMALL_cgp finished task in 2.821443 seconds (tic-toc time). 

Starting solver SolveOMP... 
??? Error using ==> eval
Undefined function or method 'SolveOMP' for input arguments of type
'function_handle'.

Error in ==> SMALL_solve at 46
    y = eval([solver.name,'(SparseLab_A, b, n,',solver.param,');']);

Error in ==> SMALL_solver_test at 113
SMALL.solver(i)=SMALL_solve(SMALL.Problem, SMALL.solver(i));


Bug report from Mehrdad Yaghoobi:
1. The rice mdwt crashed on my matlab session runing on linux 64!!!
2. problem with hg merge using EasyMercurial.




% MDP: Files "my_dummy_solver.m" etc should include the boiler plate function
% header etc.




%%%%%%%%%%%%%%%%%
% bug by Valentin
%%%%%%%%%%%%%%%%%
% In SMALLboxSetup.m
% On Windows XP, 32 bits, Matlab R2010a
% 
% > SMALLboxSetup
% ...
% Compiling the Rice Wavelet Toolbox MEX interfaces...Error mdwt.c: 39  undeclared identifier `intptr_t' 
% Warning mdwt.c: 39  Statement has no effect 
% Error mdwt.c: 39  syntax error; found `m' expecting `;' 
% Error mdwt.c: 39  undeclared identifier `m' 
% Error mdwt.c: 39  undeclared identifier `n' 
% Error mdwt.c: 39  undeclared identifier `h_col' 
% Error mdwt.c: 39  undeclared identifier `h_row' 
% Error mdwt.c: 39  undeclared identifier `lh' 
% Error mdwt.c: 39  undeclared identifier `L' 
% Error mdwt.c: 39  undeclared identifier `i' 
% Error mdwt.c: 39  undeclared identifier `po2' 
% Error mdwt.c: 39  undeclared identifier `j' 
% Warning mdwt.c: 39  Statement has no effect 
% Error mdwt.c: 40  illegal statement termination 
% Error mdwt.c: 40  skipping `double' 
% Error mdwt.c: 40  undeclared identifier `mtest' 
% Error mdwt.c: 40  undeclared identifier `ntest' 
% Warning mdwt.c: 40  Statement has no effect 
% Error mdwt.c: 62  operands of * have illegal types `int' and `pointer to double' 
% Warning mdwt.c: 39   possible usage of po2 before definition 
% Warning mdwt.c: 39   possible usage of intptr_t before definition 
% Warning mdwt.c: 38  local `pointer to double Lf' is not referenced 
% Error mdwt.c: 106  missing parameter type 
% Error mdwt.c: 106  syntax error; found `m' expecting `)' 
% Error mdwt.c: 106  skipping `m' `,' `intptr_t' `n' `,' 
% Error mdwt.c: 106  syntax error; found `double' expecting `{' 
% Error mdwt.c: 106  too many errors 
%  
%   C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: Compile of 'mdwt.c' failed. 
%  
% Warning: Could not compile Rice Wavelet Toolbox MEX interfaces.\n 
% > In SMALLboxSetup at 365
% 
%  ******************************************************************
% 
%  Initialising SMALLbox Examples Setup
%  ******************************************************************
% 
%  SMALLbox Installation Complete!
% 
%  For more information on the installed toolboxes see
% 
%  Sparco: http://www.cs.ubc.ca/labs/scl/sparco/
% 
%  SPGL1: http://www.cs.ubc.ca/labs/spgl1/?n=HomePage
% 
%  SparseLab: http://sparselab.stanford.edu/   (PLEASE REGISTER SPARSELAB!)
% 
%  Sparsify: http://www.see.ed.ac.uk/~tblumens/sparsify/sparsify.html
% 
%  GPSR: http://www.lx.it.pt/~mtf/GPSR/
% 
%  OMPbox and KSVDBox: http://www.cs.technion.ac.il/~ronrubin/
% 
% 
%  Would you like to run a demo: ([y]/n)? 
% 
%  1 to run SMALL_solver_test 
%  2 to run Dictionary Learning for Image Denoising demo 
%  q to quit: 1
% 
%  Running SMALL_solver_test problem
% 
% Example test of SMALL solvers against their counterparts on Sparco problems.
% 
% ??? Undefined function or method 'mdwt' for input arguments of type
% 'double'.
% 
% Error in ==> opWavelet>opWavelet_intrnl at 55
%       [y,l] = mdwt(reshape(x,[m,n]), h, levels);
% 
% Error in ==>
% opWavelet>@(x,mode)opWavelet_intrnl(m,n,family,filter,levels,type,h,x,mode)
% at 37
% op = @(x,mode)
% opWavelet_intrnl(m,n,family,filter,levels,type,h,x,mode);
% 
% Error in ==> prob006 at 67
% data.x0              = data.op.Daubechies(data.signal,2);
% 
% Error in ==> generateProblem at 101
% [data] = eval(sprintf('prob%03d(varargin{:});',index));
% 
% Error in ==> SMALL_solver_test at 61
% SMALL.Problem = generateProblem(6, 'P', 6, 'm', 270,'n',1024,
% 'show');
% 
% Error in ==> SMALLboxSetup at 416
%     SMALL_solver_test;
%