[SciPy-Dev] Errors in 0.8.x

Ralf Gommers ralf.gommers@googlemail....
Wed Jun 16 10:58:31 CDT 2010


On Wed, Jun 16, 2010 at 11:31 PM, Lee Kamentsky <leek@broadinstitute.org>wrote:

> Matthew Brett <matthew.brett <at> gmail.com> writes:
>
> >
> > Hi Chuck,
> >
> > > ======================================================================
> > > ERROR: Failure: ValueError (__builtin__.file does not appear to be the
> > > correct type object)
> >
> > That's a strange one - what system are you on?
> >
> > See you,
> >
> > Matthew
> >
>
>
> I had this error on Windows 7 x86 / Python 2.6.5 / scipy 0.8.0b1 installed
> from
> the superpack downloaded this morning. I recompiled
> scipy/io/matlab/streams.c
> which solved the problem. I'm guessing that build wasn't clean?
>
>
> streams.c is generated from Cython with version 0.11.3. It seems we have a
mix of Cython versions in use now, while I'm pretty sure we're supposed to
use >0.12 only:

$ grin "Cython 0."
./io/matlab/mio5_utils.c:
    1 : /* Generated by Cython 0.12.1 on Wed May 26 12:20:26 2010 */
./io/matlab/mio_utils.c:
    1 : /* Generated by Cython 0.11.3 on Wed Jun  9 11:39:04 2010 */
./io/matlab/streams.c:
    1 : /* Generated by Cython 0.11.3 on Tue Jan  5 22:26:04 2010 */
./spatial/ckdtree.c:
    1 : /* Generated by Cython 0.10.3 on Thu Mar 12 23:38:09 2009 */
./special/lambertw.c:
    1 : /* Generated by Cython 0.12.1 on Mon May 31 10:16:35 2010 */
./special/orthogonal_eval.c:
    1 : /* Generated by Cython 0.12.1 on Mon May 31 10:17:30 2010 */
./stats/vonmises_cython.c:
    1 : /* Generated by Cython 0.10.3 on Tue Nov 17 16:14:26 2009 */

Also in r6496 (trunk) Stefan regenerated a Cython file, not sure what the
reason was. Should we regenerate everything with 0.12.1 again?

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20100616/571f1b46/attachment.html 


More information about the SciPy-Dev mailing list