Problem with theano sparse matrix operations

I remember last time I try using sparse matrix there are quite some problem as well - did you try using a smaller matrix just to test whether the code can run?