Have a look at https://groups.google.com/forum/#!topic/pylearn-dev/tsLzb7LMRp8 and at PRs #632 and #635, which I think fixed this a few days ago.