annotate bugs.m @ 103:228ece3184c1

bug installing Rice Wavelet
author vemiya <valentin.emiya@inria.fr>
date Tue, 12 Apr 2011 16:09:46 +0200
parents 7af23be30765 3cf9714f6883
children e2ce05e21a55
rev   line source
jespiaud@88 1 % I encountered an error while running SMALL_solver_test_Audio :
jespiaud@88 2
jespiaud@88 3 %??? Error using ==>
jespiaud@88 4 %problems\private\completeOps>@(x)reshape(data.B(x,1),data.signalSize)
jespiaud@88 5 %Too many input arguments.
jespiaud@88 6 %Error in ==> SMALL_playAudio at 17
jespiaud@88 7 %SMALL.solver.reconstructed = SMALL.Problem.reconstruct(SMALL.solver.solution);
jespiaud@88 8 %Error in ==> SMALL_solver_test_Audio at 96
jespiaud@88 9 %SMALL_playAudio(SMALL);
jespiaud@88 10
jespiaud@88 11
Raja@91 12 % version of Matlab used: 7.9.0.529 - 64 bits
Raja@91 13
Raja@91 14
Raja@91 15
Raja@90 16 Bugs by Raja Giryes:
Raja@90 17 Using the tollbox on windows with Matlab R2010b:
Raja@90 18 bug1:
Raja@90 19 running SMALL_solver_test_Audio.m
Raja@90 20 I get:
Raja@90 21 Starting solver SMALL_cgp...
Raja@90 22 Solver SMALL_cgp finished task in 251.208410 seconds (cpu time).
Raja@90 23 Solver SMALL_cgp finished task in 159.905633 seconds (tic-toc time).
Raja@90 24
Raja@90 25 Starting solver SolveBP...
Raja@90 26 ??? Error using ==> eval
Raja@90 27 Undefined function or method 'SolveBP' for input arguments of type
Raja@90 28 'function_handle'.
Raja@90 29
Raja@90 30 Error in ==> SMALL_solve at 46
Raja@90 31 y = eval([solver.name,'(SparseLab_A, b, n,',solver.param,');']);
Raja@90 32
Raja@90 33 Error in ==> SMALL_solver_test_Audio at 93
Raja@90 34 SMALL.solver(i)=SMALL_solve(SMALL.Problem, SMALL.solver(i));
Raja@90 35
Raja@90 36 running SMALL_solver_test.m
Raja@90 37 I get:
Raja@90 38 Starting solver SMALL_cgp...
Raja@90 39 Solver SMALL_cgp finished task in 2.839218 seconds (cpu time).
Raja@90 40 Solver SMALL_cgp finished task in 2.821443 seconds (tic-toc time).
Raja@90 41
Raja@90 42 Starting solver SolveOMP...
Raja@90 43 ??? Error using ==> eval
Raja@90 44 Undefined function or method 'SolveOMP' for input arguments of type
Raja@90 45 'function_handle'.
Raja@90 46
Raja@90 47 Error in ==> SMALL_solve at 46
Raja@90 48 y = eval([solver.name,'(SparseLab_A, b, n,',solver.param,');']);
Raja@90 49
Raja@90 50 Error in ==> SMALL_solver_test at 113
Raja@90 51 SMALL.solver(i)=SMALL_solve(SMALL.Problem, SMALL.solver(i));
myvaigha@97 52
myvaigha@97 53
myvaigha@97 54 Bug report from Mehrdad Yaghoobi:
myvaigha@97 55 1. The rice mdwt crashed on my matlab session runing on linux 64!!!
myvaigha@97 56 2. problem with hg merge using EasyMercurial.
myvaigha@97 57
valentin@103 58
valentin@103 59
valentin@103 60
valentin@102 61 %%%%%%%%%%%%%%%%%
valentin@102 62 % bug by Valentin
valentin@102 63 %%%%%%%%%%%%%%%%%
valentin@102 64 % In SMALLboxSetup.m
valentin@102 65 % On Windows XP, 32 bits, Matlab R2010a
valentin@102 66 %
valentin@102 67 % > SMALLboxSetup
valentin@102 68 % ...
valentin@102 69 % Compiling the Rice Wavelet Toolbox MEX interfaces...Error mdwt.c: 39 undeclared identifier `intptr_t'
valentin@102 70 % Warning mdwt.c: 39 Statement has no effect
valentin@102 71 % Error mdwt.c: 39 syntax error; found `m' expecting `;'
valentin@102 72 % Error mdwt.c: 39 undeclared identifier `m'
valentin@102 73 % Error mdwt.c: 39 undeclared identifier `n'
valentin@102 74 % Error mdwt.c: 39 undeclared identifier `h_col'
valentin@102 75 % Error mdwt.c: 39 undeclared identifier `h_row'
valentin@102 76 % Error mdwt.c: 39 undeclared identifier `lh'
valentin@102 77 % Error mdwt.c: 39 undeclared identifier `L'
valentin@102 78 % Error mdwt.c: 39 undeclared identifier `i'
valentin@102 79 % Error mdwt.c: 39 undeclared identifier `po2'
valentin@102 80 % Error mdwt.c: 39 undeclared identifier `j'
valentin@102 81 % Warning mdwt.c: 39 Statement has no effect
valentin@102 82 % Error mdwt.c: 40 illegal statement termination
valentin@102 83 % Error mdwt.c: 40 skipping `double'
valentin@102 84 % Error mdwt.c: 40 undeclared identifier `mtest'
valentin@102 85 % Error mdwt.c: 40 undeclared identifier `ntest'
valentin@102 86 % Warning mdwt.c: 40 Statement has no effect
valentin@102 87 % Error mdwt.c: 62 operands of * have illegal types `int' and `pointer to double'
valentin@102 88 % Warning mdwt.c: 39 possible usage of po2 before definition
valentin@102 89 % Warning mdwt.c: 39 possible usage of intptr_t before definition
valentin@102 90 % Warning mdwt.c: 38 local `pointer to double Lf' is not referenced
valentin@102 91 % Error mdwt.c: 106 missing parameter type
valentin@102 92 % Error mdwt.c: 106 syntax error; found `m' expecting `)'
valentin@102 93 % Error mdwt.c: 106 skipping `m' `,' `intptr_t' `n' `,'
valentin@102 94 % Error mdwt.c: 106 syntax error; found `double' expecting `{'
valentin@102 95 % Error mdwt.c: 106 too many errors
valentin@102 96 %
valentin@102 97 % C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: Compile of 'mdwt.c' failed.
valentin@102 98 %
valentin@102 99 % Warning: Could not compile Rice Wavelet Toolbox MEX interfaces.\n
valentin@102 100 % > In SMALLboxSetup at 365
valentin@102 101 %
valentin@102 102 % ******************************************************************
valentin@102 103 %
valentin@102 104 % Initialising SMALLbox Examples Setup
valentin@102 105 % ******************************************************************
valentin@102 106 %
valentin@102 107 % SMALLbox Installation Complete!
valentin@102 108 %
valentin@102 109 % For more information on the installed toolboxes see
valentin@102 110 %
valentin@102 111 % Sparco: http://www.cs.ubc.ca/labs/scl/sparco/
valentin@102 112 %
valentin@102 113 % SPGL1: http://www.cs.ubc.ca/labs/spgl1/?n=HomePage
valentin@102 114 %
valentin@102 115 % SparseLab: http://sparselab.stanford.edu/ (PLEASE REGISTER SPARSELAB!)
valentin@102 116 %
valentin@102 117 % Sparsify: http://www.see.ed.ac.uk/~tblumens/sparsify/sparsify.html
valentin@102 118 %
valentin@102 119 % GPSR: http://www.lx.it.pt/~mtf/GPSR/
valentin@102 120 %
valentin@102 121 % OMPbox and KSVDBox: http://www.cs.technion.ac.il/~ronrubin/
valentin@102 122 %
valentin@102 123 %
valentin@102 124 % Would you like to run a demo: ([y]/n)?
valentin@102 125 %
valentin@102 126 % 1 to run SMALL_solver_test
valentin@102 127 % 2 to run Dictionary Learning for Image Denoising demo
valentin@102 128 % q to quit: 1
valentin@102 129 %
valentin@102 130 % Running SMALL_solver_test problem
valentin@102 131 %
valentin@102 132 % Example test of SMALL solvers against their counterparts on Sparco problems.
valentin@102 133 %
valentin@102 134 % ??? Undefined function or method 'mdwt' for input arguments of type
valentin@102 135 % 'double'.
valentin@102 136 %
valentin@102 137 % Error in ==> opWavelet>opWavelet_intrnl at 55
valentin@102 138 % [y,l] = mdwt(reshape(x,[m,n]), h, levels);
valentin@102 139 %
valentin@102 140 % Error in ==>
valentin@102 141 % opWavelet>@(x,mode)opWavelet_intrnl(m,n,family,filter,levels,type,h,x,mode)
valentin@102 142 % at 37
valentin@102 143 % op = @(x,mode)
valentin@102 144 % opWavelet_intrnl(m,n,family,filter,levels,type,h,x,mode);
valentin@102 145 %
valentin@102 146 % Error in ==> prob006 at 67
valentin@102 147 % data.x0 = data.op.Daubechies(data.signal,2);
valentin@102 148 %
valentin@102 149 % Error in ==> generateProblem at 101
valentin@102 150 % [data] = eval(sprintf('prob%03d(varargin{:});',index));
valentin@102 151 %
valentin@102 152 % Error in ==> SMALL_solver_test at 61
valentin@102 153 % SMALL.Problem = generateProblem(6, 'P', 6, 'm', 270,'n',1024,
valentin@102 154 % 'show');
valentin@102 155 %
valentin@102 156 % Error in ==> SMALLboxSetup at 416
valentin@102 157 % SMALL_solver_test;
valentin@102 158 %